Control 30 buttons on 168 / 3286 analog pins based
2016-08-23
0 0 0
no vote
Other
Earn points
Application background
Arduino. How to control more than 6 buttons with analoginput pins on Arduino UNO based or similar, without MEGA similar (only ATMEGA 168/328 based microcontroller)With this method, connect max 5 buttons on one analog pin, analog pin 1=> button 1 =>2k resistor & analog pin 1=> button 2 => 2k resistor & analog pin 1 => button 3 => 2k resistor & analog pin 1 => button 4 => 2k resistor & analog pin 1 => button 5 => ground & 10k resistor on +5v
Repeat this for 5 other analog pins at your conveniance.
This source is created to receive only 4 buttons events on one analog pin.
Key Technology
arduino, UNO, atmega168, atmega328, buttons, analog read, analog entry, analog events, LCD, tips, tricksc++
arduino
控制
基于
模拟
按钮
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment