What We Did
In this project we learned about circuit work and coding. Our final end product had to be some form of an art show, either lights, songs or games, using our knowledge of coding. We used Arduino programming software to make our end product of 1812 Overture with a light show. We chose to have lights with the song to represent the percussion and to make it more appealing to the eye. We decided to use "else if" statements because that made us able to have different arrangements of lights go off at different points in the song while the song played.
We started this project with learning about electricity and circuits. We then got to do experiments using a breadboard, and finally we did a series of codes to learn about coding and how to work with Arduino.
We started this project with learning about electricity and circuits. We then got to do experiments using a breadboard, and finally we did a series of codes to learn about coding and how to work with Arduino.
Our Program
Our Code
Circuit Diagram
Concepts
- Circuits-is a loop of conductive material from one power source terminal to another.
- Series- in series the current passes through each element one after the other
- Parallel-in parallel the current splits between two paths.
- Current-It is the flow of electricity through a circuit. The equation for current is i=V/r and the unit of measure is amps.
- Voltage- It is the potrntial energy difference form one side to another of a battery
- Resistance- It is the slowing of the current through an obstacle. Resistance is provided by wires, lights, resistors, etc. The equation for resistance is r=V/i and the unit of measure is ohms.
- Breadboard- All of the lights and sound box were wired through the breadboard. This is basically where all of the electronics were connected to.
- Coding- For coding we learned about the different phrases and words you would use to have the breadboard do what you want. We used a lot of else if statements because that allowed us to have different combinations of lights go off at certain beats of time.
Reflection
In this project I learned a lot on how to code because I had no idea how to do it before. One thing I did well in this project was rising to the challenge of coding while still putting my best work forward even though I didn't really know what I was doing. I also had a lot of fun figuring out the different notes and rhythms for the song since some of the notes was 16th notes. One thing I could have done better was to be more inclusive because it was hard to have two people trying to code at one time on the computer. i could have also been more aware of time because I spent a lot on the first packet and rushed through other parts of the project since I didn't have enough time.