Hello,
is there anything like pduino that works with vanilla, or can anyone tell me how I can control digital outputs with pd vanilla?
Thanks,
Andy
pduino for Vanilla or how to control arduino outputs from PD
Hello,
is there anything like pduino that works with vanilla, or can anyone tell me how I can control digital outputs with pd vanilla?
Thanks,
Andy
You can't have any sort of communication with vanilla only, cause in order to receive and send serial data over USB you need [comport]. Otherwise you can do the communication over some other software, like Python, and communicate with it via OSC, which can be done with vanilla, but then it's not only Pd involved.
Hello, thank you for the quick response. But is it possible to only use the comport external, or do I have to use the whole PD extended package?
@Knallberto I have comport with vanilla on my RPI3.
I am pretty sure I searched for it in Pd.... Help.... find externals.... and searched for comport.
Thanks for the reply, I already have comport, the problem is that I don't know how to control a digital output from PD.
[arduino] is the Pduino abstraction that communicates with Arduino via Firmata, and I think it's vanilla. Any way, if all you want is to control Arduino pins from Pd, you just need to send the correct bytes to Arduino through [comport].
I've written a tutorial on the communication between Pd and Arduino which you can find here, under "Tutorials", it's called "Arduino for Pd'ers".
After I wrote the tutorial I also wrote some abstractions to facilitate this communication, which are not used in the tutorial. You can get them here. Though, these are meant to receive data from the Arduino, not send. Sending data is covered in the tutorial.
Thank you!
Oops! Looks like something went wrong!