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

<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>2009-02-15T11:23:34+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=3351</id>
<entry>
<author><name><![CDATA[RandomMatt]]></name></author>
<updated>2009-02-15T11:23:34+01:00</updated>
<published>2009-02-15T11:23:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19155#p19155</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19155#p19155"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19155#p19155"><![CDATA[
The led should remain on when step 1 is successful.  It should go off again after you send the 'g' in step 3.<br /><br />--<br /><br />If you can, just attach a console of some sort(**) to the servo (at 57600) and you'll be able to see what is happening.  (you may want to send an 'h' to get the help - and you really don't want to send an 'l').<br /><br />(**) I did this by using the CM5 to effectively bridge the two UARTs (one is at TTL level, the other RS232).  How many UARTs does your PIC have?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1296">RandomMatt</a> — Sun Feb 15, 2009 11:23 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Starlight]]></name></author>
<updated>2009-02-15T03:43:08+01:00</updated>
<published>2009-02-15T03:43:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19154#p19154</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19154#p19154"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19154#p19154"><![CDATA[
i tried method below, but it ax-12's LED keep light on after i restart the ax-12.<br />and it seems i could not have any response at 1 M after i tried the method..<br /><br /><blockquote class="uncited"><div><br />1) enter the bootloader. You need to send many '#' characters to the servo (at 57600 baud) as it turns on (within ~60ms). The bootloader should respond with a '*'. The led should remain on.<br /><br />2) reset the eeprom. send a 'c', wait for a '*'.<br /><br />3) enter application mode. send an 'a', wait for a '*'. Followed by a 'g'.<br /></div></blockquote><br /><br />Is the LED of AX-12 should keep ON after i restart the AX 12?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1192">Starlight</a> — Sun Feb 15, 2009 3:43 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Starlight]]></name></author>
<updated>2009-02-15T01:44:49+01:00</updated>
<published>2009-02-15T01:44:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19152#p19152</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19152#p19152"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19152#p19152"><![CDATA[
<blockquote class="uncited"><div><br />Why are you setting the other locations beyond the ID and baud rate ?<br /></div></blockquote><br /><br />Actually this is my first time using the AX-12 actuator. In the beginning, I just want to change the default ID of 1 to ID 2 but I forgot after we send the start address code (0x03), the following address will be follow the item in control table in sequence including baud rate, return delay time, etc. <br /><br /><blockquote class="uncited"><div><br />You may also want to 'lock' the servo to stop this kind of mistake... just write a 0x01 to location 47. You'll still be able to control the torque, led, speed, position but you will not be able to mess up the id, baud rate, automatic turnoff etc.<br /></div></blockquote><br />I should know this kind of solution early. Thanks RandomMatt.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1192">Starlight</a> — Sun Feb 15, 2009 1:44 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2009-02-14T23:22:19+01:00</updated>
<published>2009-02-14T23:22:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19151#p19151</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19151#p19151"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19151#p19151"><![CDATA[
<blockquote class="uncited"><div><br />By the way, I'm accidentally changing the baud rate to 645161.29bps.<br /></div></blockquote><br />I think it is 64516.128bps not 645161.29bps if you entered 0x1E.<br /><br />If you get within 10% on the PIC you should be OK, that should be possible to communicate without error.<br /><br />Why are you setting the other locations beyond the ID and baud rate ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Sat Feb 14, 2009 11:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RandomMatt]]></name></author>
<updated>2009-02-14T19:28:14+01:00</updated>
<published>2009-02-14T19:28:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19150#p19150</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19150#p19150"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19150#p19150"><![CDATA[
You need to use the bootloader to reset the eeprom.  (This will make your servo have ID=1).<br /><br />1) <span style="font-weight: bold">enter the bootloader</span>.  You need to send many '#' characters to the servo (at 57600 baud) as it turns on (within ~60ms).  The bootloader should respond with a  '*'.  The led should remain on.<br /><br />2) <span style="font-weight: bold">reset the eeprom</span>.  send a 'c', wait for a '*'.<br /><br />3) <span style="font-weight: bold">enter application mode</span>. send an 'a', wait for a '*'. Followed by a 'g'.<br /><br />--<br /><br />You may also want to 'lock' the servo to stop this kind of mistake... just write a 0x01 to location 47.  You'll still be able to control the torque, led, speed, position but you will not be able to mess up the id, baud rate, automatic turnoff etc.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1296">RandomMatt</a> — Sat Feb 14, 2009 7:28 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Starlight]]></name></author>
<updated>2009-02-14T17:34:23+01:00</updated>
<published>2009-02-14T17:34:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19145#p19145</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19145#p19145"/>
<title type="html"><![CDATA[Baud rate problem]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3351&amp;p=19145#p19145"><![CDATA[
Hi. Currently I'm successful get the response from the AX-12 using PIC18F4450 using default baud rate of 1Mbps. By the way, I'm accidentally changing the baud rate to 645161.29bps. the code as below:<br />uart_send(0xFF);<br />uart_send(0xFF);<br />uart_send(0x01);//ID<br /><br />uart_send(0x09);//LENGTH<br />uart_send(0x03);//INSTRUCTION = WRITE_DATA<br />uart_send(0x03);//START ADDR (ID)<br />uart_send(0x02);//NEW ID<br />uart_send(0x1e);<br />uart_send(0x01);<br />uart_send(0x01);                                                                          <br />uart_send(0x01);<br />uart_send(0x01);<br />uart_send(0xcb);<br /><br />Now my PIC can't set the baud rate as close to the baud rate of AX-12(0x1e). So is there any solution to reset the baud rate of AX-12 to the factory's default baud rate (1Mbps) ?Thanks.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1192">Starlight</a> — Sat Feb 14, 2009 5:34 pm</p><hr />
]]></content>
</entry>
</feed>