What do we call a multi-step-switch like the one below (TRACK INSTRUMENT). Its like a stepwise potentiometer thingy. It goes click-click when turning it... I've tried to find it (or something similar) on i.e. aliexpress.com without luck. Any ideas?
How many positions?thanks! I think in my case I'm after the rotary switch with one pole.
They're also called rotary selector switches... look for them in Digikey... but you might have to open your device and have a closer look to make sure that that's what you're looking for.What do we call a multi-step-switch like the one below (TRACK INSTRUMENT). Its like a stepwise potentiometer thingy. It goes click-click when turning it... I've tried to find it (or something similar) on i.e. aliexpress.com without luck. Any ideas?
Good point... what I usually do is take a few pictures before disassembling. A pic's worth a thousand notes...Whichever type it is make sure you document which wire goes where before you take it apart. We have people bring stuff into the school when they take something like that apart and want us to guess which wire goes where because they didn't document it.
In that case, I'd suggest you use a binary counter rotary switch. How many positions would you like it to have?The input is going to an atmega 328p microcontroller. I have not worked at the details yet. But I might use a shift reg. for scanning inputs so I only use a few digital input pins on the microcontroller... The device (drum machine with 8-bit-commodore64-like sounds) will have something like:
Inputs:
8 buttons (for triggering the drum sounds).
A few extra digital inputs (maybe 2-3.. not sure yet) for controlling the sequencer part (programming the rhythm)
max 8 potentiometers for adjusting sound for each instrument/drum and setting the tempo.
Outputs:
LEDs and 7-segment displays for useability.
...I am still in the UI-development phase. I believe I have the audio circuit + code pretty much in place now... I am curious to see if my IO source code will ruin my audio timing ;-)