Connect several digital inputs to one analog input using Arduino

I often run out of digital pins on my Arduino. Anything as complicated as, say, a video game controller, was near impossible with the amount of pins I had available. Multiplexing buttons works, but it requires lots of connections and soldering. So, I put together a solution! Step 1: Resistor Dividers in Five In a circuit consisting of one resistor and a 9V battery, the resistor drops 9V across itself. So, t ...

Read more
Scroll to top