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

<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>2016-07-13T15:05:56+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=14227</id>
<entry>
<author><name><![CDATA[nettek]]></name></author>
<updated>2016-07-13T15:05:56+01:00</updated>
<published>2016-07-13T15:05:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=14227&amp;p=43709#p43709</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=14227&amp;p=43709#p43709"/>
<title type="html"><![CDATA[Problems with obtaining a status packet]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=14227&amp;p=43709#p43709"><![CDATA[
Hi,<br /><br />I doing a project with Altera DE2 board (VHDL) meant for communicating with the Bioloid robot. Right now I am using a single AX-12 servo to check sending commands and receiving a status packet. The diagram is attached.<br /><br />I have succeeded in sending it a command and am now trying to receive a status packet from the servo. It is done by sending the packets received from the AX-12 to a UART_RX module (lower left) that transforms it to a parallel bus, and from there to a module (lower middle) that separates each packet so that I know what is the ID of the servo, and the errors (the only packets I truly care about and need to know). The ID and error buses go directly to LEDs on the board.<br /><br />I'm sending a few different commands, among them the PING instruction, and none of the LEDs power on.<br />I believe it could be due to two different reasons (though if you find any other possible explanation I would love to hear it):<br />1. A problem with the UART_RX module. I don't think it's the problem because I've tested it before and it worked fine.<br />2. The return delay time. I'm not sure what I'm supposed to do with it, and what it is.<br /><br />So, about the return delay time... <br />1. what is the default value? 160us? I've sent the AX-12 a command to reset (which I know worked because the ID changed to 0) so I believe the delay time is now 160us.<br />2. I have a pin called <span style="font-weight: bold">direction</span>, which goes to a buffer (both the buffer you see in the diagram and an outside buffer chip, as instructed in the AX-12 datasheet). When am I supposed to change it? Right after I'm done sending the command? wait for a few micro seconds?<br />3. When am I supposed to start receiving the data from the servo? When the delay return time is over?<br /><br />If you have any other suggestions or comments I would love to hear them. Thanks!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7987">nettek</a> — Wed Jul 13, 2016 3:05 pm</p><hr />
]]></content>
</entry>
</feed>