This is a great thread.  :)  +1 for serial support in Chuck.<div><br></div><div>I've done a lot in the past with hardware interfaces and Chuck and have always run something like processing/oscP5 or a python/pyliblo script in the middle to send OSC to chuck.  </div>
<div><br></div><div>Arduino (on a mac) uses the FTDI driver to expose a serial port.  In a posix environment, can't we configure our machines to pipe the output of that file in the dev filesystem to a named pipe or something as a work-around?</div>
<div><br></div><div>mkfifo tochuck</div><div>cat /dev/usbserial-blah | tochuck</div><div><br></div><div>and then read from tochuck using file i/o objects?  I know it's hackish, but what is nice is that you could configure your system to just do this all the time and then your students wouldn't have to constantly worry about booting processing and running some dinky little middleware app that sends serial over OSC.  </div>
<div><br></div><div>You'd have to be careful to use an ascii based protocol on the arduino side.  And, of course, you'd have to make sure to reset everything when chuck crashes with the file still open.</div><div>
<br></div><div>Just thinking out loud here...</div><div><br></div><div>-Mike<br clear="all"><div><br></div><a href="http://michaelclemow.com" target="_blank">http://michaelclemow.com</a><br><a href="http://semiotech.org" target="_blank">http://semiotech.org</a><br>
<br><br>
<br><br><div class="gmail_quote">On Sun, Mar 4, 2012 at 11:09 PM, Michael Heuer <span dir="ltr"><<a href="mailto:heuermh@gmail.com">heuermh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">N. Cameron Britt wrote:<br>
<br>
> YES! Chuck NEEDS serial. Of course it's true that all of this can be<br>
> accomplished using some other application and OSC, but it's cumbersome and<br>
> lame to have to use another application *only* to get access to serial. I've<br>
> had to do this for several projects, including one I'm working on now.<br>
><br>
> HIDUINO seems like a promising alternative for Arduino stuff, but I wasn't<br>
> able to get it working right, so I gave up on it. Maybe others have had luck<br>
> with that?<br>
<br>
</div></div>There's also OSC on Arduino via an ethernet shield, e.g.<br>
<br>
<a href="http://recotana.com/recotanablog/closet" target="_blank">http://recotana.com/recotanablog/closet</a><br>
<br>
<a href="http://adrianfreed.com/content/oscuino-arduino-osc-sketch-open-sound-control-work#comment-304" target="_blank">http://adrianfreed.com/content/oscuino-arduino-osc-sketch-open-sound-control-work#comment-304</a><br>

<br>
Does anyone have experience with such a library?<br>
<span class="HOEnZb"><font color="#888888"><br>
   michael<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br></div>