The simplest interaction between the arduino and pure data is by using the comport object in pure data and sending data to it using the Arduino’s Serial object. Below is an illustration of two way communication between pure data and the arduino. On the right the comport object receives values as bytes and puts them on the first vslider. The values from the second slider are sent to the comport. On the left you can see the code for the arduino. The arduino reads the potentiometer and if the value has changed writes the value (scaled to fit in a byte) to the serial port. Then it checks to see if a value has been sent to it and if its different from the last value it sets the led pins pwm value accordingly.
My idea is still tentative, but I really want to take advantage of the leap motion sensors input capabilities.
For now, I was thinking of hooking up each sensor to a separate servo motor with something interesting attached to each.
If I can’t think of anything meaningful to append to the servos, I will make the outputs trigger some kind of sample via MIDI.
If I go the MIDI route, I will try to use the gesture library to save patterns and do something interesting with that.
Here is a leap motion promo video for anybody interested: https://www.youtube.com/watch?v=_d6KuiuteIA
Does anyone have any extra fiber optic filaments I could play with?
Found this link helpful: http://elinux.org/R-Pi_Troubleshooting#Normal_LED_status
I was curious what LEDs were indicating and this answered it, plus links to many more topics.
Here are a few Resources.
This is not nearly complete but its a good place to put some of this stuff. I will keep adding to it.
The Raspberian Distribution that we are using.
We are using a modified version of raspberrian that has pure data running on it. We added the arduino software and a few other pieces of software to it. Once we figure out how to neatly package it we will post a link to the final product. In the mean time the source for the distro and some rudimentary instructions for using it are at http://pd-la.info/pdpi/
Connecting to your Pi.
I need to write up the specific directions for our environment and both platforms but the links below are what I referenced
Pure data resources.
Projects using the same hardware.
Trying to keep up from home.
My project is a Tipi / Skirt with a rotating video projection that will circulate the perimeter of the Tipi. The idea is that the video (a figure) will be moving and the moving figure will make a circuit around the perimeter of the garment. Ideally, I’d like to even upgrade this to have it triggered by a motion detection device so it activates when you’re in range.
Projection inside (rear projection)
Loop initiated by motion
Even more bonus elements:
whole thing would be wired to turn on / off (power) by motion sensor so I don’t burn the projector out in the course of exhibiting the piece.
Here’s a link to an old blog of mine with an earlier piece (see kangaroo at bottom of blog) Video clip to right projects inside pouch.
I’d like to create a box that listens for various short melodies and then opens and displays light and sound in response.
Control a light sculpture without a laptop. Create an interactive sequence of lights that looks animated.