This project was conceived of after I examined the types and styles of various off-the-shelf Metronomes. I am currently learning to play the piano and having a Metronome in order to keep time was necessary. I felt sure that I could build one based on a standard Arduino Uno R3 board. The resultant Metronome has a combined light and sound feature which can be customized to reflect the tempo of the beat. While V1 of the project is complete a V2 is being considered based on some new features such as adding a 18650 Battery shield to allow charging of the batteries via a USB charging cable. I added a simple time display feature in this version, however a future version could include the time in providing a fixed number of beats option.
Supplies
1. Arduino UNO R3 card and DC Plug, terminal type
2. DS1302 Real Time Clock plus 2032 button battery
3. Two pole switch, coloured wires, PCB female plugs, heatshrink, PCB board, 3mm plastic supports
4. LED plus 330ohm resistor
5. PAM8403 Digital Amplifer 3W
6. Digital Rotary Encoder with central push button
7. 8 Ohm 1W speaker
8. 20 X 4 line LCD screen using IC2 communications
9. 50x90x150mm project box
10. 4 x Neopixel RGB common anode LEDs
11. 2 x Adjustment push on control knobs.
12. 2 * 18650 batteries and twin battery holder
13. two pole switch.
14. a quantity of plastic M3 20mm board supports and 5mm screws
15. Blank PCB board, 20mm x 50mm approx.
Step 1: CONSTRUCTION

Using a jigsaw and file a 96mm by 40mm square opening is made in the front panel to allow the 4×20 display to be inserted into the opening. It will also be necessary to drill 10 * 3mm holes in the front (4) and back panels (6) of the project box to allow for the M3 screws. The Arduino UNO R3 is wired to its components as laid out in the attached Fritzing circuit diagram.
The faceplate logo print, see attached PDF, is printed cut to shape and attached to the front panel of the project box. The IC2 controller is soldered to the 20×4 LCD screen and this screen is then attached to the front panel, after being inserted into the square cutout and fastened using 4 x M3 screws.
The two-pole switch is inserted through the 12mm hole on the side of the project box and the 8W speaker is glued to the inside of the project box so that the middle of the speaker is directly opposite the 5mm hole on the project box’s side panel. The rotary encoder and Amp volume control are attached to the inside of the project box’s lid and both of the knob control bars are past through the face plate so that they finish in the correct position in the center of the logo printout. Finally, the two control knobs are pushed onto the control bars.
When soldering the twin 18650 battery holder, ensure that the batteries are in series so that a total voltage of 7.2V is supplied, via the DC plug, to the Arduino. The 4 RGB LED light array is constructed using a blank PCB board, as per the Fritzing diagram. Where possible connections between components should be soldered, however if Dupont wires are used then it is recommended that all are glued in place after being tested.
Step 2: OPERATION
The Volume control increased the sound level if turned to the left, and decreased the sound level if turned to the right. The Menu/Tempo control initially starts in the Tempo option and turning it to the left will Increase the tempo while turning it to the right will reduce the Tempo. By clicking this same control, at the end of the light sequence, the menu options can be cycled through: Tempo, Sound formats, Light formats, Adjust clock Hours, and Adjust clock Minutes. If the unit is switched off the default Tempo (67), Sound (x,x,x.), and Light (G,G,G,G) formats will be restored.
Step 3: SOFTWARE

Read more: Piano Metronome