patterson7019
02-28-2010, 02:06 PM
I have 2 XBee's, one on my robot, the other hooked up to my computer. I can send data from the computer to the robot, and it works great. But sending the data from the robot isn't working. I have pin 12 running through a resisters to convert 5V down to 3.3V (http://forums.parallax.com/showthread.php?p=885155) and going to the XBee's Din pin, and have flow control disabled on the XBee. I also tried disabling the CTS parameter on the XBee on the robot.
TX PIN 12
RX PIN 11
BAUD CON 84 '9600 8N1
SERIN RX,BAUD,perror,WAIT_TIME,timeout,[temp] 'works great
SEROUT TX,BAUD,["Read you",CR] 'never gets received on the other end
I'm wondering if there is a setting I need to change, or if I need to actually wire up the CTS pin to the robot. I would think I shouldn't need to, the XBee manual says a minimum of Vss, Vdd, Din, Dout need to be hooked up.
I have verified the XBee is able to transmit when I have it hooked up to my other computer via the USB Adapter board (http://www.parallax.com/Store/Accessories/CommunicationRF/tabid/161/ProductID/643/List/0/Default.aspx?SortField=ProductName,ProductName). both ends send and receive perfectly.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.perfectaperture.com/robb (http://www.perfectaperture.com/robb)
TX PIN 12
RX PIN 11
BAUD CON 84 '9600 8N1
SERIN RX,BAUD,perror,WAIT_TIME,timeout,[temp] 'works great
SEROUT TX,BAUD,["Read you",CR] 'never gets received on the other end
I'm wondering if there is a setting I need to change, or if I need to actually wire up the CTS pin to the robot. I would think I shouldn't need to, the XBee manual says a minimum of Vss, Vdd, Din, Dout need to be hooked up.
I have verified the XBee is able to transmit when I have it hooked up to my other computer via the USB Adapter board (http://www.parallax.com/Store/Accessories/CommunicationRF/tabid/161/ProductID/643/List/0/Default.aspx?SortField=ProductName,ProductName). both ends send and receive perfectly.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.perfectaperture.com/robb (http://www.perfectaperture.com/robb)