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

<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>2007-03-02T23:02:06+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1163</id>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-02T23:02:06+01:00</updated>
<published>2007-03-02T23:02:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7757#p7757</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7757#p7757"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7757#p7757"><![CDATA[
I have two links dealing with interfacing to the Bioloid bus:<br /><br />This first one is for talking to the bus using a Robostix, and you can talk to the Robostix either with a gumstix or directly from your PC:<br /><br /><a href="http://www.bioloid.info/tiki/tiki-index.php?page=gumstix" class="postlink">http://www.bioloid.info/tiki/tiki-index.php?page=gumstix</a><br /><br />The second link is probably better, and has a very detailed tutorial on how to build and program a direct link using a generic ATmega128 board from Sparkfun.<br /><br /><a href="http://www.bioloid.info/tiki/tiki-index.php?page=pc+serial" class="postlink">http://www.bioloid.info/tiki/tiki-index.php?page=pc+serial</a><br /><br />Unless you are interesting in using wifi to control your Bioloid, the USB option mentioned early is probably the simplest thing to do.<br /><br />If you want wifi, then building the board in the second link is the first step. I will be following that up with a new tutorial (one we get all the issues worked out) with hooking the ATmega128 to a wifi module. This will give you a full 1.0 Mbps wireless connection to your Bioloid.<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Fri Mar 02, 2007 11:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2007-03-02T22:53:06+01:00</updated>
<published>2007-03-02T22:53:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7756#p7756</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7756#p7756"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7756#p7756"><![CDATA[
Another option is to use Gumstix. (<!-- w --><a class="postlink" href="http://www.gumstix.com">www.gumstix.com</a><!-- w -->)<br />It will upgrade your Bioloid with 400mhz of processing power.<br /><br />RoboSavvy has sponsored a research at university of Lisbon <a href="http://www.dem.ist.utl.pt/" class="postlink">Robotics Lab</a> to do sort of what you describe and I've been heavily involved in it the past 5 months.<br /><br />The objective is to have a configuration that will allow researchers to explore real-time feedback control of the humanoid using the one tool they love most - Matlab and Simulink!<br /><br />So we are working on the following setup:<br /><br />1) You create pretty control loop diagrams using Simulink running on PC. You can assume to receive positions/voltage/load from every Bioloid servo (and sensor) 100 times per second and update every servo's direction and speed 100 times per second. ie: Fixed rate control loop at 100hz cycle. [The first step was to use a PC to communicate with the CM5 and to do this control loop at 100hz without the Gumstix. ]<br /><br />2) Compile the simulink diagram into C code designed for &quot;Linux Target&quot;<br /><br />3) Cross Compile the resulting source code on the PC and transfer the binary to Gumstix which is inside the Bioloid CM5 block, has a 400mhz Xscale processor and runs Linux.<br /><br />4) Gumstix communicates with Simulink over TCP/IP acting as a &quot;Remote Target&quot;. Simulink can start/stop/Visualise-data by communicating with the Gumstix (over TCP over BlueTooth).<br /><br />5) Gumstix needs a daughter board to communicate with the Bioloid bus. We are using with a daughter board called - Robostix - which is similar to the CM5 (same ATMega128 so it runs the same code as CM5) but exposes many of the ATMega128 i/o pins. Robostix communicates with the Bioloid bus and passes messages back and forth between the servos and the Gumstix.<br /><br />6) The control loop runs at 100hz. Gumstix receives position/voltage/load from each servo. Gumstix updates motor direction and speed (voltage) to each servo.<br /><br /><br />The current state of things is not very presentable but we've got a semi stable working environment and we'll be happy to share what we have. I tried to convince the students to blog their activity but it is proving to be a challenging request. check out the Blog link in the Robosavvy Main Menu tree (on the left)<br /><br /><br />Also check out some posts here on the forum by JonHylands who has also connected a Gumstix/Robostix to the Bioloid bus.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Fri Mar 02, 2007 10:53 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-02T20:02:05+01:00</updated>
<published>2007-03-02T20:02:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7751#p7751</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7751#p7751"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7751#p7751"><![CDATA[
I don't know how easy it is to make - I haven't made one. You might try posting your question in that thread.<br /><br />However, once you have it you will be able to control AX-12 servos directly from your PC.<br /><br />It does not plug into the serial port - it plugs into a USB port. However, from your code it will look (and act) like a serial port.<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Fri Mar 02, 2007 8:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Marmakoide]]></name></author>
<updated>2007-03-02T19:45:38+01:00</updated>
<published>2007-03-02T19:45:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7749#p7749</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7749#p7749"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7749#p7749"><![CDATA[
Sorry to be that lame, I really sucks in electronics, I'am just a coder. This interface<br />   * Is easy to made even for a totally electronics stuff newbie ?<br />   * Allow to control the dynamixels directly by sending/reading bytes as in the dynamixels docs ?<br />   * Is plugged in the serial port of my PC ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=544">Marmakoide</a> — Fri Mar 02, 2007 7:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-02T19:39:20+01:00</updated>
<published>2007-03-02T19:39:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7748#p7748</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7748#p7748"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7748#p7748"><![CDATA[
Not quite, but it is pretty simple:<br /><br /><a href="http://robosavvy.com/forum/viewtopic.php?t=990" class="postlink">http://robosavvy.com/forum/viewtopic.php?t=990</a><br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Fri Mar 02, 2007 7:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Marmakoide]]></name></author>
<updated>2007-03-02T19:29:56+01:00</updated>
<published>2007-03-02T19:29:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7746#p7746</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7746#p7746"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7746#p7746"><![CDATA[
So you suggest that such a manipulation is prone to head-on-the-wall-smashing ? Then, could you give me some pointers on this &quot;Arnaud's interface&quot; stuff ? Is it a direct connection to the Dynamixels throught a good old serial port ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=544">Marmakoide</a> — Fri Mar 02, 2007 7:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[billyzelsnack]]></name></author>
<updated>2007-03-02T19:18:19+01:00</updated>
<published>2007-03-02T19:18:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7745#p7745</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7745#p7745"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7745#p7745"><![CDATA[
This is exactly what I was doing until I bricked my CM5. Now I just built Arnaud's interface and it runs at 1Mb.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=459">billyzelsnack</a> — Fri Mar 02, 2007 7:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Marmakoide]]></name></author>
<updated>2007-03-02T19:08:47+01:00</updated>
<published>2007-03-02T19:08:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7743#p7743</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7743#p7743"/>
<title type="html"><![CDATA[Using CM5 as a bridge]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1163&amp;p=7743#p7743"><![CDATA[
Hi !<br />   I need an advice from advanced users... As a Phd student, I made a nice algorithm to control general articulated robots as hexapods or snakes. It worked well on simulated robots, now time to test that on real one. So we (my team mates and me) bought a Robotis kit. I made the Spider King... I was able to made some simple C programs and play them on the CM5. But my algorithm is too heavy for the CM5, I need more CPU power. A PC<br /><br />So... Is it possible to do that ?<br />* My PC sends commands to the CM5, by using the serial connection<br />* The CM5 provide those commands to the Dynamixels<br />* The CM5 gather datas from the Dynamixels<br />* The CM5 sends those datas to my PC<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=544">Marmakoide</a> — Fri Mar 02, 2007 7:08 pm</p><hr />
]]></content>
</entry>
</feed>