Assignment #1: Memory Game using Arduino

Tuesday, February 25, 2020



Assignment - Build a Simon Says or Memory Game with at least 3 levels and clear start and end. Have 3 buttons for interaction and make it so you press the first button to start the game. When the game is over all 3 LED should come on and stay in until the start button is pressed again. 

Circuit Design

Knowing that it should be a parallel circuit, I tried designing the architecture of the game to help me visualise.

Considerations: 

1. Voltage input needs to increase for every "new" led light. This is because current would decrease. 
2. Have an extra ground wire as the button structure only have two prongs. 
3. Directly plug the LED's ground wire to the negative strip, to minimise the use of wires.
4. [Code] for the code, I referenced a pre-existing code provided on the internet as I am still starting out on coding in C++ and have little to no knowledge in it. However, referencing did helped me understand the language better. 

How it works:



Learning points

This assignment taught me the basics of electricity and circuits and serves as a very effective recap to designing circuit. It also helped me better understand the use of both Arduino and breadboard as the assignment does come with challenges, such as designing your own circuit, calculating current in order for the LED to light up the same, and manipulation as some of the parts were different than what is provided as examples on the internet. 








© Hilary Young. .