At our first BoilerMake in October 2014, there was a dearth of Halloween-themed hacks. We aimed to change that this year and add some pumpkin spice to the usual hardware hacks (pun intended).
What it does
When you tap the jack-o-lantern, it snaps your picture, adds some festive stickers and a witty caption, and tweets it via @PumpkinPiPics.
How we built it
We used a Raspberry Pi with a camera module to implement the camera. It uses a capacitive touch sensor breakout board to detect when someone taps the pumpkin. Then it captures the image data, applies a random sticker and chooses a random caption, and uploads it to Twitter.
Challenges we ran into
We initially planned it to be entirely wireless, using batteries for power and WiFi for tweeting. However, we discovered that the batteries only lasted a few minutes per charge and that WiFi doesn't perform well inside water-based organisms like pumpkins. There probably won't be an Internet-of-Pumpkins anytime soon.
We also didn't expect to have so many issues with debugging the capacitive touch sensor. After many grueling hours of debugging, we discovered that we couldn't use AC-DC wall adapters, only fully DC power supplies (like a laptop), because otherwise the sensor would read too much noise.
Accomplishments that we're proud of
- Developing a deep appreciation for the art and science of pumpkin hacking
- Having a legitimate reason to plug a pumpkin into Ethernet
What we learned
- Finally understanding some of Electricity & Magnetism physics
- How to pick a good pumpkin for hacking
What's next for Trick or Tweet
- The next PCs. A personal selfie pumpkin (PSP) in every pocket/purse/briefcase/backpack in the month of October.
- Then: expanding to other holidays; turkeys? elves? rabbits? No more waiting in line at the mall for a picture with Santa.