PD and Arduino

I explored some ways to use PD to communicate with an Arduino. There are wo ways to interact with an Arduio from PD: serial communication via the [comport] object and controlling the Arduino directly with [pduino] using the firmata firmware.

[comport] simply sends and receives serial messages. I found it a little difficult to convert those messages into the right format as to understand and further process them. The PD help file isn’t exactly helpful to that extend, but I found a patch called ArduinoPDMessageSystem that makes sense of the serial messages, even though I haven’t understood every objects function there yet.

So far, I have managed to send messages to the Arduino to interface a HCF4094 shift register controlling 8 LEDs. I use the same register to control my “Diskokugel”, so heres for the next step to its completion :-)

Tags: , , ,

Comments are closed.