SB-FireFly Hacks: Round 1

Dave Hrynkiw
July 3, 2012

Jeremie, our engineer and the brains behind the SB-FireFly, can't seem to put the thing down even though it's all done and released. He's been hard at work figuring out what it's capable of, and figures that the hardware and framework could be used for a Micro-TV-B-Gone broadcaster, IR code repeater, and even a tiny robot controller. This week, Jeremie turned the SB-FireFly into a countdown timer and even a 'Twinkle Grenade'. Check out the hack descriptions below for more information.


SB-FireFly Countdown Timer
The inspiration for this hack comes from a certain Solarbotics Head-Geek burning up too many Freeduinos in the re-flow oven... I mean, we had trouble cooking hardboiled eggs... yeah… that's it. A permanent 3 minute timer was needed to save the innocent PCBs... er... eggs.

Additional Hardware required: Needs a Piezo Buzzer soldered to the expansion port from S (PB3) to G (GND).

Code: Download here

What it does:
Turns an LED on then beeps at the 1 minute mark
Turns 2 LEDs on and beeps at the 2 minute mark
Turns 3 LEDs on then continuously beeps & flashes all LEDs at the 3 minute mark until the button is pressed.

Meanwhile, during the countdown mode if the button is pressed it will restart the countdown from the beginning. During the continuously flashing/beeping behaviour the button will put the SB-FireFly to sleep, and if pressed again it’ll restart the countdown.

Application: It can be modified to be a timer of any sort, reminding you at certain intervals to take action such as pulling PCBs out of the oven eggs out of the pot.


SB-FireFly Twinkle Grenade
The inspiration for this hack comes from either the desire for mischief or the need for chip tunes. One of the two. Okay, maybe both.

Additional Hardware required: Needs a Piezo Buzzer soldered to the expansion port from S (PB3) to G (GND)

Code: Download here

What it does: Continuously plays Twinkle Twinkle Little Star and flashes all the LEDs in time with the notes until the button gets pressed. Upon button press, the SB-FireFly goes to sleep (because, unfortunately, no amount of Twinkle Twinkle Little Star makes electronics fall asleep). Push the button again and the tune will start back up where it left off.

Application: Annoying your friends, family, and co-workers. Throw it in a colleague’s office and run away as they frantically search the floor trying to turn it off (we swear we haven't done this at all…). Or you could be sneaky and hide it in a vent or inside a drop ceiling. Magnets stick quite well to the back of the SB-FireFly, so it can then be temporarily attached to a metal surface quite easily.


With the sheer plethora of possibilities for the SB-FireFly (or 'hacklications', as Jeremie likes to call them), there'll probably be another one or two similar posts on the horizon for how to tweak this mini blinky platform extraordinaire, so stay tuned!

MORE POSTS

August 21, 2009
Didel Gears, LilyPad

Alriiiight. This week we've got a small handful of new plastic pinions (not to be confused with plastic onions) from Didel. These little units are great for sliding onto pager motors and mating to other gears. 0.71mm 6-Tooth Pinion 0.81mm 9-Tooth Pinion 0.78mm 12-Tooth Pinion 0.82mm 12-Tooth Pinion And, as promised last week, we've got […]

August 8, 2017
Project: LED Earrings

The idea of adorning oneself with glowing bits has been around forever, but instead of smearing ourselves with phosphorescent jellyfish or placing fireflies in ears like some uncivilized cavemen we went for simple LED earrings. We made a build that involves a simple slow-scroll RGB LED and a few reflective bits to bounce that pretty […]

January 12, 2011
Everybody have a good 2010? Good...

Let's start 2011 by promoting a worthwhile event sponsored by one of our suppliers, SparkFun. Tomorrow is their 2nd "Free Day". Last year's event pretty much crashed their servers (we sent flowers of condolence). This year, they're going about it a bit wiser, offering several ways to taking advantage of their $150,000 give-away. We're big […]

November 24, 2010
Madness, Madness, and Product announceme...

Just yesterday, Calgary reached the 2nd coldest place on earth, just behind an outpost in Antarctica. Yes, we are cold. Even the dog doesn't want to go out and play... In other madness, one of our favourite distributors/suppliers, Sparkfun has announced their 2nd annual "Free Day". Circle January 13, and if they get blown out […]

Solarbotics Ltd Logo
Solarbotics has been operating for more than 25 years, bringing electronics know-how and supplies to both the electronics professional and hobbyist. We'll be happy to help you too!

Solarbotics, Ltd. is not responsible for misprints or errors on product prices or information. For more information, please see our Terms and Conditions.

Warning: This product contains chemicals known to the State of California to cause cancer and birth defects or other reproductive harm.
Please visit www.P65Warnings.ca.gov for more information. This item was manufactured prior to August 31, 2018.

Copyright © 2024 Solarbotics Ltd. All Rights Reserved
cart