Arduino + Echolocation+ NeoPixel (RGB LEDs) for Escape Room

by AdrianH3 in Circuits > Arduino

150 Views, 1 Favorites, 0 Comments

Arduino + Echolocation+ NeoPixel (RGB LEDs) for Escape Room

The Ark.png

This is an Arduino Tutorial to create a device that will play a heavily sound as you get closer to the ark of the Covenant, This deceive go with a escape room I made to simulate an explorer going on a quest to find the ark.

Supplies

Bread Board

Ultrasonic Distance Sensor (echolocation)

LED (single color light)
Piezo (a type of buzzer that makes noise at different frequencies)

Arduino

8 jumper cables

Usb to connect ARDUINO to computer

Setting Up the Code

In order to get your device to work you need to download this code.

How to Build Your Circuit

Copy of Ultrasonic Sensor LED and Piezo.png

1. Insert your Ultrasonic Distance Sensor into the bread board. Connect Vcc in J1. Connect TRIG to J2. Connect ECHO to J3, Connect GND to J4.

2. Insert your Piezo into the bread board by placing the negative wire into A11 and the positive into A16

3. Insert your LED light in the bread board at J14 and J15.

4.Now we need to gather 8 jumper cables to connect the Arduino to the bread board.

5. Insert a cable into the GND port on your ARDUINO and into I14. Place the next cable into port 7 on the ARDUINO and G2 on the bread board. Insert the next cable into port ~6 on the ARDUINO and G4. Insert the next cable into port ~3 on the ARDUINO and B16 on the bread board. Insert the next cable into port 2 on the ARDUINO and G15 on the bread board. Insert the next cable into port 5v on the ARDUINO and G1 on the bread board. Insert the next cable into port GND on the ARDUINO and B11 on the bread board. Insert the next cable into port GND on the ARDUINO and G4 on the bread board.

6. Now your circuit is complete!