http://www.combustory.com/wiki/index.php?title=Talk:Arduino_Communications&feed=atom&action=history Talk:Arduino Communications - Revision history 2024-03-29T08:20:36Z Revision history for this page on the wiki MediaWiki 1.17.0 http://www.combustory.com/wiki/index.php?title=Talk:Arduino_Communications&diff=372&oldid=prev Combustor at 17:05, 1 December 2008 2008-12-01T17:05:32Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">← Older revision</td> <td colspan='2' style="background-color: white; color:black;">Revision as of 17:05, 1 December 2008</td> </tr><tr><td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>= Notes from Creator = &#160;</div></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>= Notes from Creator = &#160;</div></td></tr> <tr><td class='diff-marker'>&minus;</td><td style="background: #ffa; color:black; font-size: smaller;"><div>1 Dec 08 - Roland has provided an alternate solution that I have not investigated yet. By all means I recommend to look for a smoother way to accomplish this task, and please report any successes.&#160; Right now I have invested my time and my method works for my needs, some day I may evaluate other ways <del class="diffchange diffchange-inline">as well.&#160; I also want to give Roland credit for the inspiration of his SMS solution, which I reviewed before I made my solution.&#160; I liked his ideas and I used his basic concept to forge my method </del>as well. &#160;</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>1 Dec 08 - Roland has provided an alternate solution that I have not investigated yet. By all means I recommend to look for a smoother way to accomplish this task, and please report any successes.&#160; Right now I have invested my time and my method works for my needs, some day I may evaluate other ways as well.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>If you are like me and you are always on the lookout for a step by step that reduces your development time, then my method does work great and I built my specific windows Apps quite a bit since I authored this solution.</div></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>If you are like me and you are always on the lookout for a step by step that reduces your development time, then my method does work great and I built my specific windows Apps quite a bit since I authored this solution.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'>&minus;</td><td style="background: #ffa; color:black; font-size: smaller;"><div>One note on his comment concerning the resetting of the board.&#160; My method does not reset the board as long as stty command remains active with the Arduino.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>One note on his comment concerning the resetting of the board.&#160; My method does not reset the board as long as stty command remains active with the Arduino<ins class="diffchange diffchange-inline">, and it does not disconnect unless there is a power failure, so this is not an issue</ins>.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>I would love to hear more comments.</div></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>I would love to hear more comments.</div></td></tr> </table> Combustor http://www.combustory.com/wiki/index.php?title=Talk:Arduino_Communications&diff=371&oldid=prev Combustor at 17:02, 1 December 2008 2008-12-01T17:02:08Z <p></p> <table style="background-color: white; color:black;"> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr valign='top'> <td colspan='2' style="background-color: white; color:black;">← Older revision</td> <td colspan='2' style="background-color: white; color:black;">Revision as of 17:02, 1 December 2008</td> </tr><tr><td colspan="2" class="diff-lineno">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">= Notes from Creator = </ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">1 Dec 08 - Roland has provided an alternate solution that I have not investigated yet. By all means I recommend to look for a smoother way to accomplish this task, and please report any successes.&#160; Right now I have invested my time and my method works for my needs, some day I may evaluate other ways as well.&#160; I also want to give Roland credit for the inspiration of his SMS solution, which I reviewed before I made my solution.&#160; I liked his ideas and I used his basic concept to forge my method as well. </ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">If you are like me and you are always on the lookout for a step by step that reduces your development time, then my method does work great and I built my specific windows Apps quite a bit since I authored this solution.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">One note on his comment concerning the resetting of the board.&#160; My method does not reset the board as long as stty command remains active with the Arduino.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">I would love to hear more comments.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">== 22 Nov 08 Discussion From Roland Latour ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>Communication with Arduino Diecimila under linux is not that difficult.</div></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>Communication with Arduino Diecimila under linux is not that difficult.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>The instructions at arduino.cc recommend using 'screen', which actually forks</div></td><td class='diff-marker'>&#160;</td><td style="background: #eee; color:black; font-size: smaller;"><div>The instructions at arduino.cc recommend using 'screen', which actually forks</div></td></tr> </table> Combustor http://www.combustory.com/wiki/index.php?title=Talk:Arduino_Communications&diff=370&oldid=prev 207.14.167.161: easy shell scripting with Arduino 2008-11-22T01:25:53Z <p>easy shell scripting with Arduino</p> <p><b>New page</b></p><div>Communication with Arduino Diecimila under linux is not that difficult.<br /> The instructions at arduino.cc recommend using 'screen', which actually forks<br /> a child of itself to handle responses from the board. You can do the same<br /> from the bash shell. First, start a helper program:<br /> cat /dev/ttyUSB0 &gt;&gt; logfile1.raw &amp;<br /> When you unplug the Diecimila, ttyUSB0 goes away, causing this job to exit.<br /> You also need this because without a process holding open the connection,<br /> the Diecimila resets itself after every command.<br /> <br /> Then send commands to the unit. Here's a sample that sends 'r a' to Simple<br /> Message System on the Diecimila to read the analog ports:<br /> /bin/echo -e -n &quot;r a\r&quot; &gt; /dev/ttyUSB0<br /> Then get the results with this command:<br /> tail -1 logfile1.raw<br /> That's it! Everything else is window dressing.<br /> <br /> As proof of concept, check out my package of shell scripts to talk to<br /> Simple Message System. Full IO &amp; PWM control. AD is scaled to milliVolts<br /> and formatted for import to most spreadsheets. Navigate to<br /> http://user.cavenet.com/rolandl<br /> and download SMS1.tgz, a tar gzip'd archive file. Unpack it with:<br /> tar xvzf SMS1.tgz<br /> You can't (under GPLv2) remove my name and claim it as your own, but you<br /> can take it apart and re-assemble the pieces in new &amp; interesting ways<br /> (I hope you do). Written under Kubuntu, other OSes may vary (especially Slackware!) Questions: contact rolandl@cavenet.com. I hope you find<br /> this useful. -Roland Latour</div> 207.14.167.161