Arduino Forum
Multiple buttons single pin
Projects
General Guidance
LarryD
November 21, 2024, 7:05am
4
You can use an analog input pin and a voltage divider.
Examples
image
320×381 1.69 KB
image
409×415 52.8 KB
The serial monitor displays only case 0
show post in topic
Related topics
Topic
Replies
Views
Activity
Hacking together 5 buttons on one analog pin
General Guidance
11
918
November 6, 2024
The serial monitor displays only case 0
Programming
29
179
May 18, 2026
Best way to identify a pressed button in a set of buttons?
Home Automation
32
333
January 18, 2025
Problem with 5 Push-Buttons and one 10K Ohm Resistor!
General Electronics
24
454
April 12, 2025
Projet 07 - Can't play keys simultaneously
Starter Kit
17
228
December 26, 2025