Simple Blaster OS
Posted by Chris Carpenter on
7/115/2023 Update - Revised connection diagram and code
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:
Fritzing Diagram:
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
- 2 comments
- Tags: arduino, blaster, disney, DIY, DL-44, E-11, electronics, han solo, lights, neopixel, sound, star wars
Hi there
Any hint where to get the needed Sound files?
Hi! This is awesome. A couple of questions, if I may:
1. Any chance the project was shared on Fritzing’s website? I’ve searched but can’t find it, so I assume not, but it never hurts to ask.
2. Does the power source have to be 9 volts? I’ve got some rechargable 3.3v batteries I’d like to use, but I’m not sure it’ll power the system. It would with some other boards I’ve got, but I’m having a hell of a time figuring out how to adapt to those boards, and besides, the Nano Every is smaller.