Tweet-a-Watt XBee-Wifi

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

Moderators: adafruit_support_bill, adafruit

Tweet-a-Watt XBee-Wifi

Postby mjrollins » Sun Apr 29, 2012 11:11 am

Hi there,

I was searching around and couldn't find an answer to this question...

I would like to build a tweet-a-watt; however, instead of using the regular XBee RF (which would require a receiver hooked up to a computer), I'd like to use WiFi.

Is it possible to swap out the existing XBee RF module for the XBee Wifi module (http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-wi-fi#overview) to build a tweet-a-watt? Has anyone done this?

Thanks,
MJ
mjrollins
 
Posts: 4
Joined: Sun Apr 29, 2012 11:07 am

Re: Tweet-a-Watt XBee-Wifi

Postby adafruit_support_bill » Sun Apr 29, 2012 2:34 pm

One possible issue would be the power requirements of the WiFi module. The Tweet-A-Watt is scavenging power from a supply just barely big enough to run the Kill-A-Watt. Sometimes it is even necessary to decrease the reporting frequency to avoid starving the Kill-A-Watt of power.
User avatar
adafruit_support_bill
 
Posts: 16072
Joined: Sat Feb 07, 2009 9:11 am

Re: Tweet-a-Watt XBee-Wifi

Postby mjrollins » Sun Apr 29, 2012 2:56 pm

adafruit_support wrote:One possible issue would be the power requirements of the WiFi module. The Tweet-A-Watt is scavenging power from a supply just barely big enough to run the Kill-A-Watt. Sometimes it is even necessary to decrease the reporting frequency to avoid starving the Kill-A-Watt of power.


Thank you very much for your reply. Would it be practical to power the module externally (e.g. via a wall-wart or some similar power source)? Lowering the reporting frequency is quite acceptable, but I was just wondering what would make the project a bit easier to put together.

Thanks!
mjrollins
 
Posts: 4
Joined: Sun Apr 29, 2012 11:07 am

Re: Tweet-a-Watt XBee-Wifi

Postby adafruit_support_bill » Sun Apr 29, 2012 3:19 pm

Would it be practical to power the module externally (e.g. via a wall-wart or some similar power source)?

Due to the design of the Kill-A-Watt, that could actually be quite dangerous. The 'ground' in the Kill-a-watt power supply is not an earth ground & connecting external circuitry could expose potentially lethal voltages outside of the case. If you search these forums, one user made an optically isolated circuit to safely transmit serial data outside the case. From there you could connect to your WiFi module.
User avatar
adafruit_support_bill
 
Posts: 16072
Joined: Sat Feb 07, 2009 9:11 am

Re: Tweet-a-Watt XBee-Wifi

Postby mjrollins » Sun Apr 29, 2012 3:24 pm

adafruit_support wrote:
Would it be practical to power the module externally (e.g. via a wall-wart or some similar power source)?

Due to the design of the Kill-A-Watt, that could actually be quite dangerous. The 'ground' in the Kill-a-watt power supply is not an earth ground & connecting external circuitry could expose potentially lethal voltages outside of the case. If you search these forums, one user made an optically isolated circuit to safely transmit serial data outside the case. From there you could connect to your WiFi module.


I had seen that post, and was hoping to avoid having to do that. I guess I could experiment with timings to see how long I should go between waking up the WiFi module. I'd honestly be more than satisfied with reading granularity on the order of 1-5 min :)
mjrollins
 
Posts: 4
Joined: Sun Apr 29, 2012 11:07 am

Re: Tweet-a-Watt XBee-Wifi

Postby faludi » Mon May 07, 2012 12:12 pm

You could also consider using something like the ConnectPort X2 as a gateway, if you want a permanent installation that connects an XBee network to the Internet. It's dedicated hardware gateway from ZigBee to Ethernet, which is a good next step from using a full computer and wouldn't require changing anything on the Tweet-a-Watt. More info here on this option:
http://www.digi.com/products/wireless-r ... x2gateways
http://store.digi.com/index.cfm?fuseact ... ct_ID=2403
faludi
 
Posts: 23
Joined: Thu Jul 17, 2008 2:58 pm

Re: Tweet-a-Watt XBee-Wifi

Postby mjrollins » Thu May 10, 2012 6:04 pm

faludi wrote:You could also consider using something like the ConnectPort X2 as a gateway, if you want a permanent installation that connects an XBee network to the Internet. It's dedicated hardware gateway from ZigBee to Ethernet, which is a good next step from using a full computer and wouldn't require changing anything on the Tweet-a-Watt. More info here on this option:
http://www.digi.com/products/wireless-r ... x2gateways
http://store.digi.com/index.cfm?fuseact ... ct_ID=2403


Snazzy. I know I should (and will) RTFM, but to understand this on a simple level, the ConnectPort will route the XBee traffic to a given IP address and port?

Thanks - this looks very promising in the short run though I'm still hoping to put together an all-in-one solution for this - but this is great.
mjrollins
 
Posts: 4
Joined: Sun Apr 29, 2012 11:07 am

Re: Tweet-a-Watt XBee-Wifi

Postby faludi » Fri May 11, 2012 12:09 pm

Yes, and check out the XBee Internet Gateway http://faludi.com/xigfor a very easy way to post sampled I/O data to either iDigi Device Cloud http://idigi.com or any other online database of your choosing.
faludi
 
Posts: 23
Joined: Thu Jul 17, 2008 2:58 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 [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]