Amban sniper rifle electronics
Electronics for an Amban sniper rifle from the Mandalorian. This adds lighting and sound effects leveraging the blaster config from the Proffie sound board.
- Proffie 1.5 sound board (also will work with the Proffie 2.2 board) - available here or here
- Side NeoPixel strip for the forks - just one strip cut in half. You can get them from the manufacturer in China for about 1/3 the price if you are ordering in bulk
- Single NeoPixel for the center of the fork, or use this or even a bare pixel
- 28mm 4W speaker - common speaker used in saber installs
- 18650 Battery
- Battery holder - you could also put it into the cartridge slot where the round would go
- Power jack (recharge port) - or just use any power switch
- A Kill Key if you are using the recharge port. Inserting this turns off the power.
- 2 momentary switches. I used this and this in my setup.
- 22 gauge to 26 gauge PTFE wire, but just about any wire will do. PTFE insulation is small, and does not melt like PVC
- 330 ohm resistor (1/8 watt) for each of the 3 data lines going to the NeoPixels. Here's another source. If you are using a Proffie 2.2, then you'll only need 2 470 ohm resistors
The Proffie is an Arduino based board. You'll need to get your PC setup with the right tools. Instructions are here, and you can find information on the main Proffie discussion board.
- Proffie OS 3.9 or later
- SD card with all of the sound files. Download the ZIP file and copy them to the SD Card. Replace the file tracks\Mando9.wav with the background music of your choice. The file needs to be a 44,100 Hz WAV file
- Copy the Amban_config.h file to the config folder in the ProffieOS install. It is setup for a Proffie 1.5 by default, so if you are running Proffie 2.2 modify the top of the code to select the correct header file. It should look like this:
//#include "proffieboard_v1_config.h" // Proffie 1.5
#include "v3_config.h" // Proffie 2.2
- Double click the ProffieOS.ino file from the Proffie install (under the Arduino folder) to launch the project
- Comment out the default config file, and add the Ambian include file. It should look like this:
// #define CONFIG_FILE "config/default_proffieboard_config.h"
// #define CONFIG_FILE "config/default_v3_config.h"
// #define CONFIG_FILE "config/crossguard_config.h"
// #define CONFIG_FILE "config/graflex_v1_config.h"
// #define CONFIG_FILE "config/prop_shield_fastled_v1_config.h"
// #define CONFIG_FILE "config/owk_v2_config.h"
// #define CONFIG_FILE "config/test_bench_config.h"
// #define CONFIG_FILE "config/toy_saber_config.h"
// #define CONFIG_FILE "config/proffieboard_v1_test_bench_config.h"
// #define CONFIG_FILE "config/td_proffieboard_config.h"
#define CONFIG_FILE "config/Amban_config.h"
- Configure the number of LEDs for each strip (or "blade") at the bottom of Amban_config.h. In the example below, the center NeoPixel has 1 LED, and the two strips have 30 LEDs each. Edit the number immediately after WS2811BladePtr<
BladeConfig blades[] = {
{ 0,
WS2811BladePtr<1, WS2811_ACTUALLY_800kHz | WS2811_GRB>(),
WS2811BladePtr<30, WS2811_ACTUALLY_800kHz | WS2811_GRB, blade2Pin, PowerPINS<bladePowerPin4> >(),
WS2811BladePtr<30, WS2811_ACTUALLY_800kHz | WS2811_GRB, blade3Pin, PowerPINS<bladePowerPin5> >(),
CONFIGARRAY(presets) },
};
- Compile and download the code to the Proffie. Make sure you have the SD card setup and inserted into the Proffie board. You'll need the battery hooked up to play sounds even if it is connected to a PC through USB
This is a basic Proffie crossguard setup where the single NeoPixel is in the center, and the strips on the forks are on the sides. Pay attention to the direction of the arrows on the data pin of the NeoPixels. Data only goes in one direction.
This is a basic Proffie crossguard setup where the single NeoPixel is in the center, and the strips on the forks are on the sides. Pay attention to the direction of the arrows on the data pin of the NeoPixels. Data only goes in one direction.
- Proffie 1.5 page
- Proffie 2.2 page
- Proffie OS
- Proffie GitHub with instructions
- Here's a nice setup tutorial on getting started with a Proffie 2.2
- Proffie discussion board and a newbie thread
- ProffieOS Wiki