Page 1 of 2
Rotary switch
Posted: Sat Aug 01, 2026 12:24 pm
by siliconchip
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
Re: Rotary switch
Posted: Sat Aug 01, 2026 2:12 pm
by medelec35
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.
Re: Rotary switch
Posted: Sun Aug 02, 2026 12:54 pm
by siliconchip
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
Re: Rotary switch
Posted: Sun Aug 02, 2026 7:27 pm
by Steve-Matrix
We've made a new component and are currently testing this before we release it.
Re: Rotary switch
Posted: Mon Aug 03, 2026 6:33 am
by siliconchip
Hi steve
Thats great thanks
Bob
Re: Rotary switch
Posted: Tue Aug 04, 2026 9:38 am
by Steve-Matrix
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.
Re: Rotary switch
Posted: Tue Aug 04, 2026 1:42 pm
by siliconchip
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
Re: Rotary switch
Posted: Tue Aug 04, 2026 1:47 pm
by Steve-Matrix
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.
Re: Rotary switch
Posted: Tue Aug 04, 2026 3:24 pm
by RGV250
Hi,
While you are at it you could add a couple of extra versions, BCD (0-9 with 4 outputs) and HEX (0-15 with 4 outputs).
Regards,
Bob
Re: Rotary switch
Posted: Tue Aug 04, 2026 3:41 pm
by Steve-Matrix
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.