Light Up the World (Arduino Escape Room)
by BaileyCarraway4 in Circuits > Arduino
338 Views, 2 Favorites, 0 Comments
Light Up the World (Arduino Escape Room)
For this holiday escape room puzzle, you will have a code and I asked the player of my escape room to look at the question in the serial monitor and try to answer it with your knowledge if you answer the question right in the code it will light up a surprise for you if you answer it wrong you will not be able to progress. Enjoy!!! {You will need the following things to get started:
Supplies
- 1- Arduino Uno
- 1- USB cable
- 1- mini breadboard
- 1- slideswitch
- 1- piezo
- 5 - Green LED
- 1- Yellow LED
- 4 - Red LED
- 2- 220 ohm resistors
- 9- jumper cables
Software Step
For this project, you will use the attached code, this code uses the serial monitor to control array of LED's in a repeating sequence of flashing red, yellow, and green. I made the code do that by telling the code to have a string key to say "Jesus Christ", The code is fully commented.
Downloads
Hardware Step
1)Create a parallel circuit of LEDs shaped like a Christmas Tree and connect the negative wire to G4 and the positive wire to H5 on the breadboard.
2)Place a 220 ohm resistor from F4 to D4 on the breadboard.
3) A jumper cable from A4 on the breadboard to GND on the Arduino to ground the parallel LEDs.
4)Place another 220 ohm resistor from E10 to F10 on the breadboard and then a jumper cable from A10 on the breadboard to GND on the Arduino
5) Take a red LED and put it the short leg in J10 and long leg in J11
6) Now you should take a Green wire and connect it in F11 in the breadboard and 9 in your Arduino.
How to Play
In order for the player to play the puzzle, they will need to click the code and scroll all the way down to the serial monitor read the question I have asked and answer it accordingly make sure you use capitalization and spaces to get it correct.