<?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=2917" />

<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-10-09T07:59:19+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=2917</id>
<entry>
<author><name><![CDATA[StuartL]]></name></author>
<updated>2008-10-09T07:59:19+01:00</updated>
<published>2008-10-09T07:59:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17831#p17831</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17831#p17831"/>
<title type="html"><![CDATA[Newbie Question: Controlling AX-12 using PIC18F452]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17831#p17831"><![CDATA[
The circuit diagram for the CM-5 should give you some ideas.  In short you need to be able to tri-state the TX pin so that you can receive data on the RX pin.  The CM-5 itself uses a tri-state buffer to isolate it from the bus but this isn't necessary at all for AVRs as you can tri-state in hardware.  I'm pretty sure you can do the same in the PIC.<br /><br />I am wondering, though, if the PIC can do 1Mbit serial data natively.  From memory they tend to run 20Mhz clocks with the CPU clock being clk/4.  This would mean an internal clock of 5MHz.  If this clock is the source for the serial port I wouldn't expect it to do 1Mbit very reliably.<br /><br />If you can tri-state in hardware then you just need to make sure your PIC is 5v logic, connect the TX pin to RX pin and make SURE that the TX is never an output when you're reading data.  It's probably also worth putting a low value resistor in series with the bus to avoid shorting out the PIC if something else is transmitting at the same time.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=645">StuartL</a> — Thu Oct 09, 2008 7:59 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Starlight]]></name></author>
<updated>2008-10-08T03:05:18+01:00</updated>
<published>2008-10-08T03:05:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17817#p17817</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17817#p17817"/>
<title type="html"><![CDATA[Newbie Question: Controlling AX-12 using PIC18F452]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2917&amp;p=17817#p17817"><![CDATA[
Hi all. Currently I doing a quadruped robot using 12 number of  AX-12 (3DOF). I'm not using the CM-5 and I wanna connect my AX-12 directly to PIC18F452. So how can I connect AX-12 to PIC18F and the recommended circuit will be like ? Thanks.<br /><br />regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1192">Starlight</a> — Wed Oct 08, 2008 3:05 am</p><hr />
]]></content>
</entry>
</feed>