Idea
In short
How do you build a twelve positions on one pin?
A twelve-way rotary switch with a resistor chain gives twelve different voltages on one pin, and the board shows the position. You need Arduino Nano, Rotary switch 1-pole 12-way, Resistor 1 kΩ × 11, SSD1306 OLED Display and Breadboard 830 Tie Points.
- Level
- Beginner
- Time
- About 120 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Read a switch with one pin.
Parts list
- Development Boards
- Switches
- PassivesResistor 1 kΩ × 11
- Displays
- Prototyping
How to build it
- Build the resistor chain
- Wire the switch
- Read the voltage
- Find the twelve ranges
- Show the position
Common questions
What parts do I need for the twelve positions on one pin?
Arduino Nano, Rotary switch 1-pole 12-way, Resistor 1 kΩ × 11, SSD1306 OLED Display and Breadboard 830 Tie Points.
How long does the twelve positions on one pin take to build?
About 120 minutes for a beginner maker.
