Do It Better
Intro
For this project, we had to take a project and make it better. I decided to take my project that plays part of Moonlight Sonata Movement III and make it play more than one Arduino's memory can hold by connecting two arduinos.
Concepts
My Project
Circuit connections:Arduino 1 pin 9 to buzzer 1 plus side
Arduino 2 pin 9 to buzzer 2 plus side buzzer 1 minus side to ground buzzer 2 minus side to ground Arduino 1 pin 11 to Arduino 2 pin 10 Arduino 1 pin 10 to ground To start, disconnect Arduino 1 pin 10 from ground and connect it to 5V. Code:
|
Reflection
This was a pretty easy project to do. However, there were a few tricky parts. For example, it is tricky to give two arduinos their code when they're both connected to the same computer. Also, there were a few problems with floating voltages prematurely starting my program. However, I was able to solve that by connecting a wire to ground until I was ready to run the program. Finally, arduinos can only play one note at once, so it could not play chords. Despite all this, though, the project works great.