Difference between revisions of "ECE497 Project Tweet-A-Watt"

From eLinux.org
Jump to: navigation, search
m (Final Grade)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
Team members: [[user:Andrewca|Chris Andrews]]
 
Team members: [[user:Andrewca|Chris Andrews]]
 +
 +
== Grading Template ==
 +
I'm using the following template to grade.  Each slot is 10 points.
 +
0 = Missing, 5=OK, 10=Wow!
 +
 +
<pre style="color:red">
 +
08 Executive Summary - OK
 +
05 Installation Instructions - How do I wire up the UART?
 +
05 User Instructions
 +
00 Highlights - Missing
 +
09 Theory of Operation
 +
09 Work Breakdown
 +
06 Future Work - Please, clean it up.
 +
08 Conclusions
 +
00 Demo
 +
10 Late
 +
Comments: I think you did a fair amount of work on this, but I'd like to see it working before giving any more points.
 +
 +
Score:  60/100
 +
</pre>
  
 
== Executive Summary ==
 
== Executive Summary ==
Line 10: Line 30:
  
 
What needs to be implemented is the cleaning up of the code to eliminate unnecessary things such as the pi plate code.
 
What needs to be implemented is the cleaning up of the code to eliminate unnecessary things such as the pi plate code.
 
 
 
== Packaging ==
 
 
If you have hardware, consider [http://cpprojects.blogspot.com/2013/07/small-build-big-execuition.html Small Build, Big Execuition] for ideas on the final packaging.
 
  
 
== Installation Instructions ==
 
== Installation Instructions ==
 
+
<span style="color:red">(Some pictures showing your unit and how you hooked it up would be nice.)</span>
 
Give step by step instructions on how to install your project.   
 
Give step by step instructions on how to install your project.   
  
Line 24: Line 38:
 
* 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
  
 
== User Instructions ==
 
== 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.
+
Plug the Kill-A-Watt in and the appliance into it. Make sure the red light is on the XBee and fire up COSM.  
 +
<span style="color:red">(How do I fire up COSM?  More details are needed.)</span>
  
 
== Theory of Operation ==
 
== Theory of Operation ==

Latest revision as of 20:21, 21 November 2013


Team members: Chris Andrews

Grading Template

I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!

08 Executive Summary - OK
05 Installation Instructions - How do I wire up the UART? 
05 User Instructions
00 Highlights - Missing
09 Theory of Operation
09 Work Breakdown
06 Future Work - Please, clean it up.
08 Conclusions
00 Demo
10 Late
Comments: I think you did a fair amount of work on this, but I'd like to see it working before giving any more points.

Score:  60/100

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

(Some pictures showing your unit and how you hooked it up would be nice.) 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. (How do I fire up COSM? More details are needed.)

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.