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

<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>2008-08-05T03:21:07+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=2767</id>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-05T03:21:07+01:00</updated>
<published>2008-08-05T03:21:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17152#p17152</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17152#p17152"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17152#p17152"><![CDATA[
Hi,<br /><br />No I don't wait for any bytes to be received, just send all 4 at once.  I even tried sending each byte and sleeping 10ms,5ms and 3ms between each byte and it still did not work.  I did not wait for response so that could be the problem.   I will try again, but at this stage, direct serial might be out and ETX, ERX might be the way I will do things, pity just like robots42 said<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Tue Aug 05, 2008 3:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-05T01:39:21+01:00</updated>
<published>2008-08-05T01:39:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17150#p17150</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17150#p17150"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17150#p17150"><![CDATA[
Put a scope on the signals.<br />Br@y'sTerminal at 10ms repeat rate for a macro actually repeats at ~110ms with 0.5 ms inter-character gap. Reading a servo position it gets lots of errors just as many as sending from the Stamp. Only sending three bytes so not overrunning the buffer. Sending from the Stamp with 30ms inter-character gap and 100ms inter-message gap still get lots of errors. Basically I think the port is virtually unusable. Pity<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Tue Aug 05, 2008 1:39 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-04T08:44:59+01:00</updated>
<published>2008-08-04T08:44:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17146#p17146</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17146#p17146"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17146#p17146"><![CDATA[
Well I have been running RN from a Stamp BS2, no operating system to get in the way! The C3024 is so sloooww.  Using a macro in Br@y'sTerminal  I don't get any errors even at a 10ms repeat rate for the macro, Haven't looked to see what the inter byte time is. With the Stamp it needs a 30ms byte pace  pause. And yes it does go through a level shifter.<br /><br />Do you know what the minimum time is between receiving and transmitting a byte is?<br /><br />I don't think the servicing of the port is up to external control. It is just not fast enough and increasing the baud rate is not going to improve matters any.<br />Very disappointed.<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Mon Aug 04, 2008 8:44 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-08-04T08:34:50+01:00</updated>
<published>2008-08-04T08:34:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17145#p17145</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17145#p17145"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17145#p17145"><![CDATA[
Are you sending $F7 $40 $01 $00 as a string of characters, or do you wait for each character reply before sending the next ?<br /><br />The C3024 receiver does not use interrupt, and there can be large delays before the UART is read.<br /><br />The UART receiver has 2 bytes of buffer and the receive register, The fourth byte probably gets lost or corrupts the 3rd byte.<br /><br />Wait to get at least one character back before sending the fourth.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Aug 04, 2008 8:34 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-04T02:38:48+01:00</updated>
<published>2008-08-04T02:38:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17144#p17144</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17144#p17144"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17144#p17144"><![CDATA[
No I don't know what the minimum byte time is but running the basic interp must slow things down a bit.   Real-time control is out with the current firmware, but executing motions and finding out when they are complete is in.  This will be good enough for the first rev of my driver.  I will be implementing a soccer playing behaviour with off board processing of images and motion commands.<br />Great robot, so so firmware.  The BASIC system is really good for starting out.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Mon Aug 04, 2008 2:38 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-03T23:10:04+01:00</updated>
<published>2008-08-03T23:10:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17143#p17143</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17143#p17143"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17143#p17143"><![CDATA[
Well I have been running RN from a Stamp BS2, no operating system to get in the way! The C3024 is so sloooww.  Using a macro in Br@y'sTerminal  I don't get any errors even at a 10ms repeat rate for the macro, Haven't looked to see what the inter byte time is. With the Stamp it needs a 30ms byte pace  pause. And yes it does go through a level shifter.<br /><br />Do you know what the minimum time is between receiving and transmitting a byte is?<br /><br />I don't think the servicing of the port is up to external control. It is just not fast enough and increasing the baud rate is not going to improve matters any.<br />Very disappointed.<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sun Aug 03, 2008 11:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-03T22:05:14+01:00</updated>
<published>2008-08-03T22:05:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17141#p17141</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17141#p17141"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17141#p17141"><![CDATA[
Flurry of messages.<br /><br />So now I don't need ETX and ERX. <br />I can read variables( Motion completed) out of basic program and write in to the basic program to start the motions.<br /><br /><br /><br />Done.!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Sun Aug 03, 2008 10:05 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-03T21:42:04+01:00</updated>
<published>2008-08-03T21:42:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17140#p17140</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17140#p17140"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17140#p17140"><![CDATA[
ok after a little more testing I found something strange.<br />If I send down<br />$F7 $40 $01 $00 I will sometimes get the correct data. not sure why<br />if I send down<br />F7 $40 $01<br />Then I always get the correct data, but sometimes mistakes $01 as writing to the first variable in the basic program and my RN1 will bow.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Sun Aug 03, 2008 9:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-03T20:50:40+01:00</updated>
<published>2008-08-03T20:50:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17139#p17139</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17139#p17139"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17139#p17139"><![CDATA[
Ok,<br /><br />So I tried this and it kind of works.  I am getting the data, but it some times changes.  I am not sure why, maybe because my battery is low or because I used RZBasic on my mac?  Really weird.  I tried to read the 5th and 6th defined variable, but had some trouble. <br />I will try again with a fresh battery and then recompile and download on Windows, I think it is the battery.<br />hmm, could also be the firmware!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Sun Aug 03, 2008 8:50 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-02T17:18:59+01:00</updated>
<published>2008-08-02T17:18:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17137#p17137</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17137#p17137"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17137#p17137"><![CDATA[
Yes Var1 is the first DIMed var<br />I have  already been invoking the template routines by sending 0-32 or more easily sending keys 0-9 and  A to W, have to subtract 48 etc to make it work. I thought the Action cmnd lines were to read the keyboard and they had made a mistake in 50 for 48 but 50 was right. Action needs 50 subtracting.<br />Now I know how to read the Vars adding a higher level processor will be easy.<br />ETX and ERX are so primitive as to be virtually unuseable.<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sat Aug 02, 2008 5:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-02T16:34:51+01:00</updated>
<published>2008-08-02T16:34:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17135#p17135</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17135#p17135"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17135#p17135"><![CDATA[
Nothing like a friendly challenge to spur things on early in the morning or evening in your case!!.<br /><br />Thanks I will try this, knowing what I want to do via direct serial and built in motions,  is var1 the first BASIC variable ?  I still want to execute the built in motion sequences via direct serial. example send down 0x00-0x7F to execute motions and then read a variable to indicate when the motion is completed.<br /><br />I will try this tomorrow.<br /><br />Thanks! <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Sat Aug 02, 2008 4:34 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-02T16:25:21+01:00</updated>
<published>2008-08-02T16:25:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17133#p17133</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17133#p17133"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17133#p17133"><![CDATA[
Thank you for spuring me on<br />I have just tried this<br />knowing that the first variable is at $140 then using $F7 any variable can be read<br />DIM Var1 AS BYTE<br />DIM Var2 AS BYTE<br /><br />$F7 $40 $01 $00 reads Var1 <br />$F7 $41 $01 $00 reads Var2<br /><br />no need to poke anything<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sat Aug 02, 2008 4:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-02T15:19:32+01:00</updated>
<published>2008-08-02T15:19:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17132#p17132</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17132#p17132"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17132#p17132"><![CDATA[
oops! Read your post incorrectly and then copied wrong bit of i_Bots post.<br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sat Aug 02, 2008 3:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HumanoidFan]]></name></author>
<updated>2008-08-02T15:12:06+01:00</updated>
<published>2008-08-02T15:12:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17131#p17131</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17131#p17131"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17131#p17131"><![CDATA[
Hi,<br /><br />Is that the correct post?  This post is about sync_move and not about getting data out of a basic program via the serial commands!<br /><br />Am I missing something?<br /><br />Thanks <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=966">HumanoidFan</a> — Sat Aug 02, 2008 3:12 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robots42]]></name></author>
<updated>2008-08-02T11:54:08+01:00</updated>
<published>2008-08-02T11:54:08+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17130#p17130</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17130#p17130"/>
<title type="html"><![CDATA[getting data out of a basic program via built in serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2767&amp;p=17130#p17130"><![CDATA[
I-Bot wrote about this<br /><blockquote class="uncited"><div><br />i-Bot<br />PostPosted: Sat Mar 15, 2008 2:45 pm<br />B1 should be zero for PTP Off and non zero for PTP on.<br />.....<br /></div></blockquote><br />David<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1082">robots42</a> — Sat Aug 02, 2008 11:54 am</p><hr />
]]></content>
</entry>
</feed>