Skip to content
/ Amban Public

Electronics for an Amban sniper rifle from the Mandalorian

Notifications You must be signed in to change notification settings

Breazile/Amban

Repository files navigation

Amban sniper rifle electronics

Image Image

Electronics for an Amban sniper rifle from the Mandalorian. This adds lighting and sound effects leveraging the blaster config from the Proffie sound board.

What I used for this setup:

  1. Proffie 1.5 sound board (also will work with the Proffie 2.2 board) - available here or here
  2. 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
  3. Single NeoPixel for the center of the fork, or use this or even a bare pixel
  4. 28mm 4W speaker - common speaker used in saber installs
  5. 18650 Battery
  6. Battery holder - you could also put it into the cartridge slot where the round would go
  7. Power jack (recharge port) - or just use any power switch
  8. A Kill Key if you are using the recharge port. Inserting this turns off the power.
  9. 2 momentary switches. I used this and this in my setup.
  10. 22 gauge to 26 gauge PTFE wire, but just about any wire will do. PTFE insulation is small, and does not melt like PVC
  11. 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

Proffie Setup

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.

  1. Proffie OS 3.9 or later
  2. 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
  3. 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
  1. Double click the ProffieOS.ino file from the Proffie install (under the Arduino folder) to launch the project
  2. 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"
  1. 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) },
};
  1. 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

Proffie 1.5 Wiring

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.

Image

Proffie 2.2 Wiring

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.

Image

Proffie Resources

About

Electronics for an Amban sniper rifle from the Mandalorian

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages