When doing the digital line passing I noticed that there was a bunch of garbage going across the xbee's serial. I assumed those were the xbees talking about the DIO line. Is this correct?
we're controlling some large robotics with an xbee and need a wireless kill switch that bypasses any microcontrollers, and i'd like to keep it to 1 xbee instead of having to add a second just for the kill switch.
Passing DIO lines and serial
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Passing DIO lines and serial
Yes. That is the line-passing protocol you are seeing.When doing the digital line passing I noticed that there was a bunch of garbage going across the xbee's serial. I assumed those were the xbees talking about the DIO line. Is this correct?
-
- Posts: 352
- Joined: Tue Aug 19, 2008 4:36 pm
Re: Passing DIO lines and serial
Thanks a ton adafruit!
-
- Posts: 352
- Joined: Tue Aug 19, 2008 4:36 pm
Re: Passing DIO lines and serial
For the wireless programming arduino with xbee guide on the adafruit site - there's a DIO line being used to reset the arduino. Do you think that this reset is the reason why wirelessly programming with the xbee is so unreliable? It's occasionally sending junk down the serial while the arduino is programming.
I remember someone at adagfruit said that it's probably because the xbees can't send and recieve data simultaneously with 0 latency.
I remember someone at adagfruit said that it's probably because the xbees can't send and recieve data simultaneously with 0 latency.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Passing DIO lines and serial
I believe that the pin-passing protocol is strictly between XBees and does not get passed through to the Rx/Tx pins. I may have misunderstood your original post. I thought you were referring to communication activity on the modules, not actual signals out the serial port.
It is probably worth posting this question over at the Digi forums. They should be able to give you a more definitive answer.
It is probably worth posting this question over at the Digi forums. They should be able to give you a more definitive answer.
-
- Posts: 352
- Joined: Tue Aug 19, 2008 4:36 pm
Re: Passing DIO lines and serial
When I stuck a logic analyzer on the serial I did see chatter when it was only passing DIO. I did change timeout settings on the modems though. Anyway here's a video showing how I got the wireless programming working VERY well, but it is buggy at 10+ feet.
anyway a video demo here showing the setup if anyone's interested
http://youtu.be/eHcDzwCFV5E
I'm not going to look into it too much - just need to get this project done.
anyway a video demo here showing the setup if anyone's interested
http://youtu.be/eHcDzwCFV5E
I'm not going to look into it too much - just need to get this project done.
Please be positive and constructive with your questions and comments.