Idea
In short
How do you build a sixteen-button input over I2C?
A 16-bit expander reads sixteen buttons with just two wires and shows which are pressed. You need Arduino Nano, MCP23017 16-bit I/O expander, Tactile push button 6 mm × 16, SSD1306 OLED Display and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 240 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
Add sixteen inputs.
Parts list
- Development Boards
- Integrated Circuits
- Switches
- Displays
- Prototyping
How to build it
- Wire the expander
- Enable the internal pull-ups
- Read both ports
- Show pressed buttons
- Add an interrupt pin
Common questions
What parts do I need for the sixteen-button input over I2C?
Arduino Nano, MCP23017 16-bit I/O expander, Tactile push button 6 mm × 16, SSD1306 OLED Display and Breadboard 830 Tie Points.
How long does the sixteen-button input over I2C take to build?
About 240 minutes for a intermediate maker.
