Hi
I recently made a posted about the rotary switch in the components input tray i used this but unsuccessfully as it turned out it was an encoder.
Therefore could the matrix team please add a rotary switch at some point with a selectable pin range say 2 to 15 ??
Cheers bob
Rotary switch
-
siliconchip
- Posts: 55
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 16, 2020 10:38 am
- Has thanked: 21 times
- Been thanked: 1 time
-
medelec35
- Valued Contributor
- Posts: 2367
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 749 times
- Been thanked: 808 times
Re: Rotary switch
Hi Bob.
So rather than parallel switches, you require individual switches i.e. one switch per pin?
Therefore 0 to 15 will require two full ports (B and C) for example?
If I have got it wrong, can you explain the function you have in mind.
So rather than parallel switches, you require individual switches i.e. one switch per pin?
Therefore 0 to 15 will require two full ports (B and C) for example?
If I have got it wrong, can you explain the function you have in mind.
Martin
-
siliconchip
- Posts: 55
- Joined: Wed Dec 16, 2020 10:38 am
- Has thanked: 21 times
- Been thanked: 1 time
Re: Rotary switch
Hi martin
My understanding of a rotary switch is theres 1 common pin which when the rotary knob is turned connects to say pin1 if turned again connects to pin2 and so on depending on the number of pins therefore suppose your project required 3 inputs using switches you could use a rotary switch with 3 positions to do the same job tieing the common pin to either ground or plus volts via a resistor ?
Cheers bob
My understanding of a rotary switch is theres 1 common pin which when the rotary knob is turned connects to say pin1 if turned again connects to pin2 and so on depending on the number of pins therefore suppose your project required 3 inputs using switches you could use a rotary switch with 3 positions to do the same job tieing the common pin to either ground or plus volts via a resistor ?
Cheers bob
-
Steve-Matrix
- Matrix Staff
- Posts: 2007
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 300 times
- Been thanked: 465 times
-
siliconchip
- Posts: 55
- Joined: Wed Dec 16, 2020 10:38 am
- Has thanked: 21 times
- Been thanked: 1 time
-
Steve-Matrix
- Matrix Staff
- Posts: 2007
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 300 times
- Been thanked: 465 times
Re: Rotary switch
While we continue to test this new version, I thought I might as well share it so you can see if it suits your requirements.
To try it, you can copy it into the "%PROGRAMDATA%\MatrixTSL\FlowcodeV11\Components" folder and then restart Flowcode.
Note that this will replace the existing component. A 'safer' way is to create a personal "components" folder somewhere on your PC and then point Flowcode at this folder in the "locations" tab of Global Options. More details can be found here on the wiki.
To try it, you can copy it into the "%PROGRAMDATA%\MatrixTSL\FlowcodeV11\Components" folder and then restart Flowcode.
Note that this will replace the existing component. A 'safer' way is to create a personal "components" folder somewhere on your PC and then point Flowcode at this folder in the "locations" tab of Global Options. More details can be found here on the wiki.
- Attachments
-
- Switch_Rotary_0_15_2dgi.fcpx
- (7.07 KiB) Downloaded 22 times
-
siliconchip
- Posts: 55
- Joined: Wed Dec 16, 2020 10:38 am
- Has thanked: 21 times
- Been thanked: 1 time
Re: Rotary switch
Hi steve
I think ive added it correctly - the black rotary switch available only in 3D with either 10 or 16 positions ? If so its still got the 4 pin binary im unsure how to set this up
Cheers bob
I think ive added it correctly - the black rotary switch available only in 3D with either 10 or 16 positions ? If so its still got the 4 pin binary im unsure how to set this up
Cheers bob
-
Steve-Matrix
- Matrix Staff
- Posts: 2007
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 300 times
- Been thanked: 465 times
Re: Rotary switch
No - it's the 2D "Switch Rotary 0_15" with the new "Type" property (Encoder or Conventional).
That 3D one should do what you need though. But must be added to a 3D panel.
That 3D one should do what you need though. But must be added to a 3D panel.
-
Steve-Matrix
- Matrix Staff
- Posts: 2007
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 300 times
- Been thanked: 465 times
Re: Rotary switch
I believe the one I posted earlier handles both of these. They are both type="encoded" with the number of positions 10 and 16 respectively.
Only decimal numbers are shown around the dial though, so you will see 10=A, 11=B, ..., 15=F for the HEX version.
Only decimal numbers are shown around the dial though, so you will see 10=A, 11=B, ..., 15=F for the HEX version.