<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Questions about Arduino, displays and communication with PD.]]></title><description><![CDATA[<p>Hey <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>I've been thinking about making a control surface for Pure Data and I think I am diving into it soon.</p>
<p>Making hardware solutions is pretty new to me, so I am just looking for some tips and tricks and trying to find out how hard it is to build something.</p>
<p>I understand that Arduino might be a nice solution? AFAIK there is a lot of options and code base to use?</p>
<p>Some of the things I would like to have in my controller is:</p>
<ul>
<li>Endless encoders. Maybe 16-24.....</li>
<li>Displays for encoder/parameter feedback.</li>
<li>16 buttons, with LEDs, that can be used for a sequencer.</li>
<li>More buttons for pages and menues.</li>
<li>Midi compatibility(USB), so I can connect it to my Macbook/PD.</li>
</ul>
<p>Those are the most important things. I guess I probably need some multiplexing for this to work, when it's so many parameters and buttons?</p>
<p>One of the things that I am most concerned about is how I make Pure data interact with the displays on the controller?</p>
<p>And also thinking a bit about the endless encoders how they interacts with midi and PD. To be honest I never used an endless encoder before so not sure how it will work with PD.</p>
<p>I do have some experience with c++ and coding objects for Axoloti and for VCV rack and did take som courses, so I do have a bit of understanding of the software side, but not a lot about implementation into hardware solutions.</p>
<p>Do you guys think this is doable? If so, where should I start? Which Arduino would be suitable for this project?</p>
<p>Anything I missed?</p>
<p>Thanks in advance <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:51:31 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13273.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Feb 2021 18:38:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Questions about Arduino, displays and communication with PD. on Thu, 04 Feb 2021 18:40:26 GMT]]></title><description><![CDATA[<p>Hey <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>I've been thinking about making a control surface for Pure Data and I think I am diving into it soon.</p>
<p>Making hardware solutions is pretty new to me, so I am just looking for some tips and tricks and trying to find out how hard it is to build something.</p>
<p>I understand that Arduino might be a nice solution? AFAIK there is a lot of options and code base to use?</p>
<p>Some of the things I would like to have in my controller is:</p>
<ul>
<li>Endless encoders. Maybe 16-24.....</li>
<li>Displays for encoder/parameter feedback.</li>
<li>16 buttons, with LEDs, that can be used for a sequencer.</li>
<li>More buttons for pages and menues.</li>
<li>Midi compatibility(USB), so I can connect it to my Macbook/PD.</li>
</ul>
<p>Those are the most important things. I guess I probably need some multiplexing for this to work, when it's so many parameters and buttons?</p>
<p>One of the things that I am most concerned about is how I make Pure data interact with the displays on the controller?</p>
<p>And also thinking a bit about the endless encoders how they interacts with midi and PD. To be honest I never used an endless encoder before so not sure how it will work with PD.</p>
<p>I do have some experience with c++ and coding objects for Axoloti and for VCV rack and did take som courses, so I do have a bit of understanding of the software side, but not a lot about implementation into hardware solutions.</p>
<p>Do you guys think this is doable? If so, where should I start? Which Arduino would be suitable for this project?</p>
<p>Anything I missed?</p>
<p>Thanks in advance <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd</guid><dc:creator><![CDATA[jaffasplaffa]]></dc:creator><pubDate>Thu, 04 Feb 2021 18:40:26 GMT</pubDate></item><item><title><![CDATA[Reply to Questions about Arduino, displays and communication with PD. on Thu, 04 Feb 2021 23:36:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jaffasplaffa">@jaffasplaffa</a> I recently built my first device, a USB midi footswitch with an arduino. A bit of googling led me to the awesome <a href="https://github.com/tttapa/Control-Surface" rel="nofollow">MIDI Control Surface</a> library.</p>
<p>The main thing to be careful about IMO is to get the right board to communicate directly over USB (Micro, Leonardo, Teensy, see the documentation), otherwise (Uno, Nano) you will need a serial-MIDI converter software like hairless (with GUI) or ttymidi (command line).</p>
<p>For the LED lighting I took inspiration from my other commercial controllers, and set the arduino's code to light up the LEDs by sending a notein and then it off with a noteoff (if you have multiple colors or blinking mode, you can use different velocities, e.g. 36 1 1 for solid green on button 36 (channel 1), 36 2 1 for blinking green, 36 3 1 for red, etc.<br />
You can also hardcode the LEDs status with the buttons status, but you may loose flexibility (especially when using Pd, but it may be more complicated to use a DAW if you have to set up when to light up the LEDs, not sure).</p>
<p>Now I am looking into building another controller with faders and knobs, and there I'll indeed also need multiplexers, as I believe that the bigger Arduino I could find had ~40pins. You will probably need digital pins for the buttons and LEDs, while potentiometers need analog pins (as far as I could understand so far, but I'm also new to this!).</p>
<p>In any case, regardless of how you initially program the arduino (e.g. only notein/noteout to control the LEDs), you can just decide otherwise later on and reprogram it (just like you would update a commercial controller's firmware) to change the note numbers of each button, add special modes to give other functionalities to the same buttons, this kind of things.</p>
<p>Let me know how it goes <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /> I'm hoping to get started on mine in 2 weeks or so.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd/2</guid><dc:creator><![CDATA[zigmhount]]></dc:creator><pubDate>Thu, 04 Feb 2021 23:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to Questions about Arduino, displays and communication with PD. on Thu, 04 Feb 2021 23:40:30 GMT]]></title><description><![CDATA[<p>Also, I'm curious about the buttons you'll choose for this!<br />
I can't mold silicon buttons or 3d-print the enclosure myself, so I may have to go for bulky arcade buttons, not sure yet.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13273/questions-about-arduino-displays-and-communication-with-pd/3</guid><dc:creator><![CDATA[zigmhount]]></dc:creator><pubDate>Thu, 04 Feb 2021 23:40:30 GMT</pubDate></item></channel></rss>