Jim's
Tutorials

Fall 2011
course
navigation

sep 16

Jim

Three of us including Tim talked at lunch about final plan application.
Aaron has been looking at Processing ... but hasn't posted that here yet.

Aaron

1st try

I've started experimenting with trying to get Arduino to talk with Processing. I followed the instructions on http://www.arduino.cc/playground/Interfacing/Processing but am having no luck yet. I didn't have much luck with processing so I briefly tried Puredata but did not have any luck.
A lot of this seems to be based on installing third party libraries and having the right versions of each thing installed in the correct directories. I imagine using a clean install of the Arduino IDE in addition to a recently maintained peice of code (i.e. one that doesn't link to nonexistent webpages)
I played around a little bit over the summer with Python's pySerial library and had some luck with it. As I am somewhat familiar with python, this might be a good route to take initially.

2nd try

I tried to follow the instructions here: http://principialabs.com/arduino-processing-serial-communication/ I found something that looks rather promising in the arduino/processing direction: http://www.sojamo.de/libraries/controlP5/#installation
I finally got Processing and my Arduino to talk to eachother. It turns out I was installing libraries incorrectly. To install the library, you have to take the whole contents of the zip file, put them into a folder named– libraries/ inside the processing folder as listed in its preferences.
This site (or something almost exactly like it) was quite helpful in figuring out where to put libraries: http://wiki.processing.org/w/How_to_Install_a_Contributed_Library

could-have-been 3rd try

This is the wrong processing file. And the matching arduino sketch didn't get uploaded.
http://cs.marlboro.edu/ courses/ fall2011/jims_tutorials/ aaron/ sep_16
last modified Friday September 30 2011 2:13 pm EDT

attachments [paper clip]

     name last modified size
   aaron_chompers.m4v Sep 16 2011 2:17 pm 29.6MB    SliderSerial_Processing.pde Sep 16 2011 2:06 pm 2.71kB