My tweet-a-watt project is up and running. I have my receiver connected to my Asus WL-500G Premium v2 router via the FTDI USB cable.
I want to solder the Xbee receiver into my router like Limor did in her blog video but I don't know which Xbee pins go to which router pins.
Could someone who has this working help me map the XBee shield pins to the router serial header pins?
Thanks in advance.
Remove the computer: Xbee to Asus router
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Remove the computer: Xbee to Asus router
You can sort of see it here
http://www.flickr.com/photos/ladyada/34 ... 795495792/
(theres also more photos in the set)
http://www.flickr.com/photos/ladyada/34 ... 795495792/
(theres also more photos in the set)
- __ew__
- Posts: 5
- Joined: Sun Sep 13, 2009 10:05 pm
Re: Remove the computer: Xbee to Asus router
@adafruit Thanks for the image. I tried gleaning the mapping from your video (and failed) originally.
Ok, looking at the really hi-res version of that photo, I guessing the connections map thusly:
XBee:
Also, any thoughts on the connections to the Asus header? The heat-shrink tubing makes it difficult to tell.
I'm also a little confused because the mappings on this image seem to have the CTS and RTS labels switched (Is the PCB label correct?)
Thank you,
Eric.
Ok, looking at the really hi-res version of that photo, I guessing the connections map thusly:
XBee:
- Brown -> Gnd
- Yellow -> Rx
- Orange -> Tx
- Red -> Either Cts or 3v (which?)
- Brown -> Pin 2(???)
- Yellow -> Pin 3
- Orange -> Pin 4(???)
- Red -> Pin 1
Also, any thoughts on the connections to the Asus header? The heat-shrink tubing makes it difficult to tell.
I'm also a little confused because the mappings on this image seem to have the CTS and RTS labels switched (Is the PCB label correct?)
Thank you,
Eric.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Remove the computer: Xbee to Asus router
power is 3V, it wouldnt make sense to try and power it from CTS eh?
the red text is correct
the red text is correct
- __ew__
- Posts: 5
- Joined: Sun Sep 13, 2009 10:05 pm
Re: Remove the computer: Xbee to Asus router
I now have my Asus WL-500G Premium v2 working with the xbee soldered into the serial header.
Photos:
The Asus serial header
The XBee wireless modem adapter
Pin mapping:
The serial port in OpenWRT is at /dev/tts/0
The baud rate is 9600
It seems to take a minute or so after booting up for the wattcher.py script to be able to communicate with the xbee.
See also:
http://lizard43.blogspot.com/2009/03/tw ... -xbee.html
OpenWrt serial pin chart for the WL500GPV2
Photos:
The Asus serial header
The XBee wireless modem adapter
Pin mapping:
Code: Select all
Asus Color XBee
header (photo) header
---------------------------
pin 1 green 3v
pin 2 grey TX
pin 3 purple RX
pin 4 blue GND
The baud rate is 9600
It seems to take a minute or so after booting up for the wattcher.py script to be able to communicate with the xbee.
See also:
http://lizard43.blogspot.com/2009/03/tw ... -xbee.html
OpenWrt serial pin chart for the WL500GPV2
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Remove the computer: Xbee to Asus router
fantastic work! and a nice clear photo im sure he'll will find it ultra helpful
Please be positive and constructive with your questions and comments.