Introduction: Pumpkin NotiFire

The pumpkin NotiFire is a delicious but questionable combination of a Glade aerosol air freshener, fire and text messages. We hacked a Glade air freshener and combined it with our Bean+ to make a pumpkin spit fire based on iOS notifications.

The Bean+ is connected to the phone over Bluetooth Low Energy using ANCS (Apple Notification Center Service) to receive the phones notifications. The Bean+ sketch filters through the notifications and triggers the air freshener on any new text message. ANCS can be used to trigger on any notification, have fire shoot every time your favorite team scores using the ESPN app or really light your fire when you get a Tinder match. Let's start by saying, this is just a horrible idea. One of those horrible ideas that is just so good you can't resist making it. While building this, Mike singed his eye brows, burned his hand and even inhaled flaming hair spray. The upside is your home will have an overwhelming smell of fresh burning linen.

Now that we have warned you of the dangers, let's start creating this fire-breathing Halloween contraption!

Step 1: Before You Begin

Things you will need to spray some fire.

Software

Hardware

  • LightBlue Bean+
  • iOS device
  • Glade Automatic Spray Air Freshener
  • Tea Candles
  • Large Pumpkin & various carving tools

Step 2: Hack the Glade

The air freshener is controlled through it's one-shot button located on the back of the unit. Normally the air freshener is operated on a timer but glade added a manual button for those especially dank moments. The button is a micro-switch that connects an active low signal to ground in order to activate the unit. The signal from the air freshener is connected to D0 on the Bean+ and is used to trigger the spray.

We removed the batteries that came with the air freshener and opted to power the whole device from the Bean+'s 3.3V regulator. This allows the Pumpkin NotiFire to be re-charged and more importantly there is one power switch. It is really important when you are working with things that breath fire ;)

Glue or place the candle as close to the Glade nozzle as possible. Protip: Make sure the flame isn't in the path of the stream, otherwise it puts out the candle every time.

Step 3: Carve Your Pumpkin

It is essential that your pumpkin looks amazing otherwise the Halloween gods may punish you with a proper burning (I lost my knuckle hair for my sins). This means making sure you line up the nozzle on the Glade Air Freshener with the mouth of your pumpkin.

Steps:

  1. Get everything together to gut this pumpkin!
  2. Safely use a large knife to remove the top.
  3. Use hands to cleanly remove insides.
  4. Safely hold pumpkin in one hand while using sharp knife to stab eyes out.
  5. Admire your creation. It is time to turn this pumpkin into a fire breathing dragon.

Step 4: Program Your Bean

Learn how to program the Bean+ wirelessly at https://punchthrough.com/bean/guides/getting-started/intro/

#define FIRE    0

AncsNotification notifications[8];

void setup() {
  // Serial port is initialized automatically; we don't have to do anything
  BeanAncs.enable();
  pinMode(FIRE, OUTPUT);
  digitalWrite(FIRE, HIGH);
}

void loop() {
  int msgAvail = BeanAncs.notificationsAvailable();

  if (msgAvail) {
    Bean.setLedRed(30);

    BeanAncs.getNotificationHeaders(notifications, 8);

    for (int i = 0; i < msgAvail; i++) {
      if (notifications[i].catID == 4) {
        Bean.setLedGreen(155);
        delay(500);
        digitalWrite(FIRE, LOW);
        delay(500);
      }
      Bean.setLedGreen(0);
      digitalWrite(FIRE, HIGH);
      delay(3000);
    }
    Bean.setLedRed(0);
  }
}

Step 5: Bring It All Together!

Place your now working flamethrower inside the pumpkin making sure the nozzle points out of the pumpkin, otherwise you could end up with a Note 7 situation inside.

Check out Punch Through's website for more information.

Goodbye.

Comments

author
Swansong made it!(author)2016-10-28

This is a cool setup! I hope your hand is ok though ^.^;

author
Waddicolor made it!(author)2016-10-28

It could be better ;)

About This Instructable

722views

6favorites

License:

More by Waddicolor:Pumpkin NotiFire
Add instructable to: