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

Reducing Arduino Power Consumption
Intermediate
  • 1,097
  • 74

Protip

One the most important feature of portable electronics should be long battery life. We can reduce the current drawn by several ways.

Smart Payment System for Parking Area Using RFID
Intermediate
  • 590
  • 11

Full instructions

This project makes a simple, cheap and secure payment system using RFID. It's suitable for small business.

RING PONG
Intermediate
  • 1,332
  • 6

A simple Ping Pong game played on a NeoPixel Ring with Arduino.

 Monitoring Working Time of Employees Using RFID
Intermediate
  • 514
  • 10

Full instructions

This helps monitor the working time of employees, storing information in database.

TV-B-Gun
Intermediate
  • 912
  • 11

Full instructions

A super-cool OFF remote for any TV: we take the famous TV-B-Gone kit and mount it inside an NES Zapper!

Voice Over Sigfox Network?
Intermediate
  • 441
  • 5

Full instructions

A simple device featuring retro mechanical pulse dial and Sigfox connectivity.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login