I decided to take a break from making tile holder buttons and start wiring everything else. I started by adding a little power bus (a couple of bare 22 AWG wires) between the pro Micro and CD4067BE 16-Channel Analog Multiplexer. Then I wired the 4 outputs from the pro Micro to the channel select inputs of the multiplexer and the multiplexer output to an analog pin on the pro Micro. I used 28 AWG wire for all connections.
I inserted the eight Fubata MD-4PCS switches and wired one lead of each to ground. Then I wired the buttons to the 2-9 IO pins of the pro Micro.
Here are all the connections so far.
Arduino pro Micro | CD4067BE Multiplexer | Wire Color | Other |
VCC | +5V | Red | Also powers the sensors. |
GND | GND | Black | Project Ground |
A0 | Common Input (Read the channel selected by S0-S3) | White | |
I/O Pin 2-9 | Green | Button 1-8 | |
I/O Pin 15 | S0 (These four outputs select which of the 16 analog channels to read.) | Blue | |
I/O Pin 14 | S1 | Blue | |
I/O Pin 10 | S2 | Blue | |
I/O Pin 16 | S3 | Blue | |
GND | E (This is an inverted chip select pin.) | Black |
When I finish the tile holder buttons I'll wire the rest.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.