Rotary Selector Switches & Resistors

More
16 Dec 2024 21:56 #316812 by spumco
Replied by spumco on topic Rotary Selector Switches & Resistors
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 or Create an account to join the conversation.

  • fully_defined
  • fully_defined's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
16 Dec 2024 22:25 #316814 by fully_defined
Replied by fully_defined on topic Rotary Selector Switches & Resistors

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.
The following user(s) said Thank You: spumco

Please Log in or Create an account to join the conversation.

  • fully_defined
  • fully_defined's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Dec 2024 19:00 - 18 Dec 2024 21:47 #316925 by fully_defined
Replied by fully_defined on topic Rotary Selector Switches & Resistors

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.
File Attachment:


After corrections:

File Attachment:
Last edit: 18 Dec 2024 21:47 by fully_defined. Reason: Added corrected image for context, and the weird way my comment became part of a previous poster's comment. It should look right now.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Dec 2024 21:01 #316939 by tommylight
Replied by tommylight on topic Rotary Selector Switches & Resistors
TL:DR
Picture and table look OK, diodes are reversed in the drawing.
The following user(s) said Thank You: fully_defined

Please Log in or Create an account to join the conversation.

More
18 Dec 2024 21:06 #316942 by rodw
Replied by rodw on topic Rotary Selector Switches & Resistors
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 or Create an account to join the conversation.

  • fully_defined
  • fully_defined's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Dec 2024 21:16 #316945 by fully_defined
Replied by fully_defined on topic Rotary Selector Switches & Resistors

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 or Create an account to join the conversation.

  • fully_defined
  • fully_defined's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Dec 2024 21:17 - 18 Dec 2024 21:49 #316946 by fully_defined
Replied by fully_defined on topic Rotary Selector Switches & Resistors

TL:DR
Picture and table look OK, diodes are reversed in the drawing.a
 

Thank you. I will correct this.

File Attachment:
Last edit: 18 Dec 2024 21:49 by fully_defined. Reason: I should have included the graphic in the original reply.

Please Log in or Create an account to join the conversation.

More
18 Dec 2024 21:53 #316952 by rodw
Replied by rodw on topic Rotary Selector Switches & Resistors
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 or Create an account to join the conversation.

  • fully_defined
  • fully_defined's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
18 Dec 2024 22:45 - 18 Dec 2024 22:46 #316957 by fully_defined
Replied by fully_defined on topic Rotary Selector Switches & Resistors

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
Last edit: 18 Dec 2024 22:46 by fully_defined. Reason: I misspelled hexadecimal. LOL

Please Log in or Create an account to join the conversation.

More
18 Dec 2024 23:08 - 18 Dec 2024 23:12 #316959 by PCW
Replied by PCW on topic Rotary Selector Switches & Resistors
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

 
Last edit: 18 Dec 2024 23:12 by PCW.

Please Log in or Create an account to join the conversation.

Time to create page: 0.130 seconds
Powered by Kunena Forum