The Test Your Memory Game

by 710283 in Circuits > Arduino

247 Views, 1 Favorites, 0 Comments

The Test Your Memory Game

img 28.png
The Test Your Memory Game

The projects that inspired me the most were the Arduino Basic Circuit Red Green Blue buttons with RGB LED, 7 segment display, and the night light circuit, this is because all of these projects helped me get better and learn basic materials used in a circuit and how each material has its purpose as well as basic code. I wanted to make my own memory game inspired by Simon Says. The goal of the game is to remember what led turned on in what order, and then push the buttons of the LEDs. To move onto the next level I would have to correctly remember which LEDs turned on and in what order. An area I'm very interested in digital making is programming games, that's why I wanted to make the memory game. There are a total of 10 rounds a player needs to win to beat the game.

Supplies

img 2.png
img 3.png
img 4.png
img 5.png
img 6.png
img 7.png
img 8.png
img 9.png
img 10.png
  • 3 LEDs (Red, Yellow, Green)
  • 1 RGB LED
  • 4 (330 Ohms) Resistors
  • 4 Push Buttons
  • Piezo Buzzer
  • Potentiometer
  • 17 Wires
  • Arduino Uno R3 + Cable
  • Breadboard

Get the Components

img 1.png

First of all, get all the component listed above to start this project.

Add the Potentiometer and the Piezo Buzzer

img 11.png

The next step is to add the Potentiometer and Piezo Buzzer to the Breadboard.

Add the 4 (330 Ohms) Resistors and 4 Push Buttons

img 12.png

After completing step 2, add the 4 (330 Ohms) Resistors and 4 Push Buttons onto the Breadboard.

Add the 3 LEDs (Red,Yellow,Green) and 1 RGB LED

img 13.png

Once You've completed step 3, add the 3 LEDs (Red, Yellow, Green) and 1 RGB LED to the Breadboard.

Add the 17 Wires and Connect Arduino to Breadboard

img 14.png

After you have put down all of the components on the Breadboard connect the wires from the Arduino the Breadboard giving the components power to work.

Start Coding to Make the Game

img 15.png
img 16.2.png
img 17.png
img 18.png
img 19.png
img 20.png
img 21.png
img 22.png
img 23.png
img 24.png

Once you have completed adding the components and the wires connecting them from one another, start to code to make the circuit work and complete the game.

The Test Your Memory Game Is Complete!

img 25.png

After you have completed all 6 steps your game is ready to work and you can start to play and have fun!

Draw the Schematic of the Circuit

img 26.png
img 27.png

In this Schematic you can see the wires from the Arduino connecting to each component giving it power to work. Each number from the Arduino is coded for a specific component to work and connect all together. All the components from LEDs to Resistors are shown and powered by the Arduino.

Conclusion

A process learned in this semester was how to connect all of the components together even if they aren't next to each other as well as learning code to make the component do what you want it to do. A specific process I learned was how to code and make a 7 segment Display countdown. I also learned the process of how a distance sensor works and changing the amount of distance so it can do what you want the circuit to do.