Difference between revisions of "ECE497 Project Tweet-A-Watt"
m (→Grading Template: Added) |
m (→Installation Instructions) |
||
Line 40: | Line 40: | ||
* Then download the [https://github.com/misterbonnie/Tweet-a-Watt.git software] | * Then download the [https://github.com/misterbonnie/Tweet-a-Watt.git software] | ||
* Set up a [http://learn.adafruit.com/send-raspberry-pi-data-to-cosm/cosm-account-and-feed Cosm] account | * Set up a [http://learn.adafruit.com/send-raspberry-pi-data-to-cosm/cosm-account-and-feed Cosm] account | ||
− | * Wire the XBee to the UART pins. | + | * Wire the XBee to the UART pins. <span style="color:red">(How do I do this? Show pictures.)</span> |
* Modify the Wattcher.py to use your account and the [http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart UART] as the serial port | * Modify the Wattcher.py to use your account and the [http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart UART] as the serial port | ||
Revision as of 12:10, 21 November 2013
Team members: Chris Andrews
Contents
Grading Template
I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!
00 Executive Summary 00 Installation Instructions 00 User Instructions 00 Highlights 00 Theory of Operation 00 Work Breakdown 00 Future Work 00 Conclusions 00 Demo 00 Late Comments: I'm looking forward to seeing this. Score: 10/100
(Inline Comment)
Executive Summary
This project is based off of two projects and bringing the results to the Beaglebone Black. The first project is Tweet-a-Watt. This takes a signal from a Kill-A-Watt power meter and reports it to a host computer. The second one is RaspiWatt. This modified the first project in order to use a Raspberry Pi instead of a general purpose computer.
This should be fully working but I am having issues getting a working Beaglebone to test it.
What needs to be implemented is the cleaning up of the code to eliminate unnecessary things such as the pi plate code.
Installation Instructions
Give step by step instructions on how to install your project.
- Follow the hardware instruction up until the end of making the transmitter.
- Then download the software
- Set up a Cosm account
- Wire the XBee to the UART pins. (How do I do this? Show pictures.)
- Modify the Wattcher.py to use your account and the UART as the serial port
User Instructions
Plug the Kill-A-Watt in and the appliance into it. Make sure the red light is on the XBee and fire up COSM.
Theory of Operation
The Xbee has a A/D converter on it that transmits the current and voltage over the serial port on the Beaglebone. The python script takes the serial information and calculates the power then sends the data to COSM.
Work Breakdown
I soldered the kit together and changed the script to use the UART port on the bone.
Future Work
I need to clean up the code so that the specialized Raspiwatt code is gone.
Conclusions
I think that this project didn't really require a lot of work outside of assembly. I didn't have to modify a lot but I think that I learned a lot working with the open source code and adding a little bit to it to work with an additional platform.