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

From eLinux.org
Jump to: navigation, search
m (Final Grade)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:ECE497 |Project]]
 
[[Category:ECE497 |Project]]
  
Team members: [[user:Andrewca|Chris Andrews]], (List all the team members here with link to their eLinux User page.  Use my format.)
+
Team members: [[user:Andrewca|Chris Andrews]]
  
== Executive Summary ==
+
== Grading Template ==
 +
I'm using the following template to grade.  Each slot is 10 points.
 +
0 = Missing, 5=OK, 10=Wow!
  
This project is based off of two projects and bringing the results to the Beaglebone Black.  The first project is [http://www.ladyada.net/make/tweetawatt/index.html 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 [http://www.element14.com/community/community/raspberry-pi/blog/2013/04/05/raspiwatt-discover-power-consumption-using-a-kill-a-watt-pi#comment-21839 RaspiWatt].  This modified the first project in order to use a Raspberry Pi instead of a general purpose computer.
+
<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.
  
Give two sentences telling what works.
+
Score:  60/100
 +
</pre>
  
Give two sentences telling what isn't working.
+
== Executive Summary ==
  
End with a two sentence conclusion.
+
This project is based off of two projects and bringing the results to the Beaglebone Black.  The first project is [http://www.ladyada.net/make/tweetawatt/index.html 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 [http://www.element14.com/community/community/raspberry-pi/blog/2013/04/05/raspiwatt-discover-power-consumption-using-a-kill-a-watt-pi#comment-21839 RaspiWatt].  This modified the first project in order to use a Raspberry Pi instead of a general purpose computer.
  
The sentence count is approximate and only to give an idea of the expected length.
+
This should be fully working but I am having issues getting a working Beaglebone to test it.
  
== Packaging ==
+
What needs to be implemented is the cleaning up of the code to eliminate unnecessary things such as the pi plate code.
 
+
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.   
  
* Include your [https://github.com/ github] path as a link like this to the read-only git site:  [https://github.com/MarkAYoder/gitLearn https://github.com/MarkAYoder/gitLearn].
+
* Follow the [http://www.ladyada.net/make/tweetawatt/make.html hardware instruction] up until the end of making the transmitter.
* Be sure your README.md is includes an up-to-date and clear description of your project so that someone who comes across you git repository can quickly learn what you did and how they can reproduce it.
+
* Then download the [https://github.com/misterbonnie/Tweet-a-Watt.git software]
* Include a Makefile for you code.
+
* Set up a [http://learn.adafruit.com/send-raspberry-pi-data-to-cosm/cosm-account-and-feed Cosm] account
* Include any additional packages installed via '''opkg'''.
+
* Wire the XBee to the UART pins. <span style="color:red">(How do I do this?  Show pictures.)</span>
* Include kernel mods.
+
* 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
* If there is extra hardware needed, include links to where it can be obtained.
+
  
 
== User Instructions ==
 
== User Instructions ==
  
Once everything is installed, how do you use the program?  Give details here, so if you have a long user manual, link to it here.
+
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>
== Highlights ==
+
 
+
Here is where you brag about what your project can do.
+
 
+
Include a [http://www.youtube.com/ YouTube] demo.
+
  
 
== Theory of Operation ==
 
== Theory of Operation ==
  
Give a high level overview of the structure of your software.  Are you using GStreamer?  Show a diagram of the pipelineAre you running multiple tasks?  Show what they do and how they interact.
+
The Xbee has a A/D converter on it that transmits the current and voltage over the serial port on the BeagleboneThe python script takes the serial information and calculates the power then sends the data to COSM.
  
 
== Work Breakdown ==
 
== Work Breakdown ==
  
List the major tasks in your project and who did what.
+
I soldered the kit together and changed the script to use the UART port on the bone.
 
+
Also list here what doesn't work yet and when you think it will be finished and who is finishing it.
+
  
 
== Future Work ==
 
== Future Work ==
  
Suggest addition things that could be done with this project.
+
I need to clean up the code so that the specialized Raspiwatt code is gone.  
  
 
== Conclusions ==
 
== Conclusions ==
  
Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.
+
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.

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.