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

<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-09-22T19:14:39+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1750</id>
<entry>
<author><name><![CDATA[Chris.H]]></name></author>
<updated>2007-09-22T19:14:39+01:00</updated>
<published>2007-09-22T19:14:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11280#p11280</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11280#p11280"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11280#p11280"><![CDATA[
<img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> Hi I can confirm that is right:<br />0xFF 0x55 0x01 0xFE 0x00 0xFF   = 0x01 or 1<br />0xFF 0X55 0x00 0xFF 0x00 0xFF   = 0x00 or 0<br />This works from a Cm5 to a PC or PC to Cm5.<br />I'm new to this. Has anyone a circuit of the CM5? I notice the circuit of the Zig100r PC board has been up issued so that R11(0ohm link) selects power from the D connector Pin9 or R10(0 ohm link) via J10. These were previously resistors on the serial lines.<br /><!-- e --><a href="mailto:chris.harris@Freenet.co.uk">chris.harris@Freenet.co.uk</a><!-- e --><br />Dublin<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=748">Chris.H</a> — Sat Sep 22, 2007 7:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2007-09-19T00:29:19+01:00</updated>
<published>2007-09-19T00:29:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11170#p11170</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11170#p11170"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11170#p11170"><![CDATA[
Scotty <br /><br />Remember the Bioloid uses a packet based protocol so you need to support that: An extract from the site may help :<br /><br />The wireless interface utilises a packet based serial protocol. This packet format is a variation on the Dynamixel packet protocol used by Robotis to control the AX-12s and AX-S1. If you wish to communicate with the CM-5 via the wireless socket on the processor you'll need to send data in he correct packet protocol. The packet format is as follows:<br /><br />Packet Format :<br />0xFF 0x55 LSB ~LSB MSB ~MSB<br /><br />Where ~LSB is the inverse or compliment of LSB and ~MSB is the inverse or compliment of MSB.<br />(thus ~ = Logical NOT)<br /><br />To put that another way if you add up LSB and ~LSB you should end up with 255 decimal or 0xFF (hex)<br /><br />Lets take an example that sends the value 65. If you want to send 65 via the Zig100 protocol you need to send:<br /><br />255 85 65 190 0 255<br /><br />Or<br /><br />0xFF 0x55 0x41 0xBE 0x00 0xFF<br /><br />If you add the LSB and ~LSB in the example above you get 255 or 0xFF.<br /><br />To send larger number such as 0x1234 the LSB is sent first and the MSB second.<br /><br />0xFF 0x55 0x34 0xCB 0x12 0xED<br /><br />Remember even if you have a value that only has a LSB you must send a zero value MSB and its inverse.<br /><br />As long as you adhere to the packet format the CM-5 will recognize your incoming data and decode it to the value you sent. When the CM-5 sends data it is in this packet format so your receiving program will need to decode it if you wish to close the control loop.<br /><br />Hope that helps<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Wed Sep 19, 2007 12:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[srobot]]></name></author>
<updated>2007-09-17T22:48:30+01:00</updated>
<published>2007-09-17T22:48:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11151#p11151</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11151#p11151"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11151#p11151"><![CDATA[
Thanks! It is fine with this code:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>SerialPort1.Write&#40;5&#41;</code></dd></dl><br /><br />Now if it works...<br /><br />I don't have a robot yet to test this on, would anyone like to try it?<br /><br />I can post the MS VB source code, or a *.exe, your choice.<br /><br />--Scotty<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=419">srobot</a> — Mon Sep 17, 2007 10:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[roycepipkins]]></name></author>
<updated>2007-09-17T22:22:26+01:00</updated>
<published>2007-09-17T22:22:26+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11149#p11149</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11149#p11149"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11149#p11149"><![CDATA[
I don' think so. My understanding is that serialport1.databits is not the &quot;send this out of the serial port&quot; function. Rather it controls the number of data bits in a single serial byte's frame. You want .databits = 8. The &quot;send this out of the serial port&quot; function is serialport1.write() I believe.<br /><br />The numbers you send are supposed to be real numbers, also. Not a string. &quot;255&quot; passed to .write() won't send the single number 255. Rather it will send the ASCII number for the character &quot;2&quot; followed by the ASCII number for the character &quot;5&quot; twice over. So you wind up sending three numbers, a 50 followed by two 53's rather than a single 255. <br /><br />Read this post to get another idea of the correct number sequence to send for the number 5: <a href="http://robosavvy.com/forum/viewtopic.php?t=1395&amp;highlight=" class="postlink">http://robosavvy.com/forum/viewtopic.php?t=1395&amp;highlight=</a><br /><br />The numbers I think you want to send a 5 are:<br /><br />255 85 5 250 0 255<br /><br />In VB *think* that will be the string chr(255) + chr(85) +... etc. assuming .write() demands a string<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=205">roycepipkins</a> — Mon Sep 17, 2007 10:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[srobot]]></name></author>
<updated>2007-09-17T19:44:06+01:00</updated>
<published>2007-09-17T19:44:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11141#p11141</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11141#p11141"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11141#p11141"><![CDATA[
Thanks Pev!<br /><br />Do I have this right?<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>SerialPort1.DataBits = &quot;255 85 5 190 0 255&quot;</code></dd></dl><br /><br />&quot;SerialPort1&quot; = A Serial Port On A Computer<br /><br />&quot;5&quot; = Back<br /><br />So if I have this right (and programming on a robot), the robot should go backwards.<br /><br />I will post the program and source code as soon as I am done (or if anybody would like to see it now I'll post where I am at now).<br /><br />--Scotty<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=419">srobot</a> — Mon Sep 17, 2007 7:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2007-09-17T08:20:50+01:00</updated>
<published>2007-09-17T08:20:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11126#p11126</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11126#p11126"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11126#p11126"><![CDATA[
Scotty,<br /><br />It is a packet based format and I managed to get the info from Robotis and put it in my Bluetooth Hack document. Its on my website in the Biolod Mods and HAcks section. Also has a very basic example of sending a packet in VB.net.<br /><br />Hope this helps and good luck, be interested to see the results<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Mon Sep 17, 2007 8:20 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2007-09-16T23:02:01+01:00</updated>
<published>2007-09-16T23:02:01+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11119#p11119</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11119#p11119"/>
<title type="html"><![CDATA[Re: Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11119#p11119"><![CDATA[
<blockquote><div><cite>srobot wrote:</cite><br />I'm working on a Bioloid control program (sort of like BioBlue), but I don't know what values to send to the Zig-100.<br /><br />Does anyone know what Bits, Bytes, etc. I need to send to the Zig-100? <br /><br />Thanks,<br />--Scotty<br /></div></blockquote><br /><br />I'm not sure about what dou you mean with &quot;values to send&quot;, but for CM-5 communications this message from Dewey:<br /><br /><!-- m --><a class="postlink" href="http://robosavvy.com/forum/viewtopic.php?t=1642">http://robosavvy.com/forum/viewtopic.php?t=1642</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Sun Sep 16, 2007 11:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[srobot]]></name></author>
<updated>2007-09-16T21:16:28+01:00</updated>
<published>2007-09-16T21:16:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11115#p11115</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11115#p11115"/>
<title type="html"><![CDATA[Bioloid Control Program From a PC]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1750&amp;p=11115#p11115"><![CDATA[
I'm working on a Bioloid control program (sort of like BioBlue), but I don't know what values to send to the Zig-100.<br /><br />Does anyone know what Bits, Bytes, etc. I need to send to the Zig-100? <br /><br />Thanks,<br />--Scotty<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=419">srobot</a> — Sun Sep 16, 2007 9:16 pm</p><hr />
]]></content>
</entry>
</feed>