<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=2640" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2008-06-17T21:10:03+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=2640</id>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2008-06-17T21:10:03+01:00</updated>
<published>2008-06-17T21:10:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16375#p16375</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16375#p16375"/>
<title type="html"><![CDATA[AVR USART-Tristate turnaround time]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16375#p16375"><![CDATA[
Yes, I do this with all my Bioloid bus devices. My brother wrote the serial port handler code, and you can find it here:<br /><br /><a href="http://svn.hylands.org/common/avr/bioloid-uart.c" class="postlink">http://svn.hylands.org/common/avr/bioloid-uart.c</a><br /><a href="http://svn.hylands.org/common/avr/bioloid-uart.h" class="postlink">http://svn.hylands.org/common/avr/bioloid-uart.h</a><br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Tue Jun 17, 2008 9:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Nathan Monson]]></name></author>
<updated>2008-06-17T19:02:02+01:00</updated>
<published>2008-06-17T19:02:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16373#p16373</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16373#p16373"/>
<title type="html"><![CDATA[AVR USART-Tristate turnaround time]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16373#p16373"><![CDATA[
I haven't used this on an AVR, but I did exactly that with a Cypress uC and it worked fine.  A pull-up is important because the AX-12 can't transmit unless the host is pulling the line to at least +3V.  The default turnaround time for the AX-12 is 500us which should be plenty of time to float the pin!<br /><br />If you still suspect you are not floating the pin soon enough, you could try dropping the baud rate, to increase your chances of receiving the tail-end of something.  I did a lot of development at 9600 baud, where a simple status packet takes a good 6250us on the wire.<br /><br />I happened to use 3V signalling, and I found that at 1mbps, I could not reliably send and receive with more than 2-3 servos on the bus.  At 200kbps, I have had no problems with 10+.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1001">Nathan Monson</a> — Tue Jun 17, 2008 7:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-06-17T16:43:46+01:00</updated>
<published>2008-06-17T16:43:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16371#p16371</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16371#p16371"/>
<title type="html"><![CDATA[AVR USART-Tristate turnaround time]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16371#p16371"><![CDATA[
You may need to set the pullup on the I/O pin to ensure it floats high quickly.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue Jun 17, 2008 4:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Miamicanes]]></name></author>
<updated>2008-06-17T15:44:44+01:00</updated>
<published>2008-06-17T15:44:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16368#p16368</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16368#p16368"/>
<title type="html"><![CDATA[AVR USART-Tristate turnaround time]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2640&amp;p=16368#p16368"><![CDATA[
Has anybody ever tried to get half-duplex serial communication with an AVR to work by connecting BOTH RxD and TxD to the serial bus, and tristating one or the other by setting and clearing the RX/TX enable bits in UCSR0A? I tried it last night, and it kind of seemed like it might not be turning around fast enough, but it's also possible that the AVR might take longer to tristate a USART pin than it takes to activate one, and the final dying gasps of the transmit pin before it tristates might be triggering the receive pin, then taking longer to timeout than it takes for the AX-12 to begin sending its response datagram.<br /><br />I'm getting ready to try and hook up the parallel-port analyzer I built a few months ago, but I'd love to know whether anyone has already tried going down this path and conclusively determined that it ultimately will or won't work <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=456">Miamicanes</a> — Tue Jun 17, 2008 3:44 pm</p><hr />
]]></content>
</entry>
</feed>