(Last week, Phil T. & I entered our prototype networked power meter “Tweet-a-watt” into the Greener Gadget competition here in New York. After much demand for how to do such a thing, I’ve decided to post up this work in progress)
[flickr 3218483639 ]
This project documents my adventures in learning how to wire up my home for wireless power monitoring. I live in a rented apartment so I don’t have hacking-access to a meter or breaker panel. Since I’m still very interested in measuring my power usage on a long term basis, I will build wireless outlet reporters. Building your own power monitor isn’t too tough and can save money but I’m not a fan of sticking my fingers into 120V power. Instead, I’ll build on the existing Kill-a-watt power monitor, which works great and is available at my local hardware store.
My plan is to have each room connected to a 6-outlet power strip which powers all the devices in that room (each kill-a-watt can measure up to 15A, or about 1800W, which is plenty!). That way I can track room-by-room usage, for example “kitchen”, “bedroom”, “workbench”, and “office”.
This project will show how to:
snag data from a Kill-a-Watt power meter
use an XBee to read analog sensor data remotely
put XBees into low power sleep mode
have multiple sensors transmit to one receiver
parse XBee sensor data using python on a home computer and/or an Arduino-type thing
utilize Google App Engine ‘cloud computing’ to store that data and display it for later analysis
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
That is really nifty. I was just messing with collecting home energy usage data last month and stumbled upon the fact that google spreadsheets allows you to insert data from external sources and tie that to visualization gadgets. Once you bang out a script that outputs your data as csv, you could display it like those sexy google finance-like graphs with about 5 minutes of work.
hmm! i might have to figure out how to use that nice widget. I was going to use google graphs but theyre not that great. Is it required that I create a spreadsheet?
Nice project! This is something I’ve been intending to get around to doing, myself.
One suggestion: Add one chip and a few external components to insert an RMS-to-DC converter between each sensor tap point and the XBee input.
Then you can drop the sample rate to something like once per second, and not have to track the waveforms. An AD737 goes for $6 to $12 at DigiKey.
neat chip…but i think it might be more useful to pop in a multiplier and integrator…although at that point you should just put in a microcontroller
Well, of course a multiplier would be great, too!
But you would be working in the analog domain, so range might be an issue.
Of course, if you want a multiplier, integrator and microcontroller, they’re already all there in the Kill-A-Watt.
How could we hack into the data, and give the KAW wireless connectivity?
ya i know, right? unfortunately the chip is some noname thing, sometimes even epoxied in…totally sucks!
time to send a kill-o-watt over to Chris over at Flylogic 🙂
To answer your question above about the spreadsheet requirement. No, it’s not required, but it would be more difficult.
Hey. Looked into the Google timeline viz and apps docs tonight. Turns out it wasn’t difficult at all to do graphs without interfacing with the spreadsheet.