HJCotton.net

September 18, 2009

Weekend Project: Tweet-A-Watt

by @ 6:50 pm. Filed under Tweet-A-Watt.

I’ve been eying up the Tweet-A-Watt project for a few weeks now. I think the idea is pretty cool, taking an off-the-shelf power monitoring device (a Kill-A-Watt P3) and tying it to a wireless transmitter in order to get the data from the device to a PC. The tweeting part of the project doesn’t really interest me, but storing power usage data in a database would let me see some long term trends in electricity usage. I might even be able to quell the feeling I have that the “Reduce exterior moisture / Save energy” switch inside of my refrigerator doesn’t do anything.

What I tackled this past weekend was the construction of the wireless reciever (which plugs into my PC via a USB cable) and the transmitter that gets hooked up to the Kill-A-Watt. The entire parts list and assembly instructions are available from ladyada.net. I opted to get the kit out of simplicity. It’s a little pricey, but includes everything you need for the project.

The instructions are pretty good. Provided you are alright with a soldering iron, you can manage just fine – at least up until attaching the power and data wires to four individual pins on the tiny chip found on newer Kill-A-Watts. That part is a little trying. A helping-hands type device is a must have for a project like this and I know that it made things much easier for me. So did a new, super-tiny tip for my soldering iron.

I put the whole thing together according to the instructions and plugged it in. And… nothing happened! I got no display on the LCD and the XBee activity light didn’t blink. The super capacitor takes a while to charge up, but no matter how long I waited, I got no info out of it except for the fact that it would make the standard beeps when the buttons on the front of the unit were pressed. I took it back apart to double check the connections to the tiny chip underneath the LCD display and they seemed fine. I couldn’t see any possible short circuits, but I did read on the forums that it would be important to cut a pathway halfway through the foam on the underside of the display to let the wires out. I also filed a notch in the side of the PCB so that the wires would not be pinched. The LCD has to sit flat in the right location for it to work at all. I double checked the transmitting XBee and discovered that it was not working. I figured I must have fried it as X-CTU couldn’t even communicate with it when plugged into the USB cable. There are instructions about how to revive an XBee that has been put into sleep mode on the forums at ladyada.net. I had to perform the process a few times and it eventually started working again. Upon reassembly, I found that the LCD worked – but there was still no activity light. The LED flashes once when the Kill-A-Watt is plugged in, but that’s it. It works though, so I’m not complaining.

For the moment, the wattcher.py script available from ladyada.net is the extent of the logging I’m doing. By default, it logs to a csv file every five minutes. There is also code for connecting to Twitter and to Google App Engine. Eventually, I’d like to log to MySQL and display the power usage right on my blog. Someday…

tweet-a-watt-inside_smalltweet-a-watt_small datalog_small

Anyway, Tweet-A-Watt is a pretty cool and possibly useful project. It’s on the expensive side if you go the kit route, but no matter how you build it, you end up with parts that can be used on other projects (mainly, the XBee chips and their adapters) if you ultimately decide that this project is not what it should be.

September 9, 2009

CF in NC

by @ 5:34 am. Filed under Coldfusion.

I was not able to attend CFUnited this year, simply due to the high cost of the event. This was unfortunate as it is supposedly an awesome conference. Fortunately enough for me, a new CF conference is taking place in Raleigh, NC on October 17th and 18th. Best of all? It’s a free event! I can afford free, even if it is 6 hours away.

The list of speakers and topics isn’t finalized, but the preliminary list is pretty promising. Sounds like it should be a good time and I’m sure to learn a lot! Unfortunately, though, it is the same weekend as another low-cost conference of equal awesomeness (CPOSC), which I will not be able to attend.

CFinNC - Carolina ColdFusion / Flex / Air Conference - Oct 17-18, 2009

September 8, 2009

Columbus

by @ 7:49 pm. Filed under Humorous, Quotes.

I passed this on some random road in New York state last winter. After thinking about it for a minute or two, I drove back to snap a photo. With Columbus Day approaching, I figured it would be a good time to share it. Kurt Vonnegut provides the caption.

columbus

“1492. As children we were taught to memorize this year with pride and joy as the year people began living full and imaginative lives on the continent of North America. Actually, people had been living full and imaginative lives on the continent of North America for hundreds of years before that. 1492 was simply the year sea pirates began to rob, cheat, and kill them.” – Kurt Vonnegut

HJCotton.net

pages:

categories:

search:

archives:

September 2009
S M T W T F S
« Jul   Nov »
 12345
6789101112
13141516171819
20212223242526
27282930  

So it goes.
— Kurt Vonnegut

general links:

statueliberty.jpg

statueliberty.jpg

01-23-2010

01-23-2010

other:

Page 1 of 1First

19 queries. 1.885 seconds