Rotary Selector Switches & Resistors

More
1 year 10 months ago #316812 by spumco
Yes, OFF/X/Y/Z/ is 'allowed'.  That's how mine are set up - I use the OFF selection to make sure I don't accidentally diddle the handwheel and mess something up.

As far as wcomp is concerned, I thought the link would work.

If not, the main LCNC page has a link to 'documents'.  That's the most recent user manual, and at the bottom of the page are links to HAL components.  Look under "Realtime components" and you should see wcomp.

Searching the forum for 'wcomp' should also work, though I'd suggest limiting it to 'search titles only' for a first pass.

Please Log in to join the conversation.

More
1 year 10 months ago #316814 by fully_defined

As far as wcomp is concerned, I thought the link would work.
 
The link worked. I was just commenting on how hard it is to find things.

I still have more replies coming. I appreciate all the effort you've taken to engage with me.

Please Log in to join the conversation.

More
1 year 10 months ago #316925 by fully_defined

Here's a 4 --> 2 diode encoder with polarity adjusted
for 7I73 inputs that have built-in pullup resistors
(so read high if unconnected)

Note that mux_generic has built in debouncing so the capacitors should not be needed if you use mux_generic to select jog increments etc.
 

Again, thank you so much for including this schematic! It helped to explain quite a lot, but after poking around on Google I could not find an existing product that does this. It seems weird that such a thing wouldn't exist, so maybe this will be my first electronics CAD project, to create a PCB!

If anyone reading this knows where these products already exist, please comment below!

As an aside, I have never had to test diodes before, so this was a learning experience in other ways. Without putting together a breadboard and trying it out, I wouldn't have had a reason to look into it.

I created this graphic to illustrate the function of a Mux8 switch (as I understand it today, which could be wrong), using a 12-position 1-pole switch and twelve diodes to output three bits. I decided to ignore 9-12, since it would require another bit.
[img


After corrections:

[img

Please Log in to join the conversation.

More
1 year 10 months ago #316939 by tommylight
TL:DR
Picture and table look OK, diodes are reversed in the drawing.

Please Log in to join the conversation.

More
1 year 10 months ago #316942 by rodw
I think you have it totally wrong, Assuming the diagram is for what I think it is, you need to apply 24v power to pins 1,2,3,4,5,6,7,8 and read the bits from the centre pins.

Please Log in to join the conversation.

More
1 year 10 months ago #316945 by fully_defined

I think you have it totally wrong, Assuming the diagram is for what I think it is, you need to apply 24v power to pins 1,2,3,4,5,6,7,8 and read the bits from the centre pins.
 
There is only one center pin.

Please Log in to join the conversation.

More
1 year 10 months ago #316946 by fully_defined

TL:DR
Picture and table look OK, diodes are reversed in the drawing.a
 
Thank you. I will correct this.

[img

Please Log in to join the conversation.

More
1 year 10 months ago #316952 by rodw
Not quite what I was looking for but something like this. SOme have stops that let you limit the number of positions
au.element14.com/lorlin/bcks1004/rotary-...MA-RECO-PDP-STM72189

Please Log in to join the conversation.

More
1 year 10 months ago #316957 by fully_defined

Not quite what I was looking for but something like this. SOme have stops that let you limit the number of positions
au.element14.com/lorlin/bcks1004/rotary-...MA-RECO-PDP-STM72189
 
In the US, this is all Digikey has that's coded for hexadecimal. My own personal lack of vocabulary for searching is also something I hope to improve as part of this conversation.

www.digikey.com/en/products/filter/rotar...AMqcAnAJYA7AOYgAvtKA

Please Log in to join the conversation.

More
1 year 10 months ago #316959 by PCW
As an aside, I am also a little confused why PCW suggested 00, 11, 01, 10, instead of 00, 01, 10, 11. It seems more logical to me to order it like legit binary, and it's not like it's harder to connect it this way.

The 4  --> 2 diode encoder circuit I posted is in binary order but you need to consider
that the 7I73 inputs have pullup resistors so are high when unconnected and low when
grounded through a diode so:

SWITCH POSITION
0  Grounds inputs 0,1 with CR1 and CR2 = 00b = 0d
1  Grounds input 1 with CR3 = 01b = 1d
2  Grounds input 0 with CR4 = 10b = 2d
3 No connect so = 11b = 3d

 

Please Log in to join the conversation.

Time to create page: 0.124 seconds
Powered by Kunena Forum