title: Opening serial connection to Arduino through Bash
body: <p>I have set up my Arduino so when I send a "0" via the serial monitor, a stepper motor turns a given amount.</p>
  
  <p>I want to include this in a bash script, but I can only get this to work when the arduino serial monitor is open and entering <code>echo 0 &gt; /dev/tty.usbserial641</code> in bash. I assume this is because serial monitor is opening the connection for me.</p>
  
  <p>In my struggle to open the connection in bash (without serial monitor open) I have tried all manner of options with <code>stty -f /dev/tty.usbserial641</code> and have also tried connecting reset to ground with a 10uF capacitor.</p>
  
  <p>Can any help me open the connection in bash without the use of arduino serial monitor?</p>
  
  <p>System:
  Arduino Uno rev3
  OS X 10.8.4</p>
  
  <p>Many thanks,
  hcaw</p>