In this article I will share Arduino-based Star Wars project that you can make on a budget. This project is a laser shooting game that will suit you as a homemade product. This project consists of 2 sub projects: making the blaster from cardboard and building the target board. I use recording module to use for the blaster sound effect and all target boards have an photoresistors and servo motors.
1. Hardware and Materials Required9v Battery: https://amzn.to/366Kklr
Push Button: https://amzn.to/39ueCR5
Jumper Wires: https://amzn.to/37kTL0M
Male DC Barrel Jack Adapter for Arduino : https://amzn.to/35cDCcc
9v battery: https://amzn.to/2wPmnSP
Push Button: https://amzn.to/2I2lA3s
Jumper wires: https://amzn.to/398mQhq
Male DC Barrel Jack Adapter for Arduino : https://amzn.to/2VwyKxx
Micro Servo 9g : https://amzn.to/38bLtrY
9v Battery Clip Connector : https://amzn.to/32D4R0b
Cardboard : https://amzn.to/39ufbKH
Recording Module : https://amzn.to/2T746Jr
Red Dot Laser Pointer: https://amzn.to/39deipA
AA Batteries : https://amzn.to/37m9JHX
4 x 1.5 V AA Battery Holder: https://amzn.to/2MFXSwu
3 x 1.5 V AA Battery Holder : https://amzn.to/398ET6Y
LCD Module : https://amzn.to/2vqz8mA
Male Header Pins : https://amzn.to/2QB1f91
Natural Wood Craft Sticks : https://amzn.to/39rovPs
2. Making The BlasterThe Glie-44 was blaster pistol that was carried many Resistance members in Star Wars movie, including General Leia Organa and the pilot Poe Dameron. I made this blaster using image from google search. Print the image on paper, this will us to trace the main body and details onto cardboard. Cut out the image with scissors. Once done, trace it onto the cardboard.
I used recording module for the blaster sound effect. By pressing the record button on the module and play star wars blaster sound effect on my phone at the same time, I was able to load the sound the sound onto module. After that all electronics need to be assembled according to wiring diagram. Put the electronics into the blaster, when the momentary switch is pressed the gun shoots out a pulse of red LED light and a blaster sound is triggered.
3. Prepare The TargetsI used Palpatine image, and Red stormtroopers images as targets. I got images from google search and then printed the images on piece of paper. You can cut out the images and stick it on carboard by glue. Each target has photoresistor and each of them will need a hole that will allow sensor to be inserted. Targets will need servos to be attached to its side (glue will do just fine). I also added LCD display to display score and timer.
4. Progam The ArduinoIt's now time to program the arduino and test it out.
Download the code and transfer it over to the Arduino. Don’t forget to install LCD library and servo library.
5. Have FunTry pointing the blaster at photoresistor, shooting photoresistor triggers servo and target board falls flat. If you shoot Palpatine, you get 5 points. If you shoot Red Stormtroopers, you only get 1 point. You can change things in the arduino program as well. If you are still having issues, let me know in the comments and I might be able to help you. REMEMBER, DON’T POINT LASER IN ANYONE’ EYES!
Comments