Things used in this project

Hardware components:
Photon new
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:
09507 01
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!
Hy gluegun
Hot glue gun (generic)
A hot glue gun is by far my favorite tool to get stuff to stick together.

Schematics

Power monitor circuit and audio amp
Emforcesensor bb

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

43358b1dc76c91f999cd7258873dbcb8
Brian Chamberlain

Software Engineer and Hardware Hacker

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Arduino 101 Packet Radio IMU
Intermediate
  • 152
  • 2

Protip

Packet Radio on your Arduino 101 - The Arduino 101 Orientation Visualizer redone with Packet Radio!

ArduRadio AlarmClock
Intermediate
  • 2,310
  • 2

Full instructions

Build an FM radio with alarm clock.

ConnectTheDots with Particle Azure IoT Hub Integration
Intermediate
  • 576
  • 7

Protip

This project will allow you to connect your Particle device into an Azure IoT Hub for viewing data in real-time through an ASP.NET web app!

Cat Door with Pet Recognition
Intermediate
  • 4,678
  • 21

Full instructions

Use object detection to let your cat in and out of the house with a motion-activated pet door.

Other Clocks
Intermediate
  • 188
  • 3

Work in progress

A combination of 3 different clocks in one frame.

Arduino: Switching ON/OFF Appliances Using IR Remote
Intermediate
  • 275
  • 3

Press 'Power' to switch everything ON/OFF. Press '1' for the fan and '2' for the lights.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login