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

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

Blynk GPS Tracker
Intermediate
  • 3
  • 1

Full instructions

Simple GPS tracker using a Particle Photon (or Electron) and an EM406 GPS module with location visible on Blynk app map.

Pool Buddy
Intermediate
  • 1,452
  • 10

Work in progress

Monitor and log water quality (pH & ORP) and temperature from everywhere.

Smart Garden
Intermediate
  • 1,923
  • 17

Smart Garden is a plant environmental monitoring system.

DIY Vintage Spotify Radio Using A Raspberry Pi
Intermediate
  • 749
  • 6

Full instructions

Make your own vintage radio that streams Spotify, Google Play Music, SoundCloud and your own local music!

WiFi Messenger
Intermediate
  • 1,163
  • 12

Protip

Calling my son from his room using 2 ESP8266 modules, instead of shouting.

IoT Thermometer Using Python
Intermediate
  • 791
  • 8

Full instructions

How to develop a simple but powerful IoT thermometer using a Zerynth-powered single-board MCU and the Zerynth App.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback