Xbee Adapter Question

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

Moderators: adafruit_support_bill, adafruit

Xbee Adapter Question

Postby tinkeringtech » Mon Feb 13, 2012 11:55 am

A college project that I'm setting up requires a Tweet-a-watt and another XBee that measures current/voltage output from a Solar panel array that is in DC. I'm using a sensor that steps down the DC values to something that the XBee ADC can handle. I would then normalize the values on the receiver end. Questions:

- For the DC voltage/sensor Xbee, do I solder up the Xbee adapter like that for the tweet-a-watt transmitter or that of the receiver?
- Can I just hook up the sensor to the ADC on the Xbee and see the data on the receiver along with the tweet-a-watt data? Guessing that I will have to develop some Python for the DC readings.

I looked around the forums and could not find a similar question. I just wanted to be sure before I assemble the 2nd adapter board. Excuse me if its already out there.

BTW, the Tweet-a-watt is working and logging the data correctly :D.I was going ask for help finding an alternative to the Google Powermeter since they shelved it :shock: ... Found Energylogger and it works great http://www.miloslick.com/EnergyLogger.html.
Thanks.
LJ
Its not about brilliance, its all about persistence
www.tinkeringtech.com
tinkeringtech
 
Posts: 24
Joined: Wed Nov 23, 2011 9:08 pm

Re: Xbee Adapter Question

Postby adafruit_support_bill » Mon Feb 13, 2012 1:09 pm

You would build it up as a transmitter & connect your signal to the XBee ADC. Assuming you have scaled the signal to safe ADC levels it should work pretty much like the Tweet-A-Watt transmitter.
User avatar
adafruit_support_bill
 
Posts: 16068
Joined: Sat Feb 07, 2009 9:11 am

Re: Xbee Adapter Question

Postby tinkeringtech » Mon Feb 13, 2012 1:44 pm

adafruit_support wrote:You would build it up as a transmitter & connect your signal to the XBee ADC. Assuming you have scaled the signal to safe ADC levels it should work pretty much like the Tweet-A-Watt transmitter.

I'm going to use the same setup as recommended. However, would using the 4 AA batteries to supply power be the correct way to power the Xbee? I just eliminated the circuitry for the 5V~ coming from the Kill-a-watt.

Also, would the default Python for the Tweet-a-watt correctly parse the packets coming from the DC sensor?
Any special X-CTU configs needed for the DC sensor Xbee?
Thank you for all your help!

Image
Its not about brilliance, its all about persistence
www.tinkeringtech.com
tinkeringtech
 
Posts: 24
Joined: Wed Nov 23, 2011 9:08 pm

Re: Xbee Adapter Question

Postby adafruit_support_bill » Mon Feb 13, 2012 4:58 pm

The XBee is a 3.3v device & the regulator on the adapter is a low-dropout type. You really don't need 4xAAs to drive it.
If you configure and hook up everything just like the TAW, the python should be able to parse the raw analog values. Scaling it to the correct engineering units is up to you.
User avatar
adafruit_support_bill
 
Posts: 16068
Joined: Sat Feb 07, 2009 9:11 am

Re: Xbee Adapter Question

Postby tinkeringtech » Mon Feb 13, 2012 8:39 pm

You really don't need 4xAAs to drive it
So you are recommending 2 AA's as the regulator will ensure that the 3.3V is maintained? This Xbee is not in a TAW, so it needs some source of power. Kinda new to regulators. Trying to understand it. Thanks.
Its not about brilliance, its all about persistence
www.tinkeringtech.com
tinkeringtech
 
Posts: 24
Joined: Wed Nov 23, 2011 9:08 pm

Re: Xbee Adapter Question

Postby adafruit_support_bill » Tue Feb 14, 2012 6:02 am

For the regulator to regulate, it needs an input voltage higher than the output voltage. For a "low-dropout" regulator as on the adapter, it doesn't need to be very much higher. 2xAA (alkaline) will give you 3v, so you would need 3xAA.
User avatar
adafruit_support_bill
 
Posts: 16068
Joined: Sat Feb 07, 2009 9:11 am

Re: Xbee Adapter Question

Postby tinkeringtech » Tue Feb 14, 2012 9:49 am

Thanks for your help. Here are some pictures from my build. The Kill-a-watt that I got from Amazon is a new version with a revised layout and IC. Also bear in mind that when you run the wires from the IC around the backside of the PCB, the wires can sometimes be wedged between the LCD screen and the screen contacts on the PCB. The screen was not lighting up initially and I thought my wiring was messed up. the TAW is an awesome device! :D
Image
Image
Its not about brilliance, its all about persistence
www.tinkeringtech.com
tinkeringtech
 
Posts: 24
Joined: Wed Nov 23, 2011 9:08 pm


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 [107]

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[33]
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]