# What is the name of this kind of switch?

**URL:** <https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003>\
**Category:** DIY STUFF\
**Created:** [February 22, 2021, 8:30pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003 "2021-02-22T20:30:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 22, 2021, 8:30pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/1 "2021-02-22T20:30:16Z")

</div>

Hey guys,  
I’ll be soon in need of a switch that doesn’t only do 1-0. Instead, it should allow me to choose between 4 or 5 options and, whenever it gets moved, it comes back to the initial position in the centre.  
What am I looking for?

I can recall seeing it on the Korg Minilogue XD [octave shift control](https://www.sweetwater.com/store/detail/MinilogueXD--korg-minilogue-xd-4-voice-analog-synthesizer) if that can help. The XD is actually a good example because it also has “fader-type” switches that allow choosing between three options. Those would work for me as well.

---

<div class="post-metadata">

**Author:** ![telec16](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/telec16/32/4510_2.png) [@telec16](https://lookmumnocomputer.discourse.group/u/telec16)\
**Post date:** [February 22, 2021, 8:35pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/2 "2021-02-22T20:35:36Z")

</div>

If you want only three positions, you have these: [Mini Toggle Momentary Switch SPDT On-Off-On](https://www.taydaelectronics.com/electromechanical/switches-key-pad/toggle-switch/momentary-mini-toggle-switch-spdt-on-off-on.html)  
But I never saw momentary switches with more than three positions… What’s the application?

Maybe with a bit of software and relays you can make a selector where you have to push multiple times the switch? It seems like this is what is done on the XD.

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 22, 2021, 8:46pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/3 "2021-02-22T20:46:16Z")

</div>

The application would be selecting one of the 5 options of a routing system made in Max/Msp. Probably I could write in the code that whenever Max receives a signal from the switch, it moves one step forward in the list. Right?

---

<div class="post-metadata">

**Author:** ![twinturbo](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@twinturbo](https://lookmumnocomputer.discourse.group/u/twinturbo)\
**Post date:** [February 22, 2021, 11:58pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/4 "2021-02-22T23:58:20Z")

</div>

rotary switch would be the usual solution…

---

<div class="post-metadata">

**Author:** ![Dud](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/dud/32/610_2.png) [@Dud](https://lookmumnocomputer.discourse.group/u/Dud)\
**Post date:** [February 23, 2021, 12:09am UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/5 "2021-02-23T00:09:14Z")

</div>

> [@SonOfAGlitch](#):
>
> whenever it gets moved, it comes back to the initial position in the centre.

except a joystick i don’t see 🙂  
momentary switch but like said @telec16 not with 5 positions

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [February 23, 2021, 1:12am UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/6 "2021-02-23T01:12:04Z")

</div>

Found a 4 position momentary:

 ![image](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/0/09b1a0c832fbab9f6fd3009c429ac04dc492a8a4.jpeg)

$37 ouch

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [February 23, 2021, 1:14am UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/7 "2021-02-23T01:14:10Z")

</div>

You are looking for a 5PST momentary

I would imagine the 4pole or maybe 8-pole is going to be much more common, kind of like an old school Nintendo “D-pad”

---

<div class="post-metadata">

**Author:** ![Caustic](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/caustic/32/15588_2.png) [@Caustic](https://lookmumnocomputer.discourse.group/u/Caustic)\
**Post date:** [February 23, 2021, 3:35am UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/8 "2021-02-23T03:35:19Z")

</div>

If you want a switch like the octave of a Minilogue XD, you want the switch @telec16 mentioned. The Korg uses software to control the “state” of the octave. Think of it like the off is “do nothing”, and one side increments the octave number, and one side decrements the octave number.

This of course can be done for things other than octaves. The software would just detect the rising or falling edge to update a variable. As @twinturbo has said, you can also go the direction of a rotary encoder. The added benefit there is you can also have a button press to signify another control, and scroll through the values your variable can be.

Though i get it, if you want a specific feel, go with what feels good.

Arduino can easily handle either case. Feel free to take a gander at my thread about DIY controllers, though i haven’t updated it in a while.

> [@WIKI: How to make a DIY MIDI controller easily](https://lookmumnocomputer.discourse.group/t/wiki-how-to-make-a-diy-midi-controller-easily/2122):
>
> This WIKI is a tutorial series i am writing to assist those that want to make a midi controller. Feel free to ask questions or ask for examples in this thread, i will be making new replies on topics in the future and will link them to this first post. This way we can have a discussion about this topic, can ask and answer questions, but we can also keep organized with the tutorial posts. Feel free to make requests for topics to be covered, but i already have a rough outline for what will be cove…

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 7:21am UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/9 "2021-02-23T07:21:56Z")

</div>

I think a “cross” like on the gameboy will be the right thing.  
I once saw one on AliExpress, with an added switch when you press it down, but I can’t find it again…

Or else go for a “PlayStation2” joystick and put thresholds on the analog values to convert to digital…

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 23, 2021, 2:24pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/10 "2021-02-23T14:24:31Z")

</div>

Thank you all for the replies!  
I’m already using [these rotary encoders](https://www.amazon.de/-/en/gp/product/B08728PS6N/ref=ox_sc_act_title_1?smid=A3F8F97TMOROPI&psc=1) to control other functions; I find them great because when I push one down I get access over another control as @Caustic suggested. However, I want something that doesn’t spin infinite times but rather a fixed amount of times. I saw on ebay [these potentiometers](https://www.ebay.de/itm/41-Detent-Click-6-0mm-D-Shaft-Solder-Lug-16mm-Linear-Potentiometer-B100K-DSL41/113045299730?_trkparms=aid%3D777008%26algo%3DPERSONAL.TOPIC%26ao%3D1%26asc%3D20201018205123%26meid%3Debd6fe895f1b493f888d984535e3a506%26pid%3D101286%26rk%3D1%26rkt%3D1%26mehot%3Dnone%26itm%3D113045299730%26pmt%3D0%26noa%3D1%26pg%3D2380057%26algv%3DWatchlistVariant%26brand%3DBourns&_trksid=p2380057.c101286.m47999&_trkparms=pageci%3A6e0f7f87-75e2-11eb-99ee-deebdc30c15e%7Cparentrq%3Acf44435d1770a9cd5d17869cffbf796e%7Ciid%3A9) that would probably do the job right?  
The problem is that I want them to stop exactly at the two edges of the menu.

Otherwise I could use the rotary encoders that I have. In this scenario, the count goes back to the first position in the menu as soon as I overcome the last position. I think that makes sense!

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 2:39pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/11 "2021-02-23T14:39:19Z")

</div>

If I understand you correctly, you can use a rotary switch, if you need a max of 12 positions.  
They look like these:

> **[Stufenschalter 1P12T Drehschalter PCB Wiring Rotary Switch GE | eBay](https://www.ebay.de/itm/Stufenschalter-1P12T-Drehschalter-PCB-Wiring-Rotary-Switch-GE/174512825924)**
>
> Finden Sie Top-Angebote für Stufenschalter 1P12T Drehschalter PCB Wiring Rotary Switch GE bei eBay. Kostenlose Lieferung für viele Artikel!

They can be mechanically limited from 2 to 12 positions (with the washer with the tab in the picture).  
Mount a string of Rs from leg to leg, one end to GND, the other to +V, the center lug to an analog in.

I don’t know of any with a switch when you press it down, but I’m (almost…) sure they exists…

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 23, 2021, 3:13pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/12 "2021-02-23T15:13:27Z")

</div>

uuuh seems interesting… what is this thing about the poles?

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 3:15pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/13 "2021-02-23T15:15:47Z")

</div>

The common ones exist in :  
1 pole 12 positions  
2 poles 6 positions  
3 poles 4 positions  
4 poles 3 positions  
(Positions are the max number of positions, can be limited to less)

But for usage with an MPU, 1 pole is enough, the others are just for complex “analog” switching…

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 23, 2021, 3:17pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/14 "2021-02-23T15:17:44Z")

</div>

So basically the pole defines the range of clicks of the potentiometer?

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 3:19pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/15 "2021-02-23T15:19:08Z")

</div>

Positions is the number of clicks.  
Poles is the number of independent electrical circuits.

For example, a 2 poles 6 positions can route a stereo signal to one of up to 6 destinations.

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 23, 2021, 3:21pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/16 "2021-02-23T15:21:13Z")

</div>

So in my case I would buy a 3 poles 4 positions to choose between 4 options right?  
And I could send the same signal to other 2 destinations at the same time?

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 3:24pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/17 "2021-02-23T15:24:16Z")

</div>

It really depends on what you want to do…  
If it is an input to an MCU to display a menu, that’s what i understood

> [@SonOfAGlitch](#):
>
> stop exactly at the two edges of the menu

You just need 1 pole.  
You can then put the washer with the tab in a position that will limit the rotation to the 4 first positions.

If your usage is something else… maybe a 3 pole 4 positions is better, it depends on the application…

---

<div class="post-metadata">

**Author:** ![SonOfAGlitch](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonofaglitch/32/2101_2.png) [@SonOfAGlitch](https://lookmumnocomputer.discourse.group/u/SonOfAGlitch)\
**Post date:** [February 23, 2021, 3:25pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/18 "2021-02-23T15:25:30Z")

</div>

Nono you got it right! The destination will be one at a time. I’ll purchase the one you suggested above then!

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 3:26pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/19 "2021-02-23T15:26:56Z")

</div>

Then go for 1 pole 12 positions, you can limit it to 4 positions, and if the need arises for a fifth position, no problem, just move the washer’s tab one hole…

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://lookmumnocomputer.discourse.group/u/eric)\
**Post date:** [February 23, 2021, 3:27pm UTC](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003/20 "2021-02-23T15:27:54Z")

</div>

You can probably find them cheaper elsewhere !  
This was just the first google hit to show you a picture.  
Search for “rotary switch” at your favorite component store.

[Next page](https://lookmumnocomputer.discourse.group/t/what-is-the-name-of-this-kind-of-switch/3003.md?page=2)
