Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Chas
Posts: 57
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by Chas »

Hi guys, thank you for all the input. i'm going to have to think about the next step given the input from people who know more than me. I'm still a little perplexed however as one would assume that as there is a control panel on the Centroid web page where they advertise the USB BOB using this type of switch that it must be possible for it to work otherwise it wouldn't be there. As the switch is in the right most position in the photo im guessing it must be a latching switch as the momentary version returns to the central position. It does say in the BOB manual that it's a momentary switch which latches in the BOB until a different jog button is pressed. May end up redoing the fascia panel and putting in 3 small momentary push buttons so i don't run into any of the issues Roger has come across in testing. Appreciate all the help.
Cheers
Charlie


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by cnckeith »

i moved this post into the Acorn forum
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


ShawnM
Community Expert
Posts: 3025
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by ShawnM »

Rotary switches are latching and they come in two flavors, "break before make" and "make before break" and as noted you need the "break before make" for this input. Look for a SP3T rotary switch online. Check Digikey and Mouser as they carry both. Anything that springs back to center is not really a rotary switch but more like a momentary pushbutton and wont work for this input.


RogDC
Posts: 283
Joined: Wed Jan 01, 2020 2:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by RogDC »

Charlie,
If you have a latching switch you can run the constant low input to Arduino inputs and write simple code to momentarily provide a low output on one of 3 pins correlating to the switch position. Depending on what model/brand you could do this for less than $20 or on up to how fancy you want to get.

If you have the space you could get by with an Arduino Uno. I may have code that would work or modified easily from one of my earlier code sketches.

For my code to toggle low on the Jog x1, x10, x100 I toggle the Arduino output pins LOW for 300ms. Seems to work fine for changing jog speed.

It could save you from having to rework the panel.

I made a quick sketch in Wokwi to give you an example of how to do this . Just press the play button and select switches 1-3 on the DIP Switch - they didn't have a rotary switch to use in the circuit. https://wokwi.com/projects/412124988358476801


Chas
Posts: 57
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by Chas »

Thanks Roger, very much appreciated. Could save a lot of reworking.
Cheers Charlie


RogDC
Posts: 283
Joined: Wed Jan 01, 2020 2:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Wiring a 19mm 2P 3P rotary switch for the jog multiplier function on the new Acorn USB BOB

Post by RogDC »

One other note if you decide to go with the Arduino, you will need to provide power and GND to the board from the BOB or other source. If you use 5VDC from the BOB, connect it to the Vin pin of the arduino and GND to GND.


Post Reply