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

<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>2013-08-19T14:35:49+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=6831</id>
<entry>
<author><name><![CDATA[kangkamal]]></name></author>
<updated>2013-08-19T14:35:49+01:00</updated>
<published>2013-08-19T14:35:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=38476#p38476</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=38476#p38476"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=38476#p38476"><![CDATA[
<blockquote><div><cite>tedlarson wrote:</cite><br />Leave it to me to solve my own problem....I have it working now.<br /><br />The solution is cryptic but simple.  The serial port defaults to 2k to talk to the IR remote control.  The Zig-100 sends some commands to change the bit rate when it first powers up.<br /><br />The solution to using the serial port WITHOUT a Zig-100 attached, to get the bit rate to 56k, is to set the RemoteID=255.  This is obfuscated command that forces it to switch to 56k.<br /><br />Glad it is working....sucks that it took days for something stupid simple like that.<br /><br />-Ted<br /></div></blockquote><br /><br />Can you make a video for tutorial, (hardwaring and softwaring)? cause i'm really confuse,.. please,.. n thanks,. <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4295">kangkamal</a> — Mon Aug 19, 2013 2:35 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugobiwan]]></name></author>
<updated>2012-07-27T19:42:52+01:00</updated>
<published>2012-07-27T19:42:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=34959#p34959</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=34959#p34959"/>
<title type="html"><![CDATA[Arduino controlling CM510 through minijack using IR protocol]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=34959#p34959"><![CDATA[
Hello, two years later i can use the great infos you have posted here.<br />I took control of the CM5 via arduino in Program mode, and now of the CM510 through PLAY mode. That's much better to use the gyro <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><br /><br />Here is a simple proof of concept code published on my project blog : <br /><!-- m --><a class="postlink" href="http://mixedreality.tumblr.com/post/28135835266/javais-evoque-linteret-dexplorer-la-voie-du">http://mixedreality.tumblr.com/post/281 ... la-voie-du</a><!-- m --><br /><br />Best regards. I would especially thank mister Fritzoid for sharing many useful are rare infos about CM510 commands in every mode using serial. <br /><br />Best regards,<br />@hugobiwan<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2913">hugobiwan</a> — Fri Jul 27, 2012 7:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-18T18:26:00+01:00</updated>
<published>2010-12-18T18:26:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29407#p29407</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29407#p29407"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29407#p29407"><![CDATA[
I would really like to set the wireless link to 250kbbs because right now I am not using robotis firmware in CM510 and so have the luxury of using higher baudrates. I am using robotis bootloader of course, but have no problem connecting cable to upload new firmware.<br /><br />I found this Zig100 PDF:<br /><a href="http://www.crustcrawler.com/electronics/zig/docs/ZIG-100%28English%29.pdf" class="postlink">http://www.crustcrawler.com/electronics/zig/docs/ZIG-100%28English%29.pdf</a><br /><blockquote class="uncited"><div><br />supplying power and transmitting “!”to Zigbee<br />Module after reset within 60ms will change to Zigbee setup mode<br /></div></blockquote><br /><br />The  Zig110 looks the same but only exposes TXD,RXD,VDD,GND. If the above quote is performed then I'm hoping it too will enter setup mode.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Sat Dec 18, 2010 6:26 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Dewey]]></name></author>
<updated>2010-12-18T16:46:05+01:00</updated>
<published>2010-12-18T16:46:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29405#p29405</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29405#p29405"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29405#p29405"><![CDATA[
You can alter the com speed on a Zig100 if you put it into a Zig2Serial board, this procedure is documented in the 'Bioloid User Guide' for the Comprehensive kit. However as you say no point as the CM5 (and CM510) firmware is expecting 57600bd.<br /><br />I know of no way you can alter the Zig110, but never investigated the issue.<br /><br />Dewey<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=616">Dewey</a> — Sat Dec 18, 2010 4:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-18T16:21:39+01:00</updated>
<published>2010-12-18T16:21:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29404#p29404</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29404#p29404"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29404#p29404"><![CDATA[
I think &quot;basic&quot; is Robotis code for &quot;ONLY&quot;.  There is certainly no documentation whatsoever on getting the Zig100 to run at any speed other than that....at least that I have encountered....and I did tons of searching.<br /><br />It seems like if you were using the C-api, (not RoboPlus), and you had direct control over the CM serial port, AND you ditched the Robotis Zigbee stuff, in favor of something else like an XBee pro, so again you had documented control over the data stream, you could do it.<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Sat Dec 18, 2010 4:21 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2010-12-18T12:56:46+01:00</updated>
<published>2010-12-18T12:56:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29402#p29402</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29402#p29402"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29402#p29402"><![CDATA[
Ummm, but at <a href="http://support.robotis.com/en/product/auxdevice/communication/zig2serial_manual.htm" class="postlink">ZIG2Serial page of Robotis</a> it says &quot;Basic Communication Speed : 57600bps&quot;<br /><br />Do you know what they mean with &quot;basic&quot;?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Sat Dec 18, 2010 12:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2010-12-17T22:38:28+01:00</updated>
<published>2010-12-17T22:38:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29393#p29393</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29393#p29393"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29393#p29393"><![CDATA[
@tedlarson<br />Glad to read you solved that cryptic problem.<br /><br /><blockquote><div><cite>Fritzoid wrote:</cite><br /><a href="http://robosavvy.com/Builders/Fritzoid/" class="postlink">http://robosavvy.com/Builders/Fritzoid/</a><br /></div></blockquote><br />Very handy page Fritzoid, thanks!<br /><br />@All,<br /><br />I'm thinking of getting a Zig2Serial to use with my Zig110 pair:<br /><a href="http://robosavvy.com/store/product_info.php/products_id/224" class="postlink">http://robosavvy.com/store/product_info.php/products_id/224</a><br /><br />Q)<br />With no 2.5mm jack plugged in will the wireless serial link operate just the same as the cable (only limited to top baud of 250kbps)? Any small differences etc?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Fri Dec 17, 2010 10:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-17T02:59:05+01:00</updated>
<published>2010-12-17T02:59:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29380#p29380</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29380#p29380"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29380#p29380"><![CDATA[
Leave it to me to solve my own problem....I have it working now.<br /><br />The solution is cryptic but simple.  The serial port defaults to 2k to talk to the IR remote control.  The Zig-100 sends some commands to change the bit rate when it first powers up.<br /><br />The solution to using the serial port WITHOUT a Zig-100 attached, to get the bit rate to 56k, is to set the RemoteID=255.  This is obfuscated command that forces it to switch to 56k.<br /><br />Glad it is working....sucks that it took days for something stupid simple like that.<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Fri Dec 17, 2010 2:59 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-17T00:41:08+01:00</updated>
<published>2010-12-17T00:41:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29378#p29378</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29378#p29378"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29378#p29378"><![CDATA[
Just to clarify some things.  I am not using the Zig-100.  I have another microcontroller, connected directly to the 4-pin serial port, instead of it.  It is using 3V logic.   I do NOT have the programming cable connected at the same time.<br /><br />If I write the worlds simplest RoboPlus program:<br /><br />START PROGRAM<br />{<br />Remocon TXD = 85<br />}<br /><br />It will send out a hex 0x55, at 2kbps, properly packed in the packet format.  It looks like this:<br />FF 55 55 AA 00 FF<br /><br /> This is undisputable at this point.  I don't know why it picks this baud rate....it just does.  However, I cannot receive a data packet into the CM-510 using the following simple program:<br /><br />START PROGRAM<br />{<br />IF(Remocon Arrived == TRUE)<br />{<br />   RXX = Remocon RXD <br />   Aux LED = TRUE<br />}<br />}<br /><br />I never get the light.  Even if I send the packet properly formatted.<br /><br />What I think is going on is....the Zig-100 doesn't just have a radio in it, it has an ATMega microcontroller in there.  It does something to signal to the CM-150 when it is connected.  Otherwise, by default it assumes you have the IR receiver for the remote control attached.  This is why it uses a 2K send rate by default, for sending via the IR remote port.<br /><br />Without putting a protocol analyzer between the zig-100 and the CM-510, there is no way to know for sure.  Unless somone has some info they can post here that tells me the answer for sure, that will be my next step.<br /><br />Thanks,<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Fri Dec 17, 2010 12:41 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2010-12-16T14:11:50+01:00</updated>
<published>2010-12-16T14:11:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29371#p29371</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29371#p29371"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29371#p29371"><![CDATA[
tedlarsen wrote:<br /><blockquote class="uncited"><div><br />If I boot it without the USB dongle attached, I get a constant stream of error messegs out of the serial port<br /></div></blockquote><br /><br />From what serial port number in what program ?<br /><br />FYI, the ZigBee (serial) port on the robot is disabled when the serial cable is plugged-in.<br /><br />Dewey wrote:<br /><br /><blockquote class="uncited"><div><br />You cannot listen or send Remocon Commands and expect it to work over the cable programming jack port!<br /></div></blockquote><br /><br />But, RoboPlus Manage has an feature that does exactly that!  <br /><br />Actually, data packets can be received from either source.  The magic happens in the Task program.  <br /><br />Reading &quot;Remocon Arrived&quot; causes the firmware to scan the input buffer for another data packet (skipping anything else).  If a complete packet is found in the buffer then the data bytes are saved and the read Remocon Arrived call returns True.  A subsequent read of &quot;Remocon RXD&quot; will return the saved data.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Thu Dec 16, 2010 2:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Dewey]]></name></author>
<updated>2010-12-16T08:53:53+01:00</updated>
<published>2010-12-16T08:53:53+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29370#p29370</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29370#p29370"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29370#p29370"><![CDATA[
Ok, we need to be clear what hardware arrangement you are using. The  Remocon Command operates over the 4pin CM510 IR/zig110 port. The Zig units are preset by Robotis to operate at 57600baud.<br /><br />You cannot listen or send  Remocon Commands and expect it to work over the cable programming jack port!<br /><br />You need to connect Zig110 to the CM510 and at your computer end the Zig2Usb Unit and a Zig2Serial Unit with a Zig100 Unit mounted on it. Alternatively make a cable up to connect the CM510 IR/Zig110 port to a TTL to RS232 Level Converter and then to the USB2Serial Unit. Both methods will work fine for me.<br /><br />I'm at a loss to understand any CM510 data transmission at 2K baud!!!<br /><br /><br />Dewey<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=616">Dewey</a> — Thu Dec 16, 2010 8:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-16T01:35:19+01:00</updated>
<published>2010-12-16T01:35:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29360#p29360</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29360#p29360"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29360#p29360"><![CDATA[
Ok....Major Breakthrough.....I was fiddling more with option #1...i.e. building a RoboPlus program to take input from the serial port, and process it.<br /><br />My RoboPlus application is dirt simple right now for testing.  I thought I would just try to send data out of the CM-510 first, and then see if I could get something coming out of the unit.  I just did this test, and it sends data, but the data rate is really wierd.  I put it on the scope, and the rate is 2kbps..i.e. the pulses are 500uS long.  I re-timed my UART on the receiving side to 2kbps, and I am receiving data properly now.<br /><br />SOOOO.....How do I change the baud rate on RemoconTX to run at something other than 2k?<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Thu Dec 16, 2010 1:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-16T00:32:02+01:00</updated>
<published>2010-12-16T00:32:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29359#p29359</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29359#p29359"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29359#p29359"><![CDATA[
I am really stuck now......nothing works as I had hoped.<br /><br />I tried both methods suggested above:<br /><br />1)  I tried sending commands to RoboPlus using RemoconRXD, but the command never makes it in.  I can see the RX light flash on the CM-510, but the protocol of the FF 55..etc. doesn't seem to work for me.  I was testing this by just pusing the command in, and then having it send back what it received using RemoconTXD.  Nothing.<br /><br />2)  I tried using the monitor to control the robot.  The problem is the serial port doesn't seem to behave the same way as the one in RoboPlus terminal.  If I boot it without the USB dongle attached, I get a constant stream of error messegs out of the serial port.  However, as soon as the serial dongle is attached, everything is fine.<br /><br />All I want to do is send it the motion numbers over a serial port so that I can sequence the moves using an external microcontroller.  This shouldn't be this hard.  I have spent days on it at this point.<br /><br />All this whacky behavior, is really frustrating.  The lack of documentation really sucks.  I am just wanting to throw the whole thing in the trash bin.<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Thu Dec 16, 2010 12:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2010-12-13T21:11:20+01:00</updated>
<published>2010-12-13T21:11:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29326#p29326</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29326#p29326"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29326#p29326"><![CDATA[
Assuming that you are in manage mode already (vM).<br /><br />Say you want to write to the goal position on servo 001 (usually the right shoulder servo).  First change the CID to servo 001 with the following command:<br /><br />CID 1<br /><br />The prompt should now read {[001:]}<br /><br />Now, subsequent commands will be sent to servo 001.<br /><br />To write to the goal position you need to supply an address and two bytes of data. i.e.<br /><br />WR 30 57 1<br /><br />The first number is the &quot;goal position&quot; address in the servo control table.  The next two bytes are the data.  The low byte of a two-byte field, like goal position, goes first (57) and the high byte goes second (1 in this case).  The word value transmitted in this case would be 313 (1*256 + 57).<br /><br />If you issue the HEX command first, then you can enter your parameters in hexadecimal.  The above command would in hex would be<br /><br />WR 1E 39 01<br /><br />Responses will be displayed in hexadecimal too if you are in HEX mode.  Use the DEC command to return to decimal mode.<br /><br />READ, REG_WR,  SYNC_WR etc. work in a similar manner.<br /><br />To use the H command you need to supply the entire packet (header checksum and all) in hex digits following the command name.  The equivalent command for setting the goal position would be something like this...<br /><br />H FF FF 01 05 03 1E 57 01 80<br /><br />Hope this helps a little.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Mon Dec 13, 2010 9:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tedlarson]]></name></author>
<updated>2010-12-13T20:37:36+01:00</updated>
<published>2010-12-13T20:37:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29325#p29325</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29325#p29325"/>
<title type="html"><![CDATA[CM510 as a slave...]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6831&amp;p=29325#p29325"><![CDATA[
Thanks for both of these replies.  Both are good ways to go.<br /><br />Fritz....I brought up RoboPlus Terminal and started fooling with the commands in there.  Some commands only work in certain modes.  Like MONITOR mode for example. <br /><br />It is not clear from the document, for example, if I wanted to send a position command to a specific servo, in monitor mode, how I can format the command.  There appears to be a H command that allows you to write directly to the dynamixel bus, but it isn't clear how to do it.  I fiddled with trying things for like an hour but couldn't get any servos to move.  Any ideas?<br /><br />Thanks,<br /><br />-Ted<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2486">tedlarson</a> — Mon Dec 13, 2010 8:37 pm</p><hr />
]]></content>
</entry>
</feed>