This project will play Anchors Aweigh on pin 13. It is based on the Jingle Bells sketch at gist.github.com/elubow/7844436. It was designed for Veteran's Day 2018. It is very simple to build.
To build the circuit, follow one of these sets of steps:
If male-to-female wires are available, insert one male end into the Arduino's GND pin and plug the buzzer or speaker's negative pin into the female end. Repeat this with a new wire, the buzzer's positive pin, and Arduino pin 13. Install the included sketch. Tip: If male-to-male and female-to-female wires are available, simply plug an end of a male-to-male wire into an end of a female-to-female wire. This can be used as a male-to-female wire.
If only male-to-male wires are available, the buzzer should be plugged into a breadboard. Place one wire in the Arduino's GND pin. Place the other end in a hole in the breadboard that is connected to the negative pin of the buzzer. Repeat this with a new wire, the buzzer's positive pin, and Arduino pin 13. Install the included sketch.
No licensing information was found for the original sketch. This version (or at least the modifications, if the original is under any license) is Public Domain.
Comments