by on Arduino

I made a mock-up in Max for LED control. Here’s a screenshot.
LED-Mockup-Max

I’m porting it to PD but in the meantime I am starting to work with Neopixel strips from AdaFruit and they have built in libraries for Arduino, so I will probably put this PD port on hold until I figure out which route to go.

by on Intermediate Arduino Class

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.

 

8 bit wonder comms

 

by on Intermediate Arduino Class

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

by on Intermediate Arduino Class

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

Windows

OSX

Linux

  •     (later)

Pure data resources.

Arduino resources

Projects using the same hardware.