# Jet Pack Idea

**URL:** <https://crucible.hubbe.net/t/jet-pack-idea/5624>\
**Category:** Props\
**Created:** [August 1, 2024, 1:46pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624 "2024-08-01T13:46:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 1, 2024, 1:46pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/1 "2024-08-01T13:46:26Z")

</div>

I saw the below video on youtube and wondered if I could do some similar but using the Teensyboard and Audio shield.

[https://www.youtube.com/watch?v=CJZf39brNBo](https://www.youtube.com/watch?v=CJZf39brNBo)

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 2, 2024, 7:54am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/2 "2024-08-02T07:54:25Z")

</div>

Doing some research the setup is fairly simple.  
A single trigger that activates the sound file and then plays a ‘flame effect’ light cycle on the LED rings.  
Currently this is either using a breadboard or a custom PCB for the Arduino & DFPlayer.  
The Teendsboard with Audioshield seems like a perfect option to replicate this.

Just wondering if Proffie can accomodate the code side of things.

Potentially could add a smoke machine later on into it…

---

<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:** [August 2, 2024, 1:48pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/3 "2024-08-02T13:48:12Z")

</div>

A proffieboard can do all of this.  
A teensy + audio shield + amplifier would also work.

A simple prop file could be coded up to make it behave the right way. It’s not particularly difficult, and I could help if needed.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 2, 2024, 2:10pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/4 "2024-08-02T14:10:20Z")

</div>

Ideally I’d like to use the tennsy route. Just from an ease of availability really.  
For that we would need an amplifier in addition?

I’d really appreciate any help you could offer with the coding!

---

<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:** [August 2, 2024, 2:13pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/5 "2024-08-02T14:13:19Z")

</div>

There are several audio-out solutions for the teensy, but the standard ‘audio shield’ provides un-amplified audio-out, so you would want something like a battery-powered speaker to provide some power.

ProffieOS can use the sound shield, if you want to run ProffieOS on it.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 2, 2024, 2:17pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/6 "2024-08-02T14:17:46Z")

</div>

Ah ok, I’m using the teensy & audio shield for a sound glove setup so am familiar with the hardware and installing ProffieOS onto it.  
It’s why i thought this would be the perfect solution over the Arduino/DFPlayer.  
I use a powered speaker with that setup.

I have a few ideas for this setup, but would be good to get a proof of concept going to trigger the audio and the flame effect lights from a single button.

---

<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:** [August 2, 2024, 5:30pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/7 "2024-08-02T17:30:17Z")

</div>

The simplest test would be to just use the saber prop, but configure the button as a latching button. (Even though it isn’t a latching button.) Doing this will make the saber turn on when you press the button and turn off when you release it. From there on it’s just a matter of setting up the sounds accordingly.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 4, 2024, 9:14am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/8 "2024-08-04T09:14:15Z")

</div>

Ok. This is great thankyou. I’m ordering parts now so can move forward with a test.  
If I were to try a normal speaker and then needing some kind of amp setup is there something you could recommend?

---

<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:** [August 4, 2024, 12:00pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/9 "2024-08-04T12:00:57Z")

</div>

> [@Steve77](#):
>
> If I were to try a normal speaker and then needing some kind of amp setup is there something you could recommend?

I like these to drive saber-sized speakers. never tried on anything larger than 28mm though.  
[https://a.co/d/0XZO70q](https://a.co/d/0XZO70q)

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 5, 2024, 8:26am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/10 "2024-08-05T08:26:22Z")

</div>

I wonder whether a Teensy 3.1 & Prop Shield would be a better combination to then use a standard style speaker. (To save some weight for one thing).  
Would this be a viable option and still run ProffieOS on it?

---

<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:** [August 5, 2024, 8:36am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/11 "2024-08-05T08:36:11Z")

</div>

Yep, that should still work.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 5, 2024, 9:12am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/12 "2024-08-05T09:12:32Z")

</div>

Ok cool, I’ll think I’ll try it with the Audio Shield first as I have them already.  
But I may well go down the Proffieboard to make things easier in the long run…

Could you point me in the right direction on what I need to change on the saber prop for the ‘latch’ button.

Also I assume the sound file needs to be a specific name etc?

