<?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=15&amp;t=7213" />

<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>2011-05-17T09:35:27+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=7213</id>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2011-05-17T09:35:27+01:00</updated>
<published>2011-05-17T09:35:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31271#p31271</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31271#p31271"/>
<title type="html"><![CDATA[wCK at 921.6K]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31271#p31271"><![CDATA[
Hi i-Bot<br /><br />With the information you posted I sent an email to Robobuilder and already got a reply.<br /><br />I believe it may be enlightening to your issue:<br /><br /><span style="font-style: italic"><span style="color: green">In wCK module manual, it is the theoretical value for MCU source of clock, without considering the &quot;noise, crystal error and other facts&quot;. <br /><br />Actual (Real) error ratio is higher than theoretical error value because of circuit noise, crystal error and etc...<br /><br /><span style="font-weight: bold">You have two options.</span><br />1) We recommend you test in <span style="text-decoration: underline">460800 bps or lower bps if you want to use our official wCK cable</span>,<br /><br />2) We ask you to use <span style="text-decoration: underline">&quot;Shield Cable&quot; if you need to use in higher bps</span> than 460800 bps.<br /><br />Hope that this helps.<br />Regards,</span></span><br /><br />I'm not sure how important the 921.6K is to porting the DARwIn code but in any case this is their information.<br /><br />In point 2) they mention shielded cables; I am not sure if they sell them though. I can ask if you're interested although I trust you'll probably have the resources to build your own version of the cables <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />If you need spare wCK cables to reuse the connectors or for experimenting, please let us know as we have quite a few here at the office and can supply a few to you.<br />(the same goes for head cables)<br /><br />Regards<br />Pedro<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Tue May 17, 2011 9:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-05-16T13:18:28+01:00</updated>
<published>2011-05-16T13:18:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31260#p31260</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31260#p31260"/>
<title type="html"><![CDATA[wCK at 921.6K]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31260#p31260"><![CDATA[
Thx. Pedro<br />That error is how close to the required baud rate you are.<br /><br />If 921.6K on the wCK is exact, then I have a rate from the FTDI under linux of 24000000/26 = 923.08. An error of .16% which is well close enough.<br /><br />The errors I get are no response from the wCK, increasing the time out makes no difference.<br /><br />I will put an oscilloscope on the data lines.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon May 16, 2011 1:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2011-05-16T12:13:16+01:00</updated>
<published>2011-05-16T12:13:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31258#p31258</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31258#p31258"/>
<title type="html"><![CDATA[wCK at 921.6K]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31258#p31258"><![CDATA[
Hi i-Bot<br /><br />You may also want to check page 62 of the wCK Manual here <!-- m --><a class="postlink" href="http://robosavvy.com/RoboSavvyPages/Robobuilder/robobuilder-creator-users-manual.pdf">http://robosavvy.com/RoboSavvyPages/Rob ... manual.pdf</a><!-- m --><br /><br />There's probably a more up to date version of the manual by now on the Robobuilder website but in any case, page 62 of that PDF explains the error rate at different clock speeds.<br /><br />In particular see the AVR series where you read that at 921.6 you <span style="font-style: italic">should</span> be getting 0% error rate.<br />I am not sure what is the clock speed on the servos but from the email I posted above they hint it may be at the mentioned 14.7456.<br /><br />Anyway just giving you some more information which I hope can be help.<br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon May 16, 2011 12:13 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2011-05-16T12:02:40+01:00</updated>
<published>2011-05-16T12:02:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31257#p31257</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31257#p31257"/>
<title type="html"><![CDATA[wCK at 921.6K]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31257#p31257"><![CDATA[
Hi i-Bot<br /><br />Just found an email dated back to July 2008 (right after we began selling them) where the speed of the servos is discussed with Robobuilder. Limor sent them a few pertinent questions and they give some explanation as to why they chose to use these speeds:<br /><br /><span style="color: green">&quot;1) why is the controller's Atmega CPU clock rate set to 14.7456 MHz and not<br />to the standard 16Mhz which would allow the servo bus to run at 1Mhz with 0%<br />error ?<br /><br />=&gt; We not only paid attention to the servo bus speed but also to the<br />environment where users can control RoboBuilder directly from PC, which is<br />important for educational purpose. For example, when you use MotionBuilder<br />to build a motion, wCK is controlled directly by PC.<br />As the max speed that PC usually supports is 115200bps, we chose 14.7456MHz<br />in order to meet Error 0%. The usual default speed 115200bps support various<br />CPU types and it can communicate with wCK without any special device.<br />Due to this arrangement, the max speed is not 1Mbps but we think the<br />0.921Mbps doesn't make much difference from 1Mbps.<br /><br /><br />2) Why is the servo bus running at 115200 and not at maximum speed ?<br />Refer to the answer to the question 1)<br /><br /><br />3) So I assume the servos CPU also running at 14.7Mhz and they are by<br />default set to 115200 baud ?<br />User's CPU clock doesn't necessarily need to be 14.7Mhz. For example, if you<br />use Atmega128, use 16Mhz clock and set 115200bps without problem(Error<br />-3.5%).&quot;</span><br /><br />I am not sure if this was posted at the time but in any case this is the information we have at this point.<br /><br />If you'd like I can get in touch with them and ask more about this. Just let me know if this is your only question or if you'd like us to ask for any additional information.<br /><br />Also, as a final note, I know that at 115.2K and using the RBC protocol (communicating with the controller, not the servos), we were told by one other customer that he got packet losses 1 out of 5 000 times. Not nearly as bad as what you're seeing, but we did get reports of this happening at 115ks too.<br /><br />I hope this helps.<br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon May 16, 2011 12:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-05-15T15:42:29+01:00</updated>
<published>2011-05-15T15:42:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31238#p31238</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31238#p31238"/>
<title type="html"><![CDATA[wCK at 921.6K]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7213&amp;p=31238#p31238"><![CDATA[
I just changed all my wCK servos and FTDI controller to 921.6K baud rate under linux.<br /><br />I now get about 10% of commands fail. Previously at 115.2K I never noticed any failure.<br /><br />Did anyone else try 921.6K before I get the testgear out ?<br /><br />Robotis wCK programmer software does not appear to support over 115.2K so I never tried before<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Sun May 15, 2011 3:42 pm</p><hr />
]]></content>
</entry>
</feed>