Laser Game

2,842

38

2

Introduction: Laser Game

About: My name is Wojciech and I am 19 years old student of electronic high school. I am passionate about electronics as well as recording and editing movies. I follow the rule: "Do not delay, do it today".

"Star Trek", "The Terminator", "Star Wars" or "The Avengers" - in each of these films technology was on a cosmic (literally) level. The heroes used laser weapons, which always fascinated me. I decided to build a laser gun, but I would not use it to kill people or aliens, but to compete with my friends a little. As I decided I did. Now I will show you how to make it.

Step 1: Desinging

I started by designing the gun in Fusion 360. I divided it into two parts, which can be screwed together with three screws. In the bottom part, I made space for PCB, holes for USB socket, reload button, laser, buzzer and cables. I made a case for Laser Shield, added some corrections and the files were ready to print.

Step 2: Electronics

The electronic part of this project is very simple. It consists of: battery charging module, microcontroller module, programming module, laser, two buttons and buzzer. At the buzzer signal input I placed pads that you do not need to solder if you do not want the buzzer, it will save some battery. It was easier with the Shield because I used ready-made modules to make it. Then I sorted all the elements on the boards and exported them as Gerber files.

Step 3: PCB Ordering

I went to PCBWay.com and clicked "Quote Now" and then "Quick Order PCB" and "Online Gerber Viewer", where I uploaded files for my board, so I could see what it would look like. I went back to the previous tab and clicked "Upload Gerber File", I chose my file and all parameters were loading themselves, I changed only the soldermask colour to blue and black. Then I clicked "Save To Card", provided shipping details and paid for the order. After two days the tile was sent, and after another two days, it was already on my desk.

Step 4: Folding

I put solder paste on each soldering pad and put all the elements for soldering with hot-air on it. I installed the largest diameter nozzle, set the temperature to 300 degrees and the airflow to almost the smallest. Using a regular soldering iron, I corrected imperfections and soldered the rest of the elements. Finally, I cleaned the board with isopropyl alcohol and a toothbrush.

On the board from Laser Shield I started by soldering goldpin from Arduino Nano, then button, charging module, photoresistors and other small elements. I will leave soldering the led strip and display for later. I put all the components in the right places and glued the reload button and laser. In the upper part of the shield housing, I placed an element that will allow access to the button. I haven't screwed the housings together yet, because I have to program the boards first.

Step 5: Programming and Rules of the Game

The program responsible for working of the game works as follows:

You press the trigger button and the laser turns on for 100 milliseconds. You can repeat the shot 7 times and you need to press the reload button, which lasts two and a half seconds. To start a new game you must press the button on the Shield. After pressing, you have ten seconds to settle in and get ready. When the countdown ends, a random LED will light up every second -left, middle or right. If the left is displayed, for a shot at two photoresistors on the left you get 30 points, in the middle two 10 points, and in the right two 5 points. A similar situation occurs if the diode in the centre or on the left lights up. You have a minute to collect as many points as you can. They are displayed during the game and 3 seconds after its end. You can also restart the game by pressing the button during the game.

Now I could screw together two parts of the housing for the shield and the gun and solder the display and led strip to the Shield board.

Step 6: Summary

The rules of the game are clear, you can adapt them to your needs or add additional functions.

REMEMBER ABOUT YOUR SAFETY AND PEOPLE NEAR YOU! NEVER POINT IN THE EYES!

I will definitely make another version of this project, improve the gun model and significantly increase the shield. You can also put little converted sensors on your clothes and play a shooter with your friends in real life, not in front of the computer! Next project - battery soldering iron!

If you have any questions, write to me:

My Youtube: YouTube

My Facebook: Facebook

My Instagram: Instagram

Order your own PCB: PCBWay

Toys and Games Challenge

Participated in the
Toys and Games Challenge

Be the First to Share

    Recommendations

    • Make it Real Student Design Challenge #3

      Make it Real Student Design Challenge #3
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Arduino Contest

      Arduino Contest

    2 Comments

    0
    Alexisgm97
    Alexisgm97

    10 months ago

    Hello! I really like your project and I would like to do something different. So instead of using this dangerous red laser, I will use infrared emiters and receivers as they are invisible to the human eye. Would this be possible? Thanks!!

    1
    themelispan
    themelispan

    12 months ago

    It's an incredible and inspirational project to play when you're bored. The good thing is that you can play single player or multiplayer if you want. Thank you for making this😀😀😀