But before we make the cardboard case for your laser gun, we need to make it more versatile. Take some pictures of your breadboard and Arduino with all of the components that you can use those as references (you'll still have diagrams to use). Once you take the pictures, remove everything from the breadboard and Arduino. We're going to connect all of the components directly to the Arduino, without the breadboard.
Take some male to female wires and connect them to three pins on your LED. Connect one to the long pin (GND), and the other two to the other pins. Use some tape(electrical tape if you have it) to secure the wires to the LED.
One you have the LED on the Arduino, add the buzzer. Connect the pin on the buzzer that has the + to pin 10, and connect the other pin on the buzzer to GND. Make sure to secure the wires with tape.
You might notice that there is only one more available GND. To fix this without a breadboard, we're going to strip the wires. Grab some scissors and four male to female wires. Make sure to be careful with a sharp object. Adult supervisionrecommended.
Use the tutorial below to strip all four of the wires. Strip the male side off of three of the wires, and strip the female side off of one. If you mess up, just use another one. But be careful so that you don't run out.
Once you strip the wires, twist the exposed copper wires together and secure it with tape. Now we have enough GNDs for the rest of the components.
Now, connect all of the remaining components (laser emitter, receiver and button) to the end of the female wires. Connect the male wire to GND.
Now, use your reference images or the previous tutorials to connect the remaining components to the Arduino.
Now, secure everything with tape so it doesn't come loose, even on the Arduino.
Now, attach the battery adapter to the 9V battery and into the port on the Arduino. This will allow you to use the module without it being plugged into a computer. Make sure you unplug the battery when you're done.
If you have questions or problems, try to troubleshoot using the instructions or contact us.
Now it's time to make the case. It's up to you to decide what it should look like, but keep these fundamentals in mind:
You should be able to easily press the button
The laser emitter should be in an easy place to shoot from
The laser reciever should be visible so an opponent can shoot it
The design should be easy to disassemble in case it breaks
The LED should be visible
It should be made of a malleable and easy to get material like cardboard
The battery should be easily accessible
You design can look like this /\ or this \/ or you can make your own!
Once you finish your design, put your LazrKit module inside. You now have a functioning LazrKit!
Hello! I put lots of work into LazrKits, and I'm so glad that you're interested! I hope this helped you learn about coding, electronics and STEM! Keep creating!!