Sending Data Back & Forth Between Arduino And Pure Data (also works with MaxMSP!)

preview_player
Показать описание
Let’s send a sensor data to Pure Data from Arduino. And at the same time, let’s send a brightness data to an LED from Pure Data.

---

Download here:
Рекомендации по теме
Комментарии
Автор

You are a PD god. Thank you immensely for this very helpful tutorial

sennabullet
Автор

I'm teaching at a sound art seminar in Sweden using what I'm learning from your Youtube channel. Amazing work! You make the Internet an amazing place <3 Thank you!

AntonSoederberg
Автор

Hey, huge thank you for your tutorials. This is going to be the second I follow. Your steps are flawless and pleasant to follow.

Visualatrix
Автор

I usually go for the OSC library provided by CNMAT (on github). It allows sending OSC as SLIP encoded messages over USB. That allows as many ins and outs as you might want, with human readable addresses. It's also simple to port over to boards with wifi should you ever want to do that.

Thanks for creating such a friendly resource for new patchers 👍🌈

zealco
Автор

Keep making videos of this quality and you will get a very large following. You are helping a lot of people around the world, brother.

Daruma_Studio
Автор

I was literally searching for something like this yesterday for a project, so thank you! 🙏🏽

Soarin_Altiss
Автор

Beautiful. I usually transfer data between arduino and PD by using Serial.write instead of Serial.println.. It has its own problems, but at least I dont need all the libraries and complicated asci decoding stuff :) but nice to see multiple methods of doing things!

hannesbrugger
Автор

Excellent! Been needing to retrieve frequencies from the Teensy laser synth to the controller's monitor, modify the frequency from the freq counter, then send that value back to the laser synth in real.
So far, I've only been able to display the frequencies with the Arduino IDE's serial monitor.
Also diving into TouchOSC and customizing Reaper's DAW for touch GUIs over Ethernet connected devices. Fun stuff.
Thanks!😎

TheOleHermit
Автор

That seems like an easy workaround, I think the more proper way to do it would be to use something like the Task Scheduler library on Arduino for asynchronous execution of the sending and receiving. I don't have much experience with this though and it is a pretty big step up in coding concepts.

igon
Автор

Thanks always! I would like to know how I can use udpsend / receive in PD like MaxMSP. Can you show it to me? Thanks again!

ZOMichael-ds
Автор

this works with the image? if I want to put a image move?

anacarolina
Автор

Are the values 13 and 10 specific to [comport] in Pd? Why are they specified in the [sel] object in your Pd patcher?

deltasoundlabs
Автор

Hello, I've been watching and learning from your videos, they have been very useful in helping me learn the basics of PureData and Arduino, thank you so much for your tutorials !

Recently I have purchased a Daisy Seed, I've figured out how to upload code using Daisyduino for Arduino IDE, and using Visual Studio Code, but I can't for the life of me figure out how to use Daisy to control sounds in PureData. I have followed your videos demonstrating how to achieve this using Arduino UNO with success, but the same methods don't seem to work for the daisy seed. Could you possibly give me a few tips ?

TcheezSandtwich
Автор

The moocow externals seem to have vanished from the Internet and I can't find another way to reliably convert the data to bytes. That said, sending [print 1234 1234 1234( to [comport] is supposed to handle that parsing, so you can send arbitrary lists, symbols, or strings, but it doesn't seem to be working, either. I only ever get newline (10) at the other end, not the content of the message

I'd sure love to figure out how to just make [print *( work, but an external (or other technique) that converted to bytes would be second best.

Edit: Turns out, in MacOS, you need to confirm each *.pd_darwin file by right clicking, clicking "Open", and then telling the warning box OK. But I still get errors when I try to send anything at all.

joshuaa.c.newman
Автор

I'm not able to get the pure data code to work. Two of the objects show up red and don't work. any help would be appreciated

tannsanndforever
Автор

is it possible to send max msp or puredata to a teensy and use that as a standalone synth, without ever having to connect to a computer? including knobs.

eliahdude
Автор

what is cyclone? is it a library? how do you use it in Pure Data?

eliyahumedia
Автор

I see "bsd_path", what should I do?

takayoshinakano
welcome to shbcf.ru