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

<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-05-06T20:17:48+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=1260</id>
<entry>
<author><name><![CDATA[brindy]]></name></author>
<updated>2007-05-06T20:17:48+01:00</updated>
<published>2007-05-06T20:17:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8900#p8900</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8900#p8900"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8900#p8900"><![CDATA[
<blockquote><div><cite>beermat wrote:</cite><br />Because I added tri-color eyes, I originally used that to output numbers - blue flashes to count the number of hundreds, green for tens, red for single digits. <br /><br />Now, though, since I've added the Quadravox sound module, my RN just speaks the number out loud <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /></div></blockquote><br /><br />any chance you could post a link to the module, please?  i tried to look at the quadravox website, but it's not very good  <img src="http://forum.robosavvy.com/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /> <br /><br />i'm going to be adding sonar, and i have no idea how to get feedback just now.  <img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" /> <br /><br />tia  <img src="http://forum.robosavvy.com/images/smilies/icon_cool.gif" alt="8)" title="Cool" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=578">brindy</a> — Sun May 06, 2007 8:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[chully00]]></name></author>
<updated>2007-04-27T19:53:29+01:00</updated>
<published>2007-04-27T19:53:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8689#p8689</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8689#p8689"/>
<title type="html"><![CDATA[Thank you!]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8689#p8689"><![CDATA[
<img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> <br />Thanks for all tha help guys!<br /><br />I used the RoboTheramin code, and it was a lot of fun to play with, but I decided to go ahead and get a RS232-TTL level converter anyway. I used the Acroname <a href="http://www.acroname.com/robotics/parts/S13-SERIAL-INT-CONN.html" class="postlink">Serial Interface Connector</a> connected to ETX and ERX on the robonova's back, and connected to a keyspan usb-serial converter (connected to my teh computer)<br /><a href="http://chully.kicks-ass.org/gallery/robots/DSC02259.JPG" class="postlink"><img src="http://forum.robosavvy.com/images/smilies/icon_arrow.gif" alt=":arrow:" title="Arrow" /> Keyspan and serial-ttl convertor</a><br /><a href="http://chully.kicks-ass.org/gallery/robots/DSC02201.JPG" class="postlink"><img src="http://forum.robosavvy.com/images/smilies/icon_arrow.gif" alt=":arrow:" title="Arrow" /> Robonova wired up</a><br />I wrote a program to output 3-digit values, which is pretty silly but I figure I ought to save some other n00b like me the trouble of writing it, so here it is: <br /><span style="font-size: 50%; line-height: 116%;"><dl class="codebox"><dt>Code: </dt><dd><code>'serialControl.bas - output 3-digit values to PC terminal<br /><br />DIM A AS BYTE<br />DIM foo AS BYTE, x AS BYTE, y AS BYTE<br />DIM input AS BYTE, output AS BYTE<br />DIM H AS BYTE, T AS BYTE, O AS BYTE<br /><br />PTP SETON             <br />PTP ALLON            <br /><br />'== motor diretion setting ======================<br />DIR G6A,1,0,0,1,0,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,0,1,0      <br /><br />'== motor start position read ===================<br />GETMOTORSET G6A,1,1,1,1,1,0<br />GETMOTORSET G6B,1,1,1,0,0,0<br />GETMOTORSET G6C,1,1,1,0,0,0<br />GETMOTORSET G6D,1,1,1,1,1,0<br /><br />SPEED 5<br /><br />'== motor power on  =============================<br />MOTOR G24   <br />TEMPO 230<br />MUSIC &quot;C&#91;E&#93;B&quot;<br />GOSUB standard_pose<br /><br />'================================================<br />MAIN:       <br />      <br />   output = AD&#40;5&#41; 'The sensor we are reading here is on AD port 5<br /><br />   GOSUB serialOutput<br />   <br />   GOTO MAIN<br /><br />serialOutput:<br />   foo = output<br />   H = 0<br />   T = 0<br />   O = 0<br />   hundreds:<br />      IF foo &gt; 99 THEN  <br />         H = H + 1<br />         foo = foo - 100<br />         GOTO hundreds<br />      ENDIF<br />   tens:<br />      IF foo &gt; 9 THEN<br />         T = T + 1<br />         foo = foo - 10<br />         GOTO tens<br />      ENDIF<br />   ones:<br />      O = foo<br />      <br />   'Convert to ASCII<br />   H = H + 48<br />   T = T + 48<br />   O = O + 48<br />   foo = &quot; &quot;<br />      <br />   ETX 9600, H<br />   ETX 9600, T<br />   ETX 9600, O<br />   ETX 9600, foo<br />   <br />   RETURN<br />   <br />'send the output variable register to the PC &#40;unused&#41;<br />sendToComp:<br />   ETX 9600, output<br />   RETURN<br /><br />'recieve input from the PC Terminal &#40;blocking&#41; &#40;unused&#41;<br />recvFromComp:<br />   ERX 9600, input, recvFromComp<br />   RETURN<br /><br />'================================================<br />standard_pose:<br />   MOVE G6A,100,  76, 145,  93, 100, 100 <br />   MOVE G6D,100,  76, 145,  93, 100, 100  <br />   MOVE G6B,100,  30,  80, 100, 100, 100<br />   MOVE G6C,100,  30,  80, 100, 100, 100<br />   WAIT<br />   RETURN<br /></code></dd></dl></span><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=582">chully00</a> — Fri Apr 27, 2007 7:53 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[beermat]]></name></author>
<updated>2007-04-06T23:24:27+01:00</updated>
<published>2007-04-06T23:24:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8348#p8348</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8348#p8348"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8348#p8348"><![CDATA[
Because I added tri-color eyes, I originally used that to output numbers - blue flashes to count the number of hundreds, green for tens, red for single digits. <br /><br />Now, though, since I've added the Quadravox sound module, my RN just speaks the number out loud <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=244">beermat</a> — Fri Apr 06, 2007 11:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2007-04-05T11:03:22+01:00</updated>
<published>2007-04-05T11:03:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8329#p8329</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8329#p8329"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8329#p8329"><![CDATA[
I borrowed some of DirtyRoboto's Theramin code to do the variable to sound part.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Thu Apr 05, 2007 11:03 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2007-04-05T07:56:04+01:00</updated>
<published>2007-04-05T07:56:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8328#p8328</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8328#p8328"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8328#p8328"><![CDATA[
The LCD port is a 4800, 8,1,none serial interface at TTL levels. I have used this to connect to a PC running a terminal emulator via a TTL to RS232 level converter (probably preaching to converted but don't connect the LCD port directly to a PC serial port, voltages are all wrong and damage is highly likely). I can then use the LCD functions to &quot;print&quot; values to the Terminal session. <br /><br />One word of warning, a lot of programs like hyperterm will convert your 0-255 value to a character. If you use something like RealTerm you get the choice of how it is displayed and can see if in HEX values for example rather than ASCII.<br /><br />Now that works for programming and testing, when in motion so to speak I use the ETX/ERX ports with a Bluesmirf to send commands to the RN-1 and get data back.<br /><br />Hope this helps<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Thu Apr 05, 2007 7:56 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Humanoido]]></name></author>
<updated>2007-04-05T06:32:11+01:00</updated>
<published>2007-04-05T06:32:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8327#p8327</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8327#p8327"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8327#p8327"><![CDATA[
That's the right idea. Without the LCD, sound can be used to return values. For example, it you wanted to read the battery voltage number, using the cable indicated in the manual, a select number of beeps can return the voltage range. By dimensioning a variable, a series of if-then statements can ferret out a value or range, then let you know the results with sound beeps. This is the method I'm using until a 4800 baud LCD is interfaced. Another method is to report the values and send the results over bluetooth to a pc.<br /><br />humanoido<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=416">Humanoido</a> — Thu Apr 05, 2007 6:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[chully00]]></name></author>
<updated>2007-04-05T04:51:16+01:00</updated>
<published>2007-04-05T04:51:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8325#p8325</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8325#p8325"/>
<title type="html"><![CDATA[help me Output my Input]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1260&amp;p=8325#p8325"><![CDATA[
So the Robonova is great, really great. I've had mine for a few weeks now and I have been having a blast! I've been doing stuff that people on these forums have already done, like adding a gyro and of course making new poses and movements. I want to give the RN some more sensors, and make the most of them. <br />So anything I plug into the 8 AD ports I can get a value of 0-255 returned with the AD() function in RoboBASIC... but How do I tell what the value is?? I can't just &quot;PRINT value&quot; or something because there is no screen! (:twisted: yet... )<br />I noticed that according to my manual, a previous version of the ROBONOVA controller board had a SOUND function that would output 255 different freqencies, perfect for interfacing with the 255 different values that the AD function would get as input from the analog sensors. It would be a quick fix, and slightly better than using the position of a servo to indicate the value of my sensor reading... I spent a few hours scratching my head as to why SOUND didn't do anything for me! (Only MUSIC works out of such functions) I wonder if there is any way of getting this functionality on the MR-3024 board on my ROBONOVA? <br />I need to get some indication about what values my sensors are giving before I can really get any further in making my RN interact with the environment. Maybe I should invest in a bluesmirf, but since this kind of communication is only strictly essential during testing, maybe just a serial cable would work. Any suggestions to use the ERX and ETX with just a cable? and maybe one of <a href="http://www.acroname.com/robotics/parts/S13-SERIAL-INT-CONN.html" class="postlink">these</a>?<br />How do you find out stuff like sensor values?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=582">chully00</a> — Thu Apr 05, 2007 4:51 am</p><hr />
]]></content>
</entry>
</feed>