<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Sending only a byte seemed to help a lot!&amp;nbsp;&amp;nbsp;I also added a short delay in the Arduino code to give the serial time to finish processing before moving on and that seemed to help also.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;. . .&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;readByte=Serial.read(); &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay(20); &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;. . . &lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;Brother.Ed        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5391</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5391</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks for the info. I will try it as soon as I can!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5391</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5391</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ed,&lt;br&gt;&lt;br&gt;We found in the past that communicating with an Arduino can cause issues. That&apos;s why the Arduino modules include a CRC (checksum) to ensure that the data was sent correctly. Its possible for characters to go missing so you have to watch for that.&lt;br&gt;&lt;br&gt;What I would do in your case is convert the number to a single byte. You can do this in the serial module by using&lt;br&gt;&lt;br&gt;\[RelayNo]&lt;br&gt;&lt;br&gt;which would send a single byte instead of a bunch of ascii characters which could be received out of order. With a single byte, there isn&apos;t anything to get lot and is also a lot faster.&lt;br&gt;&lt;br&gt;You will have to ensure that no relay is above 255 but I think that&apos;s ok in your situation.&lt;br&gt;&lt;br&gt;You will also have to change your Arduino code to now receive a single binary character and use that directly ... which again is actually easier than dealing with an ascii string.&lt;br&gt;&lt;br&gt;Try that change and see how it fairs.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5391</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5391</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Serial Module skips/sends/returns wrong data</title>
        <description>
        Greetings STeven! Thank you for this impressive software.&lt;br&gt;&lt;br&gt;I am trying to identify and sort various Legos on a&amp;nbsp;&amp;nbsp;moving belt and blow them off with air into the correct bin.&amp;nbsp;&amp;nbsp;I am using an Arduino Uno that looks for a RelayNumber (integer) on the serial port, then calculates the number of counts from a proximity switch before firing the correct relay.&amp;nbsp;&amp;nbsp;It seems to work well when I send numbers from the keyboard, but now I want to send them from RoboRealm.&lt;br&gt;&lt;br&gt;RoboRealm is able to identify the parts going past the camera but I can&apos;t seem to get the &quot;ID&quot; number to reliably make it to the serial port. While watching the serial Console, some ID numbers never get sent even though display_variables shows a proper ID.&amp;nbsp;&amp;nbsp;Sometimes the Arduino reports back a number that was not sent. &lt;br&gt;&lt;br&gt;I have been studying thread 4995 and have modeled my system similarly.&amp;nbsp;&amp;nbsp;Please see attached.&amp;nbsp;&amp;nbsp;I have checked &quot;Wait for Reply&quot;.&lt;br&gt;&lt;br&gt;Do you think I have a computer error? (Old XP Machine)&lt;br&gt;Do I have a strategy error? (I hope to control 20 relays eventually)&lt;br&gt;Is it possible that the Console is not fast enough to catch the return string from Arduino? &lt;br&gt;&lt;br&gt;Thanks in advance.&amp;nbsp;&amp;nbsp;I am very new to vision systems!&lt;br&gt;&lt;br&gt;Brother.Ed &lt;p&gt;&lt;a target=_blank href=http://www.roborealm.com/forum/download_zipfile.php?post_id=27411&amp;name=Brother_Ed.zip&amp;zip_id=1&gt;&lt;img border=0 src=http://www.roborealm.com/images/zip_icon_small.gif&gt; Brother_Ed.zip&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5391</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5391</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
