Description:
In this project we have to learn concepts of electronics in a series of packets. The first packet was the itroduction of electronics. Me and my partner Nihal used aligator clips to connect the battery to the light bud in various ways(It was a painful process.). After we completed the first packet we were ready for the next packet. For the next packet we experimented with breadboards, and we used voltimeters to measure volts and amps. Last but not least, the third packet, introduced us to programming. We were given a booklet and inside were various circuits, and we have to run the codes for those circuits, but we have to examine the codes ,and understand what do they do. After that I was assigned to build my own circuit with my own code. I decided to buid a game called stop it where there is 5 ELDs, and only one of the them have a different colar you have to hit a button when that ELD is on; if you hit the button on time you move on, and the game speeds up, or if you did not the button at the right timing then it is game over for you. Below are my circuit diagram and the code for my final project, and a video of the code in motion.
In this project we have to learn concepts of electronics in a series of packets. The first packet was the itroduction of electronics. Me and my partner Nihal used aligator clips to connect the battery to the light bud in various ways(It was a painful process.). After we completed the first packet we were ready for the next packet. For the next packet we experimented with breadboards, and we used voltimeters to measure volts and amps. Last but not least, the third packet, introduced us to programming. We were given a booklet and inside were various circuits, and we have to run the codes for those circuits, but we have to examine the codes ,and understand what do they do. After that I was assigned to build my own circuit with my own code. I decided to buid a game called stop it where there is 5 ELDs, and only one of the them have a different colar you have to hit a button when that ELD is on; if you hit the button on time you move on, and the game speeds up, or if you did not the button at the right timing then it is game over for you. Below are my circuit diagram and the code for my final project, and a video of the code in motion.
Code:
Stop It Arduino by Henry Zhang on Scribd
Circuit Diagram:
Concepts:
Circuit: Loop of conductive material from one power source terminal to the other.
Resistance: The about of slowing of the current through an obstacle.
Current: The flow of charge/ electricity through the current.
Voltage: The potential energy difference from on side of a component.
Series Circuit: A series circuit is a closed circuit in which the current follows one path.
Parallel Circuit: A closed circuit in which the current divides into two or more paths before recombining to complete the circuit.
BreadBoard: A device used as a construction base in develpingan electronic circuit.
Circuit: Loop of conductive material from one power source terminal to the other.
Resistance: The about of slowing of the current through an obstacle.
Current: The flow of charge/ electricity through the current.
Voltage: The potential energy difference from on side of a component.
Series Circuit: A series circuit is a closed circuit in which the current follows one path.
Parallel Circuit: A closed circuit in which the current divides into two or more paths before recombining to complete the circuit.
BreadBoard: A device used as a construction base in develpingan electronic circuit.
Reflection:
At the begging I was not happy about the pace we were on because I did not work efficiently, and I need to learn how to do so. but when we finished the first packet my pacing got better. I was always interested in learning programming and arduinos, and this project was no opportunity. It was a no-brainer this project is going to be hard. At the beginning I was thinking making a game called cyclone( A game where a series of ELDS light up and only one ELD is different and you have to push the button when that ELD is flashed on, when you push the button the cycling of the ELDs will stop. but I learned that the arduino doesn't really want to stop, it just want to keep on looping, so I learned how to compromise and made a simpler game called stop it. For this example I need to learn that I need to do more research before making up my mind about something.
At the begging I was not happy about the pace we were on because I did not work efficiently, and I need to learn how to do so. but when we finished the first packet my pacing got better. I was always interested in learning programming and arduinos, and this project was no opportunity. It was a no-brainer this project is going to be hard. At the beginning I was thinking making a game called cyclone( A game where a series of ELDS light up and only one ELD is different and you have to push the button when that ELD is flashed on, when you push the button the cycling of the ELDs will stop. but I learned that the arduino doesn't really want to stop, it just want to keep on looping, so I learned how to compromise and made a simpler game called stop it. For this example I need to learn that I need to do more research before making up my mind about something.