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

<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-08T16:33:33+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1178</id>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2007-03-08T16:33:33+01:00</updated>
<published>2007-03-08T16:33:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7908#p7908</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7908#p7908"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7908#p7908"><![CDATA[
<blockquote><div><cite>lnielsen wrote:</cite><br />Have you looked at openservo.org? I was thinking of modifying some of their code for the AX12. This would allow a side by side comparison of the two systems. I am especially interested in comparing the different compliance methods.<br /></div></blockquote><br />Thats a great idea. <br /><blockquote class="uncited"><div><br />What would be the purpose of the gyro/Accelerometer? I can see a use for Jon's 6-axis unit as a separate sensor but I don't know how I would use a 1-axis feature in each servo.<br /></div></blockquote><br />it depends on whether the pins are accessible on the AX12's Atmega8. It has may ADC pins, some are used for (potentiometer, current, etc). tapping into the small pins of the smd IC may be too difficult.<br />[/quote]<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Thu Mar 08, 2007 4:33 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2007-03-08T15:49:17+01:00</updated>
<published>2007-03-08T15:49:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7904#p7904</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7904#p7904"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7904#p7904"><![CDATA[
<blockquote><div><cite>JonHylands wrote:</cite><br />I'm not sure I follow you, limor.<br /><br />We're trying to use the AX-12 as a servo, not a gearmotor.<br /><br />If you're talking about the speed control mode, then yes, you can use the PWM to control motor speed directly, which is what I believe the AX-12 already does.<br /></div></blockquote><br /><br />Right, but if you try apply counter-torque while the AX12 is rotating, it will not adaptively increase the amount of voltage/current to the motor in order to control the speed.<br /><br /><blockquote><div><cite>JonHylands wrote:</cite><br />&quot;I also need good speed control rather than holding-position control.&quot;<br />Are you using the AX-12 in full-rotate mode, or as a servo (300 degrees) mode?<br /></div></blockquote><br />Currently in order to achieve speed control we use it in servo mode in order to ensure it doesn't go into the dead zone where the potentiometer doesn't read any position data. Position data at 100hz is needed in order to estimate the speed and try and control it. This could be done inside the servo. have a look at the velocity estimation posting (<a href="http://robosavvy.com/site/index.php?option=com_content&amp;task=blogcategory&amp;id=1&amp;Itemid=47" class="postlink">blogs link</a> in main robosavvy menu on the left)<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Thu Mar 08, 2007 3:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[lnielsen]]></name></author>
<updated>2007-03-07T16:30:28+01:00</updated>
<published>2007-03-07T16:30:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7871#p7871</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7871#p7871"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7871#p7871"><![CDATA[
Have you looked at openservo.org? I was thinking of modifying some of their code for the AX12. This would allow a side by side comparison of the two systems. I am especially interested in comparing the different compliance methods.<br /><br />What would be the purpose of the gyro/Accelerometer? I can see a use for Jon's 6-axis unit as a separate sensor but I don't know how I would use a 1-axis feature in each servo.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=482">lnielsen</a> — Wed Mar 07, 2007 4:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-07T13:36:27+01:00</updated>
<published>2007-03-07T13:36:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7865#p7865</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7865#p7865"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7865#p7865"><![CDATA[
I'm not sure I follow you, limor.<br /><br />We're trying to use the AX-12 as a servo, not a gearmotor.<br /><br />If you're talking about the speed control mode, then yes, you can use the PWM to control motor speed directly, which is what I believe the AX-12 already does.<br /><br />You said in your original post:<br /><br />&quot;I also need good speed control rather than holding-position control.&quot;<br /><br />Are you using the AX-12 in full-rotate mode, or as a servo (300 degrees) mode?<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Wed Mar 07, 2007 1:36 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2007-03-07T09:53:26+01:00</updated>
<published>2007-03-07T09:53:26+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7856#p7856</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7856#p7856"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7856#p7856"><![CDATA[
<blockquote><div><cite>JonHylands wrote:</cite><br />limor,<br />This is something we're considering doing. We're not really interested in speed control, but in using the servos as force-driven actuators. However, there's no reason not to do a decent job on the speed control at the same time.<br /></div></blockquote><br />Actually, by turning off the compliance parameters (free turn mode), can't you control the voltage driving the motor?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Wed Mar 07, 2007 9:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-06T23:12:00+01:00</updated>
<published>2007-03-06T23:12:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7844#p7844</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7844#p7844"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7844#p7844"><![CDATA[
My brother pointed out that the Arduino Stamp comes with a 16 MHz crystal, so it should be compatible with using it as a bioloid sensor...<br /><br /><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8164" class="postlink">http://www.sparkfun.com/commerce/product_info.php?products_id=8164</a><br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Tue Mar 06, 2007 11:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-03-06T23:04:07+01:00</updated>
<published>2007-03-06T23:04:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7843#p7843</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7843#p7843"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7843#p7843"><![CDATA[
limor,<br /><br />This is something we're considering doing. We're not really interested in speed control, but in using the servos as force-driven actuators. However, there's no reason not to do a decent job on the speed control at the same time.<br /><br />With respect to the gyro - my six axis board will interface quite nicely with just a single axis gyro (using the breakout board version from Sparkfun), and you can ignore the other 5 A/D values.<br /><br />I should have a printed PCB available within a month, and I'll be selling populated &amp; tested boards shortly after that.<br /><br />My brother has a baby-orangutang board, and he's going to try the code tonight. There's no reason it won't work, and if it does, you can use that with up to six analog sensors of any type with my code.<br /><br />edit: the baby-orangutang board comes with a 20 Mhz resonator, so you can't run the UART at 1.0 Mbps without switching to either a 16 MHz or 8 MHz resonator...<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Tue Mar 06, 2007 11:04 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2007-03-06T22:00:13+01:00</updated>
<published>2007-03-06T22:00:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7841#p7841</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7841#p7841"/>
<title type="html"><![CDATA[Replacing AX12 firmware and Attaching Gyro/Accelerometer]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1178&amp;p=7841#p7841"><![CDATA[
I need faster and smoother current sensing from the AX12 for the feedback-control project we're doing. I also need good speed control rather than holding-position control. So the idea is basically to replace the firmware of the AX12 with propriatry one. And while doing that, if there's a spare ADC port on the Atmega8, maybe connect it to an analog gyro or Accelerometer and provide support for reading its values from the AX12..<br /><br />Supporting all the features in the AX12 manual is quite a lot of work. However, I don't really need some of the features for the purpose of feedback speed control (for example, I dont need the holding-position PID control compliance stuff). On the other hand I'd love to have good speed control which is currently missing.<br /><br />Has anyone ventured in this direction or has some recomendations?<br /><br /><br /><span style="font-style: italic">BTW: there's an AX12 firmware-upgrade feature on the Behavior control GUI. The latest firmware is available <a href="http://robosavvy.com/RoboSavvyPages/Support/Bioloid" class="postlink">here</a>.</span><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Tue Mar 06, 2007 10:00 pm</p><hr />
]]></content>
</entry>
</feed>