Laser Shooting Game

by Aitana in Circuits > Arduino

544 Views, 1 Favorites, 0 Comments

Laser Shooting Game

Laser Shooting Game

This project was created by Cayetano Biehler Pollaci, Aitana Díaz Lagares, and Francisco Javier Ruíz Herrera, students of 'Creative Electronics', a Beng Electronics Engineering module at the University of Málaga, School of Telecommunications." 

This laser game is a simple project that utilizes an ESP32. All target boards have an ESP32, sensors, and servo control ports. Shooting the target center triggers the servo and the board falls flat.

Supplies

WhatsApp Image 2023-01-22 at 18.19.47.jpeg
WhatsApp Image 2023-01-22 at 18.20.01.jpeg

Bill of material:

Laser gun components:

- 1 ESP-32

- 1 3D printed gun (STL attached)

- 1 LCD screen

- 1 LED Laser

- 1 Whisker (as trigger)


Target components:

- 1 ESP-32

- 1 Servo-motor (Standard rotation)

- 1 photo-resistor

Prepare the Target Board

WhatsApp Image 2023-01-22 at 17.43.51.jpeg

Cut out the and stick it on the CD by glue

The diameter of the CD is 120 mm and the inner diameter is 15 mm.

Soldering the Target Components

WhatsApp Image 2023-01-22 at 17.45.45.jpeg

We have welded the design we have attached above on a 5cmx7cm welding plate.

Please reserved some space between the servo and the welding plate. As the servo chassis may collide with the welding plate during servo arm moment.

Tidy Up the Cable

PHOTO-2022-12-22-20-51-15 2.jpg

Shorten the servo cable or tide the cable with string.

Please reserved some cable length for servo movement.

Assembling the Laser Gun

WhatsApp Image 2023-01-22 at 17.50.24.jpeg

1. We design our gun using the SolidWorks program.

2. We print the design using a 3D printer.

3. We add the LC screen in the corresponding hole.

4. We add inside the gun the ESP32 and with the circuit previously presented soldered on a soldering board.


Final Step: Code Available

WhatsApp Image 2023-01-22 at 18.00.23.jpeg

You can find the code to implement the project availble in this github repo:

https://github.com/iamcaye/diana-laser