Read multiple buttons with one Arduino pin

Using a resistor network it is possible to Read multiple buttons with one Arduino pin using an analog input pin. This is achieved by creating a resistor network so that each button will have a different voltage reading when pressed. Here is an example to read 4 buttons read with one input port but there is …

Read More Read multiple buttons with one Arduino pin

Arduino additional input pins – Multiplexer

One of the limitations of Arduino is the fixed number of input pins available on the boards. Using a multiplexer it is possible to get Arduino additional input pins by using the digital output pins. I brought this multiplexer from sparkfun (16-Channel Analog/Digital Multiplexer/Demultiplexer CD74HC4067) for $5 conveniently on a breakout board. It works by connecting …

Read More Arduino additional input pins – Multiplexer