I've been having a blast building Star Wars blasters. Adding the electronic sound and lights has not been as fun. There are options available but all of them are bit more complicated than what I have been looking for. Proffieboards are great but they are expensive and currently hard to find. FX Blaster OS is free but requires specific hardware and just won't run on any old Arduino board.
I wanted something that could be easily loaded on just about any Arduino board and with simple functionality. When I build a blaster I really just want it to fire (red kill) and blue (stun). Have lights and sound to go with each. As a splurge I may want a scope animation and a ammo count.
I really don't have the need to switch between multiple blaster profiles. Its kinda like the original Star Wars blaster toys I had when I was a kid. Simple lights and sounds. So thats what I made.
My setup is using an Arduino Nano Every. It uses an DFPlayer Mini for the sound generation. They are inexpensive and readily available. I use WS2812B strips for the lights and for the sound you can use just about any mini speaker you can find. The scope display is an OLED 64x32 and the ammo display is 128x32. You can use just about any of the cheap four pin OLED displays you find on Amazon or at a Micro Center.
Functionality is very simple. Power it on, you get a power up sound and the displays start. One button is for fire and the other switches from kill to stun. It starts with 50 shots that count down as you fire with a number count and a bar display. When you get to zero it play an empty sound. Press the mode button to reload and do it all again. Thats it. Simple.
Here's a video to demonstrate:
Here are some links to parts you can use. You don't have to use these. Again its very flexible:
Here is the code:
Share this post
- 0 comment
- Tags: arduino, blaster, disney, DIY, DL-44, E-11, electronics, han solo, lights, neopixel, sound, star wars