Arduino Noteboard
This instructable will be showing how to create a Arduino Noteboard. This board is able to play a whole A-A octave and their flats.
Materials:
18 male-male wires
16 buttons
18 mini jumper wires
4 male pins
4 Alligator Wires
2 Speakers
2 Bread Boards
2 Arduino Boards
2 Power Supply Cords
Wire Your Breadboard
Equally space out your buttons across the board. Connect a male-male wire a few spaces above the button to a pin. Going left to right, assign your buttons to pins 2-9. Use the jumper wires to connect your button to the power supply line. Use a jumper wire halfway through the power supply board, between 25 and 30, to connect the power. Use a male-male wire to connect the corner power supply line to the GND pin.
Repeat this step for your second board.
Wiring Your Arduino
Your pins 2-9 should be connected to your respective buttons, left to right. Your GND pin should be connected to the breadboard power supply as well. Place male pins on the second GND pin and on the 11 pin. You will be attaching alligator wires to this.
Speakers
Take your alligator wires and clip it to the speaker. Clip the 11 pin alligator wire to the positive and the GND alligator wire to the negative.
Review Wiring
The wiring should be complete. Check wires for complete connections and proper placement. Go back through these steps if you are unsure on any wires.
Coding for Natural Note Board
This code defines a letter as a note frequency. Then it assigns each pin a note. Then it supplies power to each pin.
This code was inspired by The Lonely Programmer.
Downloads
Coding for Flat Note Board
This is the same as the last step, but the frequencies have been changed. This code defines a letter as a note frequency. Then it assigns each pin a note. Then it supplies power to each pin.
This code was inspired by The Lonely Programmer.