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

<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-02-13T16:43:49+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=9079</id>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2013-02-13T16:43:49+01:00</updated>
<published>2013-02-13T16:43:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37173#p37173</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37173#p37173"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37173#p37173"><![CDATA[
Looks like the only interruptable pin that's connected on the CM-510 is PB5 which is being used to drive the buzzer.  You would have to make a hardware modification to go this route.<br /><br />Another option is to use a dedicated AVR that sits on the dynamixel bus and can respond to read and write commands.  This AVR runs custom code that extracts the position data from the GPS strings and stores it in a &quot;control table&quot; maintained locally.  The CM-510 treats this AVR like any other dynamixel device and could read the stored information.<br /><br />In the past I have used the HUV I/O Board to implement this sort of thing.  <a href="http://blog.trossenrobotics.com/tag/bioloid-io-board/" class="postlink">http://blog.trossenrobotics.com/tag/bioloid-io-board/</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Wed Feb 13, 2013 4:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-13T15:42:20+01:00</updated>
<published>2013-02-13T15:42:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37172#p37172</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37172#p37172"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37172#p37172"><![CDATA[
<blockquote><div><cite>Fritzoid wrote:</cite><br />Technically this is possible.  Each of the ports on the CM-510 has a pin that's wired to a digital port on the AVR (PA2-PA7).  Any one of these could be used to implement a software driven serial line.  You would have to be using embedded-C, with all that entails, to even think about implementing this kind of functionality.<br /><br />The Arduino library has built-in support for type of software serial lines you are asking about.  Because the CM-510 and the Arduino Mega are based on the same architecture, it should be possible to port the Arduino code over to your application.  I don't know of anyone who has tried this and there could be other problems that make it unworkable but it may be worth looking into.<br /></div></blockquote><br />The problem is...how can I synchronize GPS and microcontroller? The GPS has a pin that pulse each second, but the controller hasn't any pin that support external interrupts!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Wed Feb 13, 2013 3:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2013-02-13T14:57:00+01:00</updated>
<published>2013-02-13T14:57:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37170#p37170</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37170#p37170"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37170#p37170"><![CDATA[
Technically this is possible.  Each of the ports on the CM-510 has a pin that's wired to a digital port on the AVR (PA2-PA7).  Any one of these could be used to implement a software driven serial line.  You would have to be using embedded-C, with all that entails, to even think about implementing this kind of functionality.<br /><br />The Arduino library has built-in support for type of software serial lines you are asking about.  Because the CM-510 and the Arduino Mega are based on the same architecture, it should be possible to port the Arduino code over to your application.  I don't know of anyone who has tried this and there could be other problems that make it unworkable but it may be worth looking into.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Wed Feb 13, 2013 2:57 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-13T11:34:03+01:00</updated>
<published>2013-02-13T11:34:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37169#p37169</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37169#p37169"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37169#p37169"><![CDATA[
I have seen that it's possible to implement a software UART.<br />Now, GPS module transmits NMEA sentences one time per second. The module has a pin that sends a pulse each second. How can I sense the pulse with the cm-510 and than begin to read from the software UART?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Wed Feb 13, 2013 11:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-11T15:06:47+01:00</updated>
<published>2013-02-11T15:06:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37161#p37161</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37161#p37161"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37161#p37161"><![CDATA[
<blockquote><div><cite>Fritzoid wrote:</cite><br />Before you get any deeper into this project, are you aware that GPS units perform poorly indoors?  In addition the effective accuracy of GPS location is quite low for most robotic applications.  Typical error factors can be 2 meters or more in any direction.<br /><br />So a GPS unit is really only useful for outdoor applications where the robot will cover a lot of ground.<br /></div></blockquote><br />The robot is an outdoor robot for rough terrain environment.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Mon Feb 11, 2013 3:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2013-02-11T14:38:59+01:00</updated>
<published>2013-02-11T14:38:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37159#p37159</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37159#p37159"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37159#p37159"><![CDATA[
Before you get any deeper into this project, are you aware that GPS units perform poorly indoors?  In addition the effective accuracy of GPS location is quite low for most robotic applications.  Typical error factors can be 2 meters or more in any direction.<br /><br />So a GPS unit is really only useful for outdoor applications where the robot will cover a lot of ground.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Mon Feb 11, 2013 2:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[planius]]></name></author>
<updated>2013-02-11T11:05:38+01:00</updated>
<published>2013-02-11T11:05:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37157#p37157</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37157#p37157"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37157#p37157"><![CDATA[
No idea, just open the case and have a look at the PCB. If the ATMega chip is a BGA package there is nothing you can do, but if it's QFP and you have a steady hand and a good soldering iron then it should be possible...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2823">planius</a> — Mon Feb 11, 2013 11:05 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-11T10:10:07+01:00</updated>
<published>2013-02-11T10:10:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37156#p37156</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37156#p37156"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37156#p37156"><![CDATA[
<blockquote><div><cite>planius wrote:</cite><br />Have a look at the CM-5 schematic here, the CM-510 appears to be the same, just using the ATMega 2561<br /><br />The serial port is PD2/3 (RX/TX) and the switch between ZigBee and PC link is PD5/6. PD7 can be used to indicate a cable has been plugged into the PC serial connector.<br /><br />You don't have access to the SPI (PB0-3) pins without opening the controller and directly soldering cables onto the pins. <br /><br />The I2C pins (PD0/1) are used otherwise (START button).<br /><br />I don't think that a CM-510 is the best solution for your application.<br /></div></blockquote><br />Do you think it's quite complicated to open the controller and directly solder cables onto the pins? I have seen that PE0 and PE1 are not used and they provide serial communication (RXD0 and TXD0)...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Mon Feb 11, 2013 10:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-11T09:45:00+01:00</updated>
<published>2013-02-11T09:45:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37155#p37155</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37155#p37155"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37155#p37155"><![CDATA[
<blockquote><div><cite>planius wrote:</cite><br />Have a look at the CM-5 schematic her], the CM-510 appears to be the same, just using the ATMega 2561<br /><br />The serial port is PD2/3 (RX/TX) and the switch between ZigBee and PC link is PD5/6. PD7 can be used to indicate a cable has been plugged into the PC serial connector.<br /><br />You don't have access to the SPI (PB0-3) pins without opening the controller and directly soldering cables onto the pins. <br /><br />The I2C pins (PD0/1) are used otherwise (START button).<br /><br />I don't think that a CM-510 is the best solution for your application.<br /></div></blockquote><br />The problem is that i have to work on an existing robot and the control board is a cm-510! I have to control the robot from the PC through Zigbee and I have to know the position of the robot in the world, so I have to use a GPS module, but all GPS modules uses a serial connection!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Mon Feb 11, 2013 9:45 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[planius]]></name></author>
<updated>2013-02-08T22:08:08+01:00</updated>
<published>2013-02-08T22:08:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37147#p37147</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37147#p37147"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37147#p37147"><![CDATA[
Have a look at the CM-5 schematic here: <a href="http://robosavvy.com/forum/viewtopic.php?t=2631" class="postlink">http://robosavvy.com/forum/viewtopic.php?t=2631</a>, the CM-510 appears to be the same, just using the ATMega 2561<br /><br />The serial port is PD2/3 (RX/TX) and the switch between ZigBee and PC link is PD5/6. PD7 can be used to indicate a cable has been plugged into the PC serial connector.<br /><br />You don't have access to the SPI (PB0-3) pins without opening the controller and directly soldering cables onto the pins. <br /><br />The I2C pins (PD0/1) are used otherwise (START button).<br /><br />I don't think that a CM-510 is the best solution for your application.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2823">planius</a> — Fri Feb 08, 2013 10:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-08T17:51:28+01:00</updated>
<published>2013-02-08T17:51:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37146#p37146</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37146#p37146"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37146#p37146"><![CDATA[
Can I use the PC link (serial cable) jack to connect a GPS to the cm-510 with a self-made cable that conect TX/RX/GND pins of the GPS to a 3.5 jack?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Fri Feb 08, 2013 5:51 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-08T11:39:57+01:00</updated>
<published>2013-02-08T11:39:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37142#p37142</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37142#p37142"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37142#p37142"><![CDATA[
<blockquote><div><cite>planius wrote:</cite><br />1 - you need an analog gyro.<br /></div></blockquote><br />Now I've seen that it's possible to implement SPI (or I2C) via software configuring single pins as input or output.<br /><br /><blockquote><div><cite>planius wrote:</cite><br />2 - not sure, but if its a serial connection you can simply use the ZigBee/Bluetooth port and implement the NMEA protocol on the CM-510 (if you use BioloidCControl as your firmware)<br /></div></blockquote><br />Mmmm...the problem is that te ZigBee is just use for the communication between cm-510 and PC. I have to connect a GPS to cm-510 and read latitude and longitude, and then send these infos to the PC through Zigbee.<br />Can I connect the GPS to the pins of a 5-pin port of the cm-510 and read data?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Fri Feb 08, 2013 11:39 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[planius]]></name></author>
<updated>2013-02-08T10:52:27+01:00</updated>
<published>2013-02-08T10:52:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37141#p37141</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37141#p37141"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37141#p37141"><![CDATA[
1 - you need an analog gyro. For example <a href="https://www.sparkfun.com/products/11341" class="postlink">https://www.sparkfun.com/products/11341</a>. You need a voltage divider, as the CM-510 supplies 5V, not 3.3V<br />2 - not sure, but if its a serial connection you can simply use the ZigBee/Bluetooth port and implement the NMEA protocol on the CM-510 (if you use BioloidCControl as your firmware)<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2823">planius</a> — Fri Feb 08, 2013 10:52 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[4sk8ters]]></name></author>
<updated>2013-02-08T09:16:34+01:00</updated>
<published>2013-02-08T09:16:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37140#p37140</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37140#p37140"/>
<title type="html"><![CDATA[Some questions about cm-510]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9079&amp;p=37140#p37140"><![CDATA[
Hi guy,<br />I have some questions for you about connecting cm-510 with gyros and with GPS. <br /><br />1-Quite all gyros I've seen on the net are digital and communicate through SPI or I2C protocol. Does cm-510 support SPI or I2C protocols?<br />2-How can I connect a GPS module to cm-510? All GPS module I've seen communicate through a serial connection (NMEA protocol).<br /><br />Thank you for your responses and sorry for my bad english!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4186">4sk8ters</a> — Fri Feb 08, 2013 9:16 am</p><hr />
]]></content>
</entry>
</feed>