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

<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-02T03:56:19+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=8239</id>
<entry>
<author><name><![CDATA[UncleBob]]></name></author>
<updated>2013-02-02T03:56:19+01:00</updated>
<published>2013-02-02T03:56:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=37093#p37093</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=37093#p37093"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=37093#p37093"><![CDATA[
Hi Just wonder whether CDS5500 class is written by yourself ?<br /><br />thkx<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1861">UncleBob</a> — Sat Feb 02, 2013 3:56 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Abdelali]]></name></author>
<updated>2013-01-11T19:43:06+01:00</updated>
<published>2013-01-11T19:43:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=36967#p36967</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=36967#p36967"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=36967#p36967"><![CDATA[
Hi Dear Alaa <br /><br />I'm Ali from morocco and I'm working on the same project as yours and I need your help on the programmation of the arduino.<br /><br />can You please give me your facebook or your e-mail adress<br /><br />thanks a lot<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4139">Abdelali</a> — Fri Jan 11, 2013 7:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[alasi89]]></name></author>
<updated>2012-09-12T23:41:57+01:00</updated>
<published>2012-09-12T23:41:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35385#p35385</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35385#p35385"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35385#p35385"><![CDATA[
<blockquote class="uncited"><div><br />The video looks great! <br />With AX18 servos you could easily upgrade the speed response<br /></div></blockquote><br /><br />well, I told the professors that, but they were not convinced by the answer, I knew I was right and they were stupid <br /><br />any way thanks for the advice.<br /><br /> <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /> <br /><br /><br /><blockquote class="uncited"><div><br />It's absolutly admirable and very very encouraging that you have the capacity and strength to do this great work in that horrible situation. I hope you can get peace and freedom very soon.<br /></div></blockquote><br /><br />thanks man your words means too much to me, guys I wonder if we can communicate more easier by Facebook or Skybe, it is agreat pleasure for me to have you as friends.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3225">alasi89</a> — Wed Sep 12, 2012 11:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2012-09-12T21:25:23+01:00</updated>
<published>2012-09-12T21:25:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35381#p35381</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35381#p35381"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35381#p35381"><![CDATA[
It's absolutly admirable and very very encouraging that you have the capacity and strength to do this great work in that horrible situation. I hope you can get peace and freedom very soon.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Wed Sep 12, 2012 9:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2012-09-12T19:58:21+01:00</updated>
<published>2012-09-12T19:58:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35378#p35378</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35378#p35378"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35378#p35378"><![CDATA[
The video looks great!<br />With AX18 servos you could easily upgrade the speed response<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Wed Sep 12, 2012 7:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[alasi89]]></name></author>
<updated>2012-09-12T18:51:15+01:00</updated>
<published>2012-09-12T18:51:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35377#p35377</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35377#p35377"/>
<title type="html"><![CDATA[Stabilized Platform using Arduino And Bioloid]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8239&amp;p=35377#p35377"><![CDATA[
After 7 months working, I put my graduation project between your hands,<br /> <br /><br />the Arduino mega 2560 board works as the controller of the stabilazation system, while the cm5 controls the robotic car.  the tilt angle comes from the acceleration sensor witch is fixed on the top of the Arduino board, the sensor's signal was filtered and underwent linearity adjustment process  to get the correct tilt angle between the car plane with respect to the gravity vector. <br /><br />this is the video segment :<br /><br /><a href="http://www.youtube.com/watch?v=xmYzwiYQERg&amp;feature=player_detailpage" class="postlink">http://www.youtube.com/watch?v=xmYzwiYQERg&amp;feature=player_detailpage</a><br /><br /><br />the code in java for the arduino board :<br /><br /><br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>/* Auther : Eng. Alaa Alasi <br />All Rights reserved for Mechatronics Engineering Department.<br />University of Aleppo.<br />Syrian Arab Repuplic.<br /><br /> This code is in the public domain.*/<br /><br />#include &lt;CDS5500&gt;<br /><br />CDS5500 SERVO;<br />word z ,z_k_1 , z_k_3 , z_k_2 ;<br />word y,y_k_1,y_k_3 , y_k_2 ;<br />word z_avg , y_avg; <br />float x,Y;<br />int Sdelay = 2 ;<br />int Adelay = 10 ;<br />int z_zero;<br />int Tsam=0.0001;<br />int Wcut=30;<br />int i;<br />word sampels=40;<br />void setup&#40;&#41;&#123;<br />  Serial.begin&#40;1000000&#41;;         //init Serial baudrate for the servo command<br />   Serial3.begin&#40;9600&#41;;          // serial communaction with PC <br /> analogReference&#40;INTERNAL2V56&#41;;  // ADC Vref init <br />  pinMode&#40;2, OUTPUT&#41;;            // RX Buffer <br />  pinMode&#40;3, OUTPUT&#41;;            // tx<br />  pinMode&#40;13, OUTPUT&#41;;  <br />  digitalWrite&#40;3, HIGH&#41;;   // TX Buffer enable<br />  <br />&#125;<br /><br />void loop&#40;&#41;&#123;<br />digitalWrite&#40;13, HIGH&#41;;    // Flag to measure the sampling time 1<br /><br />  //Digital filtring ::<br />     <br />  z_avg = analogRead&#40;1&#41;;  // 10 KHz ... 100 u sec<br />  y_avg = analogRead&#40;3&#41;;  <br />  <br />   <br />  for&#40;i = 0;i &lt;sampels; i++&#41;&#123;<br />   z_avg = z_avg + analogRead&#40;1&#41;;<br />   y_avg = y_avg + analogRead&#40;3&#41;;<br />  &#125;<br />  z_avg = z_avg/sampels;<br />  y_avg = y_avg/sampels;<br />  <br /><br /> <br />  <br /> // Normalization<br /> <br />  float&#40;x&#41;;<br /> x=z_avg ;<br /> Y=y_avg ;<br /> x=x-340;              // bias in sensor signal: angle &#40;0&#41;= 0.85 volt = 340 in decimal<br /> Y=Y-340; <br /> x=&#40;x/640&#41;*1023;       // max value: angle&#40;180&#41; = 2.45 volt = 980 - 340<br /> Y=&#40;Y/640&#41;*1023;<br /> <br />x = &#40;512 - x&#41;/512;     // cos &#40;z&#41;  from -1 to 1 <br />Y = &#40;512 - Y&#41;/512;<br /> <br />  // LINERIZATION :<br />  <br />x = &#40;3.1416/2&#41; - &#40;x + &#40;0.1666 *pow&#40;x,3&#41;&#41;+&#40;0.075*pow&#40;x,5&#41;&#41;+0.0446*pow&#40;x,7&#41;+0.03*pow&#40;x,9&#41;+0.0223*pow&#40;x,11&#41;+0.0173*pow&#40;x,13&#41;+0.0139*pow&#40;x,15&#41;+0.01151*pow&#40;x,17&#41;&#41; ; // arc cos z formula<br />Y = &#40;3.1416/2&#41; - &#40;Y + &#40;0.1666 *pow&#40;Y,3&#41;&#41;+&#40;0.075*pow&#40;Y,5&#41;&#41;+0.0446*pow&#40;Y,7&#41;+0.03*pow&#40;Y,9&#41;+0.0223*pow&#40;Y,11&#41;+0.0173*pow&#40;Y,13&#41;+0.0139*pow&#40;Y,15&#41;+0.01151*pow&#40;Y,17&#41;&#41; ;<br />x=x*180/3.1416;        // converting Radian to degrees , angle rang &#91;0  180&#93;<br />Y=Y*180/3.1416;    <br /><br />x=x+60;                // addin 60 digree bias for the range to be  &#91;60 240&#93;<br />Y=Y+60;  <br /><br />x=&#40;x/240&#41;*818;         // converting from digree to decimal rang   &#91;205 818&#93;<br />Y=&#40;Y/240&#41;*818;   <br />Y=1023-Y;              // invers the Direction of Rotation <br /><br />  <br />  word&#40;x&#41;;<br />  word&#40;Y&#41;;<br />  <br />  // SERVO COMMAND :<br /><br />  SERVO.WritePos&#40;1,x,0&#41;;// Servo ID:1, rotate to the position:0x2FF, rotate speed:0x1FF &#40;Roll Angle&#41;<br />  SERVO.WritePos&#40;6,512,0&#41;;<br />  SERVO.WritePos&#40;5,Y,0&#41;; // Roll angle<br />  SERVO.WritePos&#40;13,Y,0&#41;;<br /><br />//delay&#40;1&#41;;<br /><br />   // SENDING DADTA TO OBSERV SENSOR SIGNSL :<br />  <br />  Serial3.println&#40;x,DEC&#41;;<br />  Serial3.print&#40;&quot;,&quot;&#41;;<br />  digitalWrite&#40;13, LOW&#41;;     // sampling time flag low <br />&#125;</code></dd></dl><br /><br /><br />I want to take advantage of this occasion to tell you that we are being killed and tormented every day in Syria  from the Syrian dictator Bashar Al Assad . <br /><br /> SOS<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3225">alasi89</a> — Wed Sep 12, 2012 6:51 pm</p><hr />
]]></content>
</entry>
</feed>