Jingle Bells: Holiday Theme Escape Room

by joeydelgado77 in Circuits > Arduino

378 Views, 3 Favorites, 0 Comments

Jingle Bells: Holiday Theme Escape Room

Jingle Bells, Jingle Bells, Jingle all the way.jpg

In this Holiday themed escape room, you will follow specific code ciphers to assemble an Arduino Uno. Upon completion, you will press a pushbutton on the bread board that will make a red and green LED light up, and play a snippet of the Christmas themed song, Jingle Bells.

Supplies

Supplies

  • 1- Arduino Uno
  • 1- USB cable
  • 1- mini breadboard
  • 1- pushbutton
  • 1- piezo
  • 2- RGB LED
  • 3- 1k ohm resistors
  • 10- jumper cables

Step 1: Arduino Code

jingleballs.png

For this project, you will use the attached code, which following assembly of the bread board will light up a red and green LED, and play a part of the renown Christmas themed song, Jingle Bells.

In order to create this code, you must convert the values of the Jingle Bell's sheet music to melody and tone through a complicated process. You must determine the placement and shape of the notes then using a note table you can equates each frequency to a specific musical note type.

In order to make the LED's light up, you must assemble components of the breadboard and connect it to the Arduino and a power source. The frequency displayed in code will determine the color of the LED.

How to Play

Jinglebells.png

In order for the player to complete this puzzle you must simply follow the hardware setup to assemble the components on the bread board.

But wait... There's a little bit more to it.

You must follow a monoalphabetic cypher to determine the letters on the breadboard within the hardware setup

The cipher goes like this, 0 = A , 1 = B , 2 = C, 3 = D, and etcetera.

For example, in the first step you must connect the top of the push button to E-3, and F-3 so in the steps, it will tell you to connect the top of the bread board to 4-3, and 5-3

Hardware Setup + Puzzle

  1. Connect a pushbutton to 4 3-5 and 5 3-5 on the breadboard. (Don't forget the cipher).
  2. Using a wire connect 3 5 on the breadboard to 12 on the Arduino to provide the function of the pushbutton.
  3. Connect a 1k ohm resistor from 3 1 to 5 1 and use a wire to connect 8 3 to 5V on the Arduino to provide power to the LED
  4. Connect the red LED to 9 1-2 on the breadboard and the green 9 16-17.
  5. Connect a piezo to 3 9 (positive) and 4 12 (negative).
  6. Using a wire connect 0 9 to GND to ground the piezo.
  7. Use a wire to connect 0 1 to GND to ground the LED's.
  8. Connect a 1k ohm resistor from 3 1 to 5 1 and use a wire to connect 8 3 to 5V on the Arduino to provide power to the pushbutton
  9. Connect 5 2 on the breadboard to 13 on the Arduino to provide signal to the LED.
  10. Connect a 1k ohm resistor from 2 5-9 on the breadboard to provide power to the pushbutton and piezo.
  11. Connect the green LED to 9 16-17 on the breadboard
  12. Connect a 1k ohm resistor from 3 16 to 5 16 on the breadboard and a wire from 5 17 on the breadboard to 2 on the Arduino to provide signal to the LED.
  13. Connect a wire from 0 12 on the breadboard to 9 on the Arduino to provide power to the Piezo.
  14. Connect a wire from 1 9-16 on the breadboard.