tweet-a-watt--> data logger

Xbee projects like the adapter, xbee tutorials, tweetawatt/wattcher, etc. purchased at Adafruit

Moderators: adafruit_support_bill, adafruit

tweet-a-watt--> data logger

Postby pherzmar » Wed Apr 11, 2012 11:18 am

I want to combine the Tweet-a-Watt kit with the Data Logger kit. Instead of tweeting the output of the Kill-a-Watt I want to record it with the Data Logger.

My problem is I don't get a voltage out of the Kill-a-Watt that varies with the current of the device plugged into it. I want the Data Logger to read that voltage.

The Tweet-a-Watt instructions say:
Connect Kill-a-watt LM2902N chip pin 1 (current sensor ) to the XBee AD4
Connect Kill-a-watt LM2902N chip pin 14 (voltage sensor) to the XBee AD0

I want to connect the pins 1 and 14 to the data logger analog read inputs.

The voltage on pin1 (compared to the ground on pin 11) should vary when I plug different appliances into the Kill-a-Watt. It doesn't. It should reflect the different current draw. All I get is 2.344V on my volt meter no matter what I plug in, and no matter if the appliance is turned on or off.

The voltage on pin 14 should remain constant since the voltage is always 120V. It does. it reads 2.334V and is unchanging. But how can I change the voltage to see if pin 14 is varying with the line voltage?

In summary:
Why does the voltage on pin 1 not change with the appliance current?
How can I change the line voltage to see if the pin 14 voltage changes?

Any suggestions?

Paul Herzmark
Berkeley, CA
pherzmar
 
Posts: 3
Joined: Sun Jan 29, 2012 2:27 pm

Re: tweet-a-watt--> data logger

Postby adafruit_support_bill » Wed Apr 11, 2012 1:10 pm

:!: The signal ground in the Kill-A-Watt unit is NOT an earth ground and directly connecting wires to the outside can mean exposing potentially lethal (to you and your Arduino) voltages :!:

The Tweet-A-Watt project is safe as designed because the XBee module sends the data out by radio. No internal voltages are exposed outside of the case.
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

Re: tweet-a-watt--> data logger

Postby pherzmar » Fri Apr 13, 2012 3:56 pm

OK, I am convinced that it is a bad idea to run wires outside the Kill-a-Watt. Now I want to do the project with the Xbee as designed.

That still leaves the question of why the voltage from pin 1 of the LM2902N chip doesn't change with the amperage of the appliance plugged into the Kill-a-Watt. I am concerned that I have done something wrong and it won't work for the tweet-a-watt.

Shouldn't the voltage be changing?
pherzmar
 
Posts: 3
Joined: Sun Jan 29, 2012 2:27 pm

Re: tweet-a-watt--> data logger

Postby adafruit_support_bill » Sat Apr 14, 2012 5:10 am

It is curious that your voltage and current pins are reading the same down to the millivolt level (both are 2.344V). Are you sure you are connecting to the right pins?
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am


Return to XBee products from Adafruit

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]