4) Wiring the Buttons

It’s time to wire our pushbuttons to the microcontroller! This will allow it to receive the signal from them so that we can control our music player. Here is how the buttons should be connected to the microcontroller:

Button Color Microcontroller Digital Pin
Red 7
Green 6
Yellow 5
Blue 4

Here is the breadboard wiring diagram for this step:

Note: On the breadboard, make sure the wires are connected to the same column of holes as the legs of the button.

3) Connecting the Breadboard Power Rails
5) Wiring the Mp3 Module and Speaker