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

<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-02T14:34:50+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=2072</id>
<entry>
<author><name><![CDATA[Landy]]></name></author>
<updated>2013-02-02T14:34:50+01:00</updated>
<published>2013-02-02T14:34:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=37096#p37096</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=37096#p37096"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=37096#p37096"><![CDATA[
I apologize if I open an old post but I wanted to ask if there is <span style="text-decoration: underline">a simple method </span>to convert the value of 0-255 of the joystick in a value for the servo motor 10-190.<br /><br />I want to point out that the controller is the original hitec and not the one shown in the post.<br /><br /><br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>        <br /><br />DIM char AS BYTE<br />DIM e AS BYTE<br /><br />MOTOR 6<br /><br />main:     <br />     char=&quot;e&quot;                 'Joy sinistro DX &amp; SX<br />     ETX 19200,char       'LEFT = 0, RIGHT = 255, centre = 128<br /><br />loop5:<br />    ERX 19200,e,loop5<br />    GOTO move15<br />..........<br />.........<br /><br />move15:<br /><br />    SERVO 6,e          'the variable contains a value from 0 to 255.<br />                     'the servomotor accepts only values &#8203;&#8203;between 10 and 190.<br />    <br />    GOTO main<br /><br /></code></dd></dl><br /><br />refer to this table.<br /><!-- m --><a class="postlink" href="http://www.robonova.de/store/files/data/Anleitung_136080.pdf">http://www.robonova.de/store/files/data ... 136080.pdf</a><!-- m --><br /><br />best regard<br />landyandy<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1617">Landy</a> — Sat Feb 02, 2013 2:34 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-11-29T15:58:22+01:00</updated>
<published>2010-11-29T15:58:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29042#p29042</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29042#p29042"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29042#p29042"><![CDATA[
The byte returned should be a value between 10 and 190 for the position of the joystick for the upper case &quot;CDEF&quot; , or between 33 and 55 for lower case &quot;cdef&quot;. When centered it should be around 100 for upper case and 44 for lower case.<br />To detect movement of the stick you need to compare the rxchar value to determine the movement.<br /><br />You also need to set the DS or analog mode for it to work. In digital mode the joysticks are the same as some of the buttons, but I can't remember which ones.<br /><br />Give it another try, or I will get mine out and send a working program.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Nov 29, 2010 3:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jeffchifu]]></name></author>
<updated>2010-11-29T08:50:09+01:00</updated>
<published>2010-11-29T08:50:09+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29034#p29034</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29034#p29034"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29034#p29034"><![CDATA[
' Template program for PS2 wireless controller<br />' Richard Ibbotson November 2007<br />' PS2 wireless controller in DS2 mode connected to ETX/ERX<br />DIM rr AS BYTE ' first variable is reserved<br />DIM txchar AS BYTE ' store for character to send to controller<br />DIM rxchar AS BYTE<br />'Empty the ERX buffer<br />begin:<br />ERX 19200, rxchar, bemt1<br />bemt1:<br />ERX 19200, rxchar, bemt2<br />bemt2:<br />' Set the PS2 controller to DS2 mode<br /><br />'-----------------------------------------------------------------------<br />' Motion Startup Stuff, note this is special for double knee joints<br />PTP SETON<br />PTP ALLON<br />DIR G6A,1,0,0,0,1,0<br />DIR G6B,1,1,1,1,1,1<br />DIR G6C,0,0,0,0,0,0<br />DIR G6D,0,1,1,1,0,1<br />'GETMOTORSET G6A,1,1,1,1,1,1<br />'GETMOTORSET G6B,1,1,1,0,0,0<br />'GETMOTORSET G6C,1,1,1,0,0,1<br />'GETMOTORSET G6D,1,1,1,1,1,1<br />SPEED 5<br />MOTOR G6A<br />MOTOR G6B<br />MOTOR G6C<br />MOTOR G6D<br />'Example Gyro Setup Code<br />GYROSET G6A,0,0,0,0,0,0<br />GYROSET G6D,0,0,0,0,0,0<br />GYRODIR G6A,0,1,1,0,1,1<br />GYRODIR G6D,0,1,1,0,1,1<br />GYROSENSE G6A,0,200,200,0,0,0<br />GYROSENSE G6D,0,200,200,0,0,0<br />GOSUB Standard_pose<br />'-----------------------------------------------------------------------<br />MUSIC &quot;CDE&quot;<br />MAIN:<br />'Read the PS2 buttons<br />txchar =&quot;C&quot;<br />ETX 19200, txchar<br />GETC:<br />ERX 19200, rxchar, GETC<br />TEMPO 230<br />MUSIC &quot;DDDDDD&quot;<br />GOTO main<br />txchar =&quot;e&quot;<br />ETX 19200, txchar<br />GETe:<br />ERX 19200, rxchar, GETe<br />TEMPO 230<br />MUSIC &quot;DDDDDD&quot;<br />GOTO MAIN<br /><br /><br />'================================================<br />Standard_Pose:<br />MOVE G6A, 100,85,90,90,90,100<br />MOVE G6D, 100,85,90,90,90,100<br />MOVE G6B, 100,30,80,100,100,100<br />MOVE G6C, 100,30,80,100,100,100<br />WAIT<br />RETURN<br />'================================================<br />Hi Bot,<br />I tried to use &quot;C&quot;.It doesn't work to control.<br />thanks<br />jeff<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=555">jeffchifu</a> — Mon Nov 29, 2010 8:50 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2010-11-28T00:46:09+01:00</updated>
<published>2010-11-28T00:46:09+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29023#p29023</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29023#p29023"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29023#p29023"><![CDATA[
It is along time, since I did this, but if you look in the source code, then the &quot;C&quot;, &quot;D&quot;, &quot;E&quot;, &quot;F&quot;, requests should return the analogue values for the sticks. It is up to you what you do with them in Robobasic.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Sun Nov 28, 2010 12:46 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jeffchifu]]></name></author>
<updated>2010-11-27T16:35:05+01:00</updated>
<published>2010-11-27T16:35:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29013#p29013</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29013#p29013"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=29013#p29013"><![CDATA[
Hi i-Bot,<br />I success to connect Logitech 2.4GHZ PS2 wireless control.It  works at 3.3V only.Can I use analogue Strick Right X and Y?How to use in robobasic?<br />thanks<br />jeff<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=555">jeffchifu</a> — Sat Nov 27, 2010 4:35 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gdubb2]]></name></author>
<updated>2008-09-27T20:44:33+01:00</updated>
<published>2008-09-27T20:44:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17697#p17697</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17697#p17697"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17697#p17697"><![CDATA[
Hey Guys,<br /><br />Good information to know, Thanks.<br /><br />I think I'll definately pursue a ZigBee solution to add the flexibility my paranoia seems to require.<br /><br />Thanks again<br />Gary<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=320">gdubb2</a> — Sat Sep 27, 2008 8:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Bullit]]></name></author>
<updated>2008-09-27T16:01:50+01:00</updated>
<published>2008-09-27T16:01:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17685#p17685</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17685#p17685"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17685#p17685"><![CDATA[
RoboGames 2008 is the only place we've seen problems with the PS3 controllers and Bluetooth.  At RoboGames 2007 we experienced problems with our PS2 2.4 ghz controllers however, Bluetooth with our class 2 Bluetooth v1.0 cell phones it seemed to be ok.  We noticed that the problem was only when we got nearer to the com bot section where everyone has switched to 2.4 ghz DSS (both years).  As I understand it, most DSS and all Bluetooth v1.0, when connecting search for an open frequency and grab it.  Then the connection remains on that frequency.  If the signal is lost it must reconnect.  With Bluetooth v2.0 its supposed to continuously switch frequencies as necessary.  This makes it much more robust to wifi and other interference etc.  The PS3 controllers we use (the SixAxis and DS3) are bluetooth v1.0.  They use some small ALPS board to board module.  I'm not sure if its class 1 or 2 but we can usually get at least 100ft indoors with them.  Since RoboGames we've improved our software to reconnect immediately if such a problem occurs so we only experience delays in the presence of interference which is better but still not great.  We're also looking into replacing the Alps module in the PS3 controller with a Bluetooth v2.0 class 1 module.<br />BTW the Koreans had some Bluetooth problems also.  I think they were using Bluetooth v1.0 class 1 modules.<br /><br />Bluetooth class 1 is higher power generally considered 100M range, class 2 is 10M.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=173">Bullit</a> — Sat Sep 27, 2008 4:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Gort]]></name></author>
<updated>2008-09-26T15:08:08+01:00</updated>
<published>2008-09-26T15:08:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17660#p17660</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17660#p17660"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17660#p17660"><![CDATA[
I notice a few interesting things about the PS/2 and PS/3 controllers at Robogames. Me and Matt had the PS/2 controllers and the Farrell’s had the PS/3 controllers. I never had any problems with signal interference at the games but when Me and Matt turned both of our MADCAT controllers on. One controller would control both robots! The Farrells never had this problem with their PS/3 controllers. They did run into a problem with signal interference from some one else’s robot controller at Robogames. I don’t think that they found out why or who it was from? I had Bluetooth interference off and on at the First Hitec Cup in Phoenix. I think it was from all of the personal Bluetooth device that people where carrying around? David Calkins has a Zigbee remote control that works great. In the Phoenix stadium, he was able to control his robot from over 100 yards away with out any interference. The only problem was that he was so far away that he could not see it!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=174">Gort</a> — Fri Sep 26, 2008 3:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-09-25T23:38:08+01:00</updated>
<published>2008-09-25T23:38:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17653#p17653</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17653#p17653"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17653#p17653"><![CDATA[
It is hard to make fair comparison. The wireless PS2 has not let me down when in competition area  shared with bluetooth, zigbee, 2.4G Spektrum and WLAN.<br />I get the impression that blue tooth is degraded more than the others in heavy 2.4G, but have no factual evidence.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Thu Sep 25, 2008 11:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[gdubb2]]></name></author>
<updated>2008-09-25T20:29:19+01:00</updated>
<published>2008-09-25T20:29:19+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17650#p17650</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17650#p17650"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=17650#p17650"><![CDATA[
Hi i-Bot, <br /><br />I've been using your PS-2 wireless mod for a little while now, and really like the way it works. The speed and responsiveness is very good for what I'm doing.<br /><br />I've been wondering about signal degradation at RoboGames, so I thought I would have 2 or 3 usable methods of communication with my bot. <br />1: The wireless gamepad (done)<br />2: Bluetooth from the laptop (done but needs a better interface)<br />3: Something with Zigbee ???<br /><br />I'm definately not much of a code person (more hardware), but I was thinking about using a wired gamepad to your interface, to an XBee module. On the bot, another XBee module to ETX/ERX. This would give me a wireless gamepad, but using XBee as a transparent connection.<br /><br />What do you think ???<br /><br />Thanks<br />Gary<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=320">gdubb2</a> — Thu Sep 25, 2008 8:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-07-08T17:01:58+01:00</updated>
<published>2008-07-08T17:01:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16731#p16731</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16731#p16731"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16731#p16731"><![CDATA[
Hi Bren<br /><br />I didn't find the controllers too picky on speed. I basically went as fast as possible for the serial part (with a 1 MIPs processor !). Some delays are needed between  operations.<br /><br />Look at the Lynxmotion site for some recent good descriptions of  how the commands are sent, and the timing.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue Jul 08, 2008 5:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Robo1]]></name></author>
<updated>2008-07-08T16:44:52+01:00</updated>
<published>2008-07-08T16:44:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16729#p16729</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16729#p16729"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16729#p16729"><![CDATA[
Hi I-bot<br /><br />I'm trying to get my logitech to work.  It's hooked up to 3.3V but it I can't get it to connect.  What initialization code do you send to it and if you can give me the info on the psclk speed e.g. time for high and low.  time between shiftout and time between cmd.<br /><br />Thanks Bren<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=216">Robo1</a> — Tue Jul 08, 2008 4:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[NovaOne]]></name></author>
<updated>2008-06-14T08:06:03+01:00</updated>
<published>2008-06-14T08:06:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16331#p16331</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16331#p16331"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16331#p16331"><![CDATA[
Progress so far; <br />PCB design:<br /><img src="http://robosavvy.com/Builders/NovaOne/LGBI.JPG" alt="Image" /><br /><br />Prototype PCB:<br /><img src="http://robosavvy.com/Builders/NovaOne/pspcba.jpg" alt="Image" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=663">NovaOne</a> — Sat Jun 14, 2008 8:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[NovaOne]]></name></author>
<updated>2008-06-18T17:11:22+01:00</updated>
<published>2008-05-31T17:13:42+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16099#p16099</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16099#p16099"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16099#p16099"><![CDATA[
Thanks  <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> , hope to find some spare time this week to make a circuit board...keep you posted.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=663">NovaOne</a> — Sat May 31, 2008 5:13 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-05-31T10:44:26+01:00</updated>
<published>2008-05-31T10:44:26+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16092#p16092</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16092#p16092"/>
<title type="html"><![CDATA[PS2 Wireless Game Controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2072&amp;p=16092#p16092"><![CDATA[
I understand the PS2 supplies 3.3V to all controllers. It think it is just that the others don't mind 5V.<br /><br />When I tried the Logitech I used a translator cable I made when connecting 3.3V I2C accelerometers. This has a 3.3V 100mA regulator and 2 NMOS FETs to convert 3.3V to 5V bidirectional. Since the PIC is also happy at 3.3V I put this into the ETX ERX conections and it worked OK.<br /><br />I would suggest to run the a 3.3V regulator the same way in the supply to both the Logitech receiver and the PIC. The PIC has 20mA capable clamp diodes, so putting a 1K resistor in series with ETX and ERX should work instead of FET at this speed.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Sat May 31, 2008 10:44 am</p><hr />
]]></content>
</entry>
</feed>