Brian Chamberlain
Published © MIT

Kitchen Appliance Monitoring with BB-8

Let a droid keep an eye on your appliance to let you know when it's finished cooking the rice, boiling the water, making the toast, etc....

IntermediateFull instructions provided8 hours1,007
Kitchen Appliance Monitoring with BB-8

Things used in this project

Hardware components

Photon
Particle Photon
The best board and dev environment I've worked with so far, hands down.
×1
Adafruit Stereo 2.8W Class D Audio Amplifier - I2C Control AGC - TPA2016
This works great and is very easy to control using I2C.
×1
CR Magnetics High Frequency Wire Lead Current Transformer
Docs: http://www.crmagnetics.com/Assets/ProductPDFs/CR8400%20Series.pdf Store: http://www.crmagnetics.com/high-frequency-current-transformers/wire-lead/voltage-output/solid-core/cr8448
×1
Hammond 1591TSBK ABS Project Box Black
I went through three different box sizes trying to find a good fit for this project. This one is a good size with lots of space for all the components.
×1
Prime Air Conditioner and Major Appliance Extension Cord, Gray, 3 Ft
I think this cable is easiest to mod for the placement of the CT. You'll also need some wire crimps.
×1
Adafruit Stereo Enclosed Speaker Set - 3W 4 Ohm
These work better in a project box than the open back speakers I tried originally. Having the plastic enclosure and the easy flat mounting holes make it super easy to work with.
×1
Adafruit Breadboard-friendly RGB Smart NeoPixel - Pack of 4
Comes in a pack of four, you could add all four to the project... or just the one. It's up to you.
×1

Software apps and online services

Audacity
Use this app to convert/edit WAV files to get them into 16bit PCM 22.1kHz Mono format

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
I use a Weller WES51 soldering station but it doesn't really matter much the brand/kind. If it melts solder it's a winner.
DEWALT Drill with Keyless All-Metal Chuck
You need a drill and some drill bits to modify the project box. A Dremel works too!
Hot glue gun (generic)
Hot glue gun (generic)
A hot glue gun is by far my favorite tool to get stuff to stick together.

Story

Read more

Schematics

Power monitor circuit and audio amp

Code

EMF2Tone.

Copy this to the main code file in your project. Be sure to add the IntervalTimer Library to the project, along with the NeoPixel library

Adafruit_TPA2016.cpp

Audio AMP driver updated for Photon. CopyPasta this to your ParticeIDE project as a new file.

Adafruit_TPA2016.h

Audio AMP driver updated for Photon. CopyPasta this to your ParticeIDE project as a new file.

wave_data.h

A BB-8 audio WAV file as the raw bytes in an array. CopyPasta this to your ParticeIDE project as a new file.

Python WAV processing code

Run this python script to take a WAV file and convert it to raw bytes in a auto-generated dot H file. Works in Python 3 (might work in 2.7?).

Credits

Brian Chamberlain

Brian Chamberlain

11 projects • 21 followers
Hi! I am a software engineer who enjoys hacking on hardware on the side. My interests are in DIY projects for the home, IOT, and 3D printing

Comments