# Proffie EE3 Blaster

**URL:** <https://crucible.hubbe.net/t/proffie-ee3-blaster/73>\
**Category:** Props\
**Tags:** helpful\
**Created:** [March 11, 2021, 3:29pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73 "2021-03-11T15:29:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![MegtoothSith](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/megtoothsith/32/659_2.png) [@MegtoothSith](https://crucible.hubbe.net/u/MegtoothSith)\
**Post date:** [March 11, 2021, 3:29pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/1 "2021-03-11T15:29:29Z")

</div>

Wanted to save this for posterity, in case anything happens where this is posted elsewhere. This prop file for my EE3 Blaster was created for Beta Testing the Proffie Blaster functionality, and indeed wound up installed into a commission.

Here it is:

````auto

#include "proffieboard_v1_config.h"

#define NUM_BLADES 2

#define NUM_BUTTONS 2

#define VOLUME 2000

const unsigned int maxLedsPerStrip = 144;

#define CLASH_THRESHOLD_G 1.0

#define ENABLE_AUDIO

#define ENABLE_WS2811

#define ENABLE_SD

#define DELAYED_OFF

#define ENABLE_BLASTER_AUTO

#endif

#ifdef CONFIG_PROP

#include "../props/blaster.h"

#endif

#ifdef CONFIG_PRESETS

Preset presets[] = {

// Default basic blast color with red audio flicker on blast

{ "blstr1", "tracks/fates.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank1","tracks/credits.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank2","tracks/swars.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank3","tracks/fates.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank4","tracks/march.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank5","tracks/credits.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

{"bank6","tracks/swars.wav",

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

StylePtr<Lockup<BlastFadeout<BlastFadeout<Black,AudioFlicker<Black,Red>,250,EFFECT_FIRE>,AudioFlicker<Black,Blue>,1500,EFFECT_STUN>,AudioFlicker<Black,Red>>>(),

},

};

template<int milliohms = 1200>

struct CreeXPE2DRedTemplate {

static constexpr float MaxAmps = 1.0;

static constexpr float MaxVolts = 2.5;

static constexpr float P2Amps = 0.35;

static constexpr float P2Volts = 2.1;

static constexpr float R = milliohms / 1000.0;

static const int Red = 255;

static const int Green = 0;

static const int Blue = 0;

};

template<int milliohms = 1200>

struct CreeXPE2DRed2Template {

static constexpr float MaxAmps = 1.0;

static constexpr float MaxVolts = 2.5;

static constexpr float P2Amps = 0.35;

static constexpr float P2Volts = 2.1;

static constexpr float R = milliohms / 1000.0;

static const int Red = 0;

static const int Green = 255;

static const int Blue = 0;

};

template<int milliohms = 300>

struct CreeXPE2RBlueTemplate {

static constexpr float MaxAmps = 1.0;

static constexpr float MaxVolts = 3.4;

static constexpr float P2Amps = 0.35;

static constexpr float P2Volts = 3.1;

static constexpr float R = milliohms / 1000.0;

static const int Red = 0;

static const int Green = 0;

static const int Blue = 255;

};

BladeConfig blades[] = {

{ 0, SimpleBladePtr<CreeXPE2DRedTemplate<1200>, CreeXPE2DRed2Template<1200>,CreeXPE2BlueTemplate<300>, NoLED>(),

WS2811BladePtr<14, WS2811_800kHz | WS2811_GRB, blade2Pin, PowerPINS<bladePowerPin6>>(),

CONFIGARRAY(presets) },

};

#endif

#ifdef CONFIG_BUTTONS

Button FireButton(BUTTON_FIRE, powerButtonPin, "fire");

Button ModeButton(BUTTON_MODE_SELECT, auxPin, "modeselect");

#endif ```
````

---

<div class="post-metadata">

**Author:** ![MegtoothSith](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/megtoothsith/32/659_2.png) [@MegtoothSith](https://crucible.hubbe.net/u/MegtoothSith)\
**Post date:** [March 11, 2021, 3:32pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/2 "2021-03-11T15:32:25Z")

</div>

Here it is in action:

[Proffie Blaster Demo](https://youtu.be/77rMjuPA9pU)

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [March 11, 2021, 6:33pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/3 "2021-03-11T18:33:53Z")

</div>

Gold! Thanks for sharing. I have an F11-D in the to-do pile, and between you and Mountain Sabers, I might be picking some brains at some point.

---

<div class="post-metadata">

**Author:** ![MountainSabers](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/mountainsabers/32/1062_2.png) [@MountainSabers](https://crucible.hubbe.net/u/MountainSabers)\
**Post date:** [March 11, 2021, 7:56pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/4 "2021-03-11T19:56:26Z")

</div>

Yup. I still want to know why i can’t use V2 at the top and the blaster prop file. all I get is power on and off. I’ve tried different things without success. I’m using all neo pixel.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [March 11, 2021, 8:09pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/5 "2021-03-11T20:09:52Z")

</div>

Post your config file (in a new topic) and we’ll take a look.  
That is what this forum is for after all. 🙂

---

<div class="post-metadata">

**Author:** ![JustMattB](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/justmattb/32/37_2.png) [@JustMattB](https://crucible.hubbe.net/u/JustMattB)\
**Post date:** [March 11, 2021, 8:15pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/6 "2021-03-11T20:15:58Z")

</div>

Gonna entice Syn to join so he can share his blaster stuff. That reload loop is definitely an interesting scenario.

---

<div class="post-metadata">

**Author:** ![MegtoothSith](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/megtoothsith/32/659_2.png) [@MegtoothSith](https://crucible.hubbe.net/u/MegtoothSith)\
**Post date:** [March 11, 2021, 11:59pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/7 "2021-03-11T23:59:15Z")

</div>

MountainSabers, I’ll post my V2 config that was installed, its at home. This does work in Proffie 2.2. My primary LED was a tri cree (Red, Red, Blue), and the neopixels were for propogating the shot in the barrel.

---

<div class="post-metadata">

**Author:** ![MountainSabers](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/mountainsabers/32/1062_2.png) [@MountainSabers](https://crucible.hubbe.net/u/MountainSabers)\
**Post date:** [March 12, 2021, 1:57am UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/8 "2021-03-12T01:57:04Z")

</div>

That would be awesome MegtoothSith. I’m using all neo pixels. I’m still scratching my head on this one. It’s all working with regular blade styles but I feel I’m missing out on some true functions.

---

<div class="post-metadata">

**Author:** ![MegtoothSith](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/megtoothsith/32/659_2.png) [@MegtoothSith](https://crucible.hubbe.net/u/MegtoothSith)\
**Post date:** [March 12, 2021, 2:28am UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/9 "2021-03-12T02:28:31Z")

</div>

#ifdef CONFIG\_TOP  
#include “proffieboard\_v2\_config.h”  
#define NUM\_BLADES 2  
#define NUM\_BUTTONS 2  
#define VOLUME 2000  
const unsigned int maxLedsPerStrip = 144;  
#define CLASH\_THRESHOLD\_G 1.0  
#define ENABLE\_AUDIO  
#define ENABLE\_WS2811  
#define ENABLE\_SD  
#define DELAYED\_OFF  
#define ENABLE\_BLASTER\_AUTO  
#endif

#ifdef CONFIG\_PROP  
#include “…/props/blaster.h”  
#endif

#ifdef CONFIG\_PRESETS  
Preset presets[] = {  
// Default basic blast color with red audio flicker on blast  
{ “blstr1”, “tracks/fates.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank1”,“tracks/tracks/credits.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank2”,“tracks/tracks/swars.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank3”,“tracks/tracks/fates.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank4”,“tracks/tracks/march.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank5”,“tracks/tracks/credits.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

{“bank6”,“tracks/tracks/swars.wav”,  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
StylePtr\<BlastFadeout\<Black,AudioFlicker\<Black,Red\>,375\>\>(),  
},

};  
template  
struct CreeXPE2DRedTemplate {  
static constexpr float MaxAmps = 1.0;  
static constexpr float MaxVolts = 2.5;  
static constexpr float P2Amps = 0.35;  
static constexpr float P2Volts = 2.1;  
static constexpr float R = milliohms / 1000.0;  
static const int Red = 255;  
static const int Green = 0;  
static const int Blue = 0;  
};  
template  
struct CreeXPE2DRed2Template {  
static constexpr float MaxAmps = 1.0;  
static constexpr float MaxVolts = 2.5;  
static constexpr float P2Amps = 0.35;  
static constexpr float P2Volts = 2.1;  
static constexpr float R = milliohms / 1000.0;  
static const int Red = 0;  
static const int Green = 255;  
static const int Blue = 0;  
};  
template  
struct CreeXPE2RBlueTemplate {  
static constexpr float MaxAmps = 1.0;  
static constexpr float MaxVolts = 3.4;  
static constexpr float P2Amps = 0.35;  
static constexpr float P2Volts = 3.1;  
static constexpr float R = milliohms / 1000.0;  
static const int Red = 0;  
static const int Green = 0;  
static const int Blue = 255;  
};

BladeConfig blades[] = {  
{ 0, SimpleBladePtr\<CreeXPE2DRedTemplate\<1200\>, CreeXPE2DRed2Template\<1200\>,CreeXPE2BlueTemplate\<300\>, NoLED\>(),  
WS2811BladePtr\<14, WS2811\_800kHz | WS2811\_GRB, blade2Pin, PowerPINS\>(),  
CONFIGARRAY(presets) },  
};

#endif

#ifdef CONFIG\_BUTTONS  
Button PowerButton(BUTTON\_POWER, powerButtonPin, “pow”);  
Button AuxButton(BUTTON\_AUX, auxPin, “aux”);  
#endif

---

<div class="post-metadata">

**Author:** ![Synplicity](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/synplicity/32/1170_2.png) [@Synplicity](https://crucible.hubbe.net/u/Synplicity)\
**Post date:** [March 12, 2021, 3:24am UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/10 "2021-03-12T03:24:55Z")

</div>

Can confirm that V2 does work. Was working with NoSloppy on trying to figure out some of the blade styles to work with the particular lighting. Need to figure out how to get the mag to stay off on empty until reload is triggered instead of on a timer. Just using some 3mm LED’s to get single color flashes.  
Config I’m working with.

#ifdef CONFIG\_TOP  
#include “proffieboard\_v2\_config.h”  
#define NUM\_BLADES 2  
#define NUM\_BUTTONS 2  
#define VOLUME 1000  
const unsigned int maxLedsPerStrip = 144;  
#define CLASH\_THRESHOLD\_G 1.0  
#define ENABLE\_AUDIO  
#define ENABLE\_MOTION  
#define ENABLE\_WS2811  
#define ENABLE\_SD  
#define ENABLE\_BLASTER\_AUTO  
#define BLASTER\_SHOTS\_UNTIL\_EMPTY 30

#endif

#ifdef CONFIG\_PROP  
#include “…/props/blaster.h”  
#endif

#ifdef CONFIG\_PRESETS  
Preset presets[] = {  
//1st style-barrel,2nd style-magazine

// Default basic blast color with blue audio flicker on blast  
{“bank5”,“tracks/track1.wav”,  
StylePtr  
\<Lockup  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Black,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
AudioFlicker\<Black,Blue\>,2000,EFFECT\_STUN\>,  
AudioFlicker\<Black,Blue\>\>\>(),

StylePtr  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Blue,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
Black,6000, EFFECT\_EMPTY\>\>()  
,

},

{“bank1”,“tracks/track1.wav”,  
StylePtr  
\<Lockup  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Black,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
AudioFlicker\<Black,Blue\>,2000,EFFECT\_STUN\>,  
AudioFlicker\<Black,Blue\>\>\>(),

StylePtr  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Blue,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
Black,6000, EFFECT\_EMPTY\>\>(),

},

{“Maliwan”,“tracks/track2.wav”,  
StylePtr  
\<Lockup  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Black,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_STUN\>,  
AudioFlicker\<Black,Blue\>\>\>(),

StylePtr  
\<SimpleClash  
\<BlastFadeout  
\<BlastFadeout\<Blue,AudioFlicker\<Black,Blue\>,250,EFFECT\_FIRE\>,  
AudioFlicker\<Black,Blue\>,1500,EFFECT\_RELOAD\>,  
Black,6000, EFFECT\_EMPTY\>\>(),

},

};

template  
struct BlueTemplate {  
static constexpr float MaxAmps = 0.1;  
static constexpr float MaxVolts = 3.3;  
static constexpr float P2Amps = 0.08;  
static constexpr float P2Volts = 3.0;  
static constexpr float R = milliohms / 1000.0;  
static const int Red = 0;  
static const int Green = 0;  
static const int Blue = 255;

};

BladeConfig blades[] = {  
{ 0, SimpleBladePtr\<BlueTemplate\<5000\>, NoLED, NoLED, NoLED, bladePowerPin2, -1\>(),  
SimpleBladePtr\<BlueTemplate\<5000\>, NoLED, NoLED, NoLED, bladePowerPin3, -1\>()  
, CONFIGARRAY(presets)  
},  
};

#endif

#ifdef CONFIG\_BUTTONS  
Button FireButton(BUTTON\_FIRE, powerButtonPin, “fire”);  
Button ModeButton(BUTTON\_MODE\_SELECT, auxPin, “modeselect”);  
#endif

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [March 12, 2021, 4:30am UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/12 "2021-03-12T04:30:10Z")

</div>

You might want to start by changing your buttons into fire buttons and mode switch buttons instead of power/aux buttons.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [March 12, 2021, 4:40am UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/14 "2021-03-12T04:40:23Z")

</div>

If you want to know why, post the error codes you’re getting.  
However, we should start new threads (topics) for new problems instead of appending to other, but slightly similar problems.

---

<div class="post-metadata">

**Author:** ![savall21](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/savall21/32/306_2.png) [@savall21](https://crucible.hubbe.net/u/savall21)\
**Post date:** [March 23, 2021, 3:24pm UTC](https://crucible.hubbe.net/t/proffie-ee3-blaster/73/16 "2021-03-23T15:24:29Z")

</div>

I’m trying use this config but I’m getting no sounds when I trigger blast. I have the BlasterCore v5 sound font directories copied to my SD Card. I didn’t make any changes. I know the speaker and board are working because I can trigger beep. Is there something in particular I need to do with the fonts or are those just the wrong fonts?