Sorry I’m only just familiar with using the micom profile so this is jumping in the deep end for me. haha

---

<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:** [August 5, 2024, 9:41am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/13 "2024-08-05T09:41:58Z")

</div>

> [@Steve77](#):
>
> Could you point me in the right direction on what I need to change on the saber prop for the ‘latch’ button.

You don’t need to change anything in the prop, at least not to start with.  
All you need to do is to change this in your config file:

```cpp
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");

```

to:

```cpp
LatchingButton PowerButton(BUTTON_POWER, powerButtonPin, "pow");

```

> [@Steve77](#):
>
> Also I assume the sound file needs to be a specific name etc?

This page should have what you need:

> **[Sound Font Configuration](https://pod.hubbe.net/sound/sound-font-configuration.html)**
>
> Documentation for ProffieOS

Most important sounds are going to be `in`, `out` and `hum`. (Or, you can use poweron/poweroff instead of out/in if you prefer a gapless playback kind of thing…)

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 5, 2024, 2:21pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/14 "2024-08-05T14:21:17Z")

</div>

Sorry, is there a ‘standard’ saber config file for using with Teensy Audio Shield?  
I’m looking but there are so many…

---

<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:** [August 5, 2024, 3:56pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/15 "2024-08-05T15:56:44Z")

</div>

Start with this one:

> <https://github.com/profezzorn/ProffieOS/blob/6b0e4102bca092715e6834a16e9e08e07ab94b34/config/graflex_v1_config.h>

The audio shield is “V1” hardware.  
Note that this file assumes you have an SD card reader as well, if you do not you need to remove ENABLE\_SD and store all the files on the serial flash.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 5, 2024, 4:33pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/16 "2024-08-05T16:33:13Z")

</div>

Perfect, thankyou.  
Ok so I change the button config in this file to be a latch.  
I see this then references the v1\_config.h file and the power button pin is pin 16.

So the latch button goes to ground & 16.  
As I’ll be using the audio shield It has the SD Card reader with it so thats easy enough.

So for the light rings I am using, the data in would go to a bladePowerpin?

I think for starters I’ll just use the ‘hum’ sound to prove it works.  
Do I need to define some configuration for the LED’s or will this config file just fire them up anyway?

---

<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:** [August 5, 2024, 9:33pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/17 "2024-08-05T21:33:24Z")

</div>

> [@Steve77](#):
>
> So for the light rings I am using, the data in would go to a bladePowerpin?

No, bladePowerPin is meant to an (optional) FET that controls the power to the neopixels.

The neopixel data will come from bladePin (20).

The graflex\_v1\_config.h gets all of it’s styles and presets from the “common\_config.h” file. They are all ancient, but they should work for testing.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 5, 2024, 9:46pm UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/18 "2024-08-05T21:46:37Z")

</div>

Ok got it.  
Thanks again. I’ll go away and have a play.

---

<div class="post-metadata">

**Author:** ![Steve77](https://crucible.hubbe.net/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@Steve77](https://crucible.hubbe.net/u/Steve77)\
**Post date:** [August 15, 2024, 7:46am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/19 "2024-08-15T07:46:03Z")

</div>

Just wanted to confirm something in the common\_presets.h file.

I see the long list of presets. To utilise one of these I create a folder on the SD card that matches?

EG:

```auto
Preset presets[] = {
  { "hero", "tracks/duel.wav", StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan" },

```

I create a folder called hero with a track called duel.wav in it?

---

<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:** [August 15, 2024, 9:18am UTC](https://crucible.hubbe.net/t/jet-pack-idea/5624/20 "2024-08-15T09:18:20Z")

</div>

> [@Steve77](#):
>
> I create a folder called hero with a track called duel.wav in it?

Close.  
A folder called `hero` with a sound font in it, and a directory called `tracks` with `dual.wav` in it.  
(Neither `tracks`, nor `dual.wav` lives in the font folder with this setup.)

In general, it’s probably easier to change the config file and re-upload than to match the folders that are already in the config file.

“common\_presets.h” is very old, and contains the setup that I used for some of my older sabers. It’s in a separate file, because I shared the same config between multiple sabers.

[Next page](https://crucible.hubbe.net/t/jet-pack-idea/5624.md?page=2)
