<?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=13&amp;t=7491" />

<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>2012-05-04T18:45:22+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=13&amp;t=7491</id>
<entry>
<author><name><![CDATA[allanonmage]]></name></author>
<updated>2012-05-04T18:45:22+01:00</updated>
<published>2012-05-04T18:45:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=34318#p34318</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=34318#p34318"/>
<title type="html"><![CDATA[ROBOPHILO IR CODES]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=34318#p34318"><![CDATA[
What made you decide to add an arduino over buying the SDK?  Are you more familiar with the Arduino language than C/C++?<br /><br />I think it's a great idea that you came up with.  Do you have a parts list of what you used anywheres?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2764">allanonmage</a> — Fri May 04, 2012 6:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugobiwan]]></name></author>
<updated>2011-12-19T21:02:22+01:00</updated>
<published>2011-12-19T21:02:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33263#p33263</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33263#p33263"/>
<title type="html"><![CDATA[Short demo video]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33263#p33263"><![CDATA[
Just a short video of the arduino code working.<br /><a href="http://www.youtube.com/watch?v=KwpRG9qhISM" class="postlink">http://www.youtube.com/watch?v=KwpRG9qhISM</a><br />Thank you for you attention !<br /><br />@hugobiwan<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2913">hugobiwan</a> — Mon Dec 19, 2011 9:02 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robofad]]></name></author>
<updated>2011-12-06T21:37:47+01:00</updated>
<published>2011-12-06T21:37:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33099#p33099</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33099#p33099"/>
<title type="html"><![CDATA[ROBOPHILO IR CODES]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=33099#p33099"><![CDATA[
Hello hugobiwan.  <img src="http://forum.robosavvy.com/images/smilies/icon_razz.gif" alt=":P" title="Razz" /> <br /><br />I'm new here in the site. So how's your project doing? I haven't done anything yet. I just love robots but my son's the one who makes them. So what's your progress? Would love to see it.  <img src="http://forum.robosavvy.com/images/smilies/icon_razz.gif" alt=":P" title="Razz" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2990">robofad</a> — Tue Dec 06, 2011 9:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugobiwan]]></name></author>
<updated>2011-09-22T22:23:16+01:00</updated>
<published>2011-09-22T22:23:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32354#p32354</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32354#p32354"/>
<title type="html"><![CDATA[random arduino/robophilo using IR codes]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32354#p32354"><![CDATA[
Hello !<br />I have finished a test script and can confirm it seems to work with a delay of about 10 ms.<br /><br />This is an arduino script making the robophilo move alone with an arduino board on the back, i just made and tested, using IR library ( <!-- m --><a class="postlink" href="http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html">http://www.arcfn.com/2009/08/multi-prot ... brary.html</a><!-- m --> ) <br /><br />You can customize the script to use any sensors and send any key of the remote. If you program the remote with the GUI, you can now do an autonomous robophilo <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><br /><br />//send orders to robophilo<br />//uses arduino IR library. IR led on pin 3 pwm out with 100 ohms resistor.<br /><br /><br />#include &lt;IRremote&gt;<br />#include &lt;IRremoteInt&gt;<br /><br />//script de pilotage du robophilo<br /><br />// Some but not all RS commands are defined<br />#define RP_key1       0x7DF<br />#define RP_key2       0xFDF<br />#define RP_key3       0x57F<br />#define RP_key4       0xD7F<br />#define RP_key5       0x37F<br />#define RP_key6       0xB7F<br />#define RP_key7       0x77F<br />#define RP_key8       0xF7F<br />#define RP_key9       0xFF<br />#define RP_key10      0x5FF<br />#define RP_key11      0xDFF<br />#define RP_key12      0x3FF<br />#define RP_1          0x65F<br />#define RP_2          0xE5F<br />#define RP_3          0x15F<br />#define RP_4          0x95F<br />#define RP_5          0x55F<br />#define RP_6          0xD5F<br />#define RP_7          0x35F<br />#define RP_8          0xB5F<br />#define RP_9          0x75F<br />#define RP_0          0xDF<br />#define RP_left       0x4ADF<br />#define RP_right      0xEDF<br />#define RP_fwd        0xDF<br />#define RP_bckwd      0x9DF<br />#define RP_turnleft   0x2DF<br />#define RP_turnright  0x4DF<br />#define RP_power      0x45F<br />#define RP_frontup    0x1DF<br />#define RP_frontdown  0xDDF<br />#define RP_backup     0x5DF<br />#define RP_backdown   0xBDF<br />#define RP_enter      0x6DF<br /><br />//on amorce le lancement de codes par la library<br />IRsend irsend;<br /><br />//tableau des mouvements de deplacement de base<br />int mouvementsbase[]={RP_fwd,RP_turnleft,RP_turnright};<br />//delai entre les ordres en millisecondes<br />int interval_orders=2000;<br /><br />//fonction d'envoi de la commande au robot<br />//il est souhaitable, avec le robophilo, de laisser un délai entre plusieurs ordres<br /><br />void sendorder(int orderGO){<br />  <br />        //on envoie le code de la touche<br />        for (int i = 0; i &lt; 3; i++) {<br />        irsend.sendSony(orderGO, 12); // code key<br />        delay(10);<br />        } <br />  //deux secondes entre chaque ordre<br />  delay(interval_orders);<br />}<br /><br />void setup(){<br />Serial.begin(9600);<br />}<br /><br />void loop(){<br />//test de deplacement aleatoire toutes les secondes<br />int randmove=random(0,3);<br />int order;<br /><br />  switch (randmove){<br />  case 0:<br />  order=mouvementsbase[0];<br />  sendorder(order);<br />  break;<br />  case 1:<br />  order=mouvementsbase[1];<br />  sendorder(order);<br />  break;<br />  case 2:<br />  order=mouvementsbase[2];<br />  sendorder(order);<br />  break;<br />  }<br />}<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> — Thu Sep 22, 2011 10:23 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugobiwan]]></name></author>
<updated>2011-09-22T21:03:56+01:00</updated>
<published>2011-09-22T21:03:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32353#p32353</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32353#p32353"/>
<title type="html"><![CDATA[ROBOPHILO IR CODES]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7491&amp;p=32353#p32353"><![CDATA[
Hello from France.<br /><br />I am a newbie in robotic and just had my robophilo.<br /><br />My project is very simple : make a little autonomous robot with the great motions of the robophilo. <br /><br />I am going to use the same method i did with the robosapien using arduino :<br /><br />- let the original robophilo microcontroller take care of the internal controls in the robot (especially driving the servos)<br />- program the motions with the provided GUI (easy to use and offers many many motions to remap on the IR remote). <br />- giving orders to the robot using an arduino board, reacting to sensors, on the robot.<br /><br />The first step is to understand how the orders are given to the robot by the different I/O I can see, without having to buy the SDK : <br /><br />- RJ11/232 using serial in the back of the robophilo<br />- IR receiver<br />- I/O pins on the PCB.<br /><br />The most easy is to use the IR receiver, so i dont take any risk for the robot.<br />I tried to use a USB_UIRT universal receiver to catch the remote codes. I got codes, but it was impossible to send them back with success and to obtain a reaction of the robot.<br /><br />So i built the multi-protocol transmitter/receiver of Ken Shirriff, that can be made with just one IR led and one resistor on an arduino board, soldering wires on the robophilo IR receiver to catch the codes of the remote, and define the protocol. Look here :<a href="http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html" class="postlink">http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html</a><br /><br />Yesterday, i had a result and now i just try successfully to send back a code corresponding to key2 on the remote to the robophilo.<br /><br />Before coding an arduino sketch making me able to add some sensors on the robot and drive hit using the arduino on its back, i share with you the codes i found. Please try them and tell me if all are working. I made an arduino sketch that makes me think that each code must be sent 3 times with a delay of about 10 ms. I am going to verify that tonight.<br /><br />The robophilo IR codes seems to be in SONY fomat (12 bits/sent 3 times per code).<br /><br />codes IR robophilo :<br /><br />key1 : 7DF<br />Key2 : FDF<br />Key3 : 57F<br />Key4 : D7F<br />Key5 : 37F<br />Key6 : B7F<br />Key7 : 77F<br />Key8 : F7F<br />Key9 : FF<br />Key10 : 5FF<br />Key11 : DFF<br />Key12 : 3FF<br /><br />enter : 6DF<br /><br />walkforward : DF<br /><br />walkbackward : 9DF<br /><br />left : ADF<br />right : EDF<br /> <br />turn 30 right : 2DF<br />turn 30 left : 4DF<br /><br />1 : 65F<br />2 : E5F<br />3 : 15F<br />4 : 95F<br />5 : 55F<br />6 : D5F<br />7 : 35F<br />8 : B5F<br />9 : 75F<br />0 : DF<br /><br />Power servos : 45F<br /><br />repeat : 5F<br /><br />setup :3DF<br /><br />back-up : 5DF<br />back down :BDF<br /><br />front-up : 1DF<br />front-down <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" />DF<br /><br />To send the IR codes i use IR Library for arduino, an arduino board and about 5 euros of components. All arduino sketches, and the way to build an instant IR catcher/sender are here : <a href="http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html" class="postlink">http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html</a><br /><br />With the library, in the arduino sketch it is simple like :<br /><br />        for (int i = 0; i &lt; 3; i++) {<br />        //0x + code = hexadecimal - second variable = number of bits<br />        irsend.sendSony(0xFDF, 12); // code key2<br />        delay(b);<br />        } <br /><br />I tried with incremental values for the delay and the robot seems to move with a delay of between 5 and 15 milliseconds.<br /><br />I hope this can help those who like to play with the robophilo <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><br /><br />Best regards,<br /><br />@hugobiwan<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2913">hugobiwan</a> — Thu Sep 22, 2011 9:03 pm</p><hr />
]]></content>
</entry>
</feed>