Looking for some help to get Arduino talking with Automatonism. Anyone with patches/modules complete to be shared.
I'm using comport and serial.print approach but I have issues to receive analog value and Digital toggles in Automatonism. Thanks
-
Arduino & Automatonism Help
-
What's the actual problem you're facing? What's the Serial.print approach you mention? Are you receiving data from the Arduino in Pd?
-
Hi Alexandros, for communication between pure data and arduino I'm using what described in your excellent book. I'm able to get pots and buttons/switch info into a pure data patch, but when trying the same with Automatonism no info is shared between pd and arduino. What I do in Automatonism is I open it, I build arduino_stuf patch how discribed in your book and then try to see if I receive data from arduino in Automatonism but nothing happens, the same patch in any pure data patch works perfectly. Thanks for the help.
-
Do you want to share your patch with automatonism? I just opened automatonism 1.0 (is there a greater version that I've missed?) and put a [comport] with [serial_print] and it worked fine.
You can get the [serial_print] abstraction from here https://github.com/alexdrymonitis/Arduino_Pd
It facilitates the communication between the Arduino and Pd a lot. -
Hi Alexandros, Thanks again for the help I Will follow your suggestions and share the patch after that, let me try again and see what happens. I will be back soon with any good or bad news.
-
Any luck with this? I have to admit that I had forgotten that I had included [serial_print] and [serial_write] in my book. I guess you've been using [serial_print] all along, so you can ignore my previous post...
-
Hi, Alexandros, Yes, I made a typo, I forgot to insert the colon after Digital_values and Analog_values (I was using patch reported in figure 2.22 pag 84 of your book)
In the arduino sketch I was including colon after Digital_values and Analog_values and I did not enter them in pure data.
Communication now between Arduino and Pure data is perfect, ready to complete my larger project.
Thanks again for the help and support and waiting for your next great book, if any, for me it's fundamental piece of knowledge.