Hi guys<br><br>I was researching about arduino mega and pd firmata and i found a post where they say that its not posible to use all digital output and analog inputs of arduino mega. <a href="http://arduino.cc/forum/index.php?topic=62256.0">http://arduino.cc/forum/index.php?topic=62256.0</a> <br>
<br>I gona buy arduino mega this week, but i need all inputs-output working for my proyect. Do you know something about this incompatibility??<br><br>thanks<br><br><div class="gmail_quote">2011/6/3 FernandoG <span dir="ltr"><<a href="mailto:dataferx@gmail.com">dataferx@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks guys, first i will try the easy way, arduino mega.<br><br>best!<div><div></div><div class="h5">
<br><br><div class="gmail_quote">2011/6/3 Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I think people have done some shift register+firmata things, but nothing got integrated into StandardFirmata/ Here's an example:<br>
<br>
<a href="http://www.makingthingsmove.org/blog/" target="_blank">http://www.makingthingsmove.org/blog/</a><br>
<br>
.hc<div><div></div><div><br>
<br>
On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It's certainly possible to make a Pd patch that controls shift registers through firmata. It's also possible to program the Arduino to do that and send the switch numbers to a Pd patch that has a [comport] in it.<br>
<br>
Martin<br>
<br>
<br>
On 2011-06-01 22:33, FernandoG wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for answer<br>
<br>
Martin: I am researching about shift registers, but if the idea is to<br>
use puredata to control audio playbacks, thats means that i need to<br>
control shift registers with pd? because the arduino will be flashed<br>
with pd firmdata and will be imposible to upload code to control shift<br>
registers, is that posible or i am thinking wrong?<br>
Thanks again<br>
<br>
Best!<br>
<br>
<br>
2011/5/30 Martin Peach <<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a><br>
<mailto:<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>>><br>
<br>
On 2011-05-29 23:20, FernandoG wrote:<br>
<br>
Hi<br>
i need to design a sistem to control 40 diferents audio files and<br>
playback in a stereo sistem. I was thinking to use puredata and<br>
arduino,<br>
load the 40 audios in a pd patch and use 40 switches and<br>
resistors into<br>
some arduino inputs to trigger and playback any of the 40 audios<br>
in pd.<br>
Every switch will be conected to a diferent resistor to generate<br>
diferents voltages then arduino inputs can diferenciate witch<br>
audio to<br>
playback. Also i need to power on a led any time a specific audio is<br>
been playback. The 40 audios will not be playback simultanusly, but<br>
probably al least 15 or 20 could be.<br>
<br>
Anybody knows about a similar proyect? can i use analog input to<br>
control<br>
various samples or its not good idea? multiplexors? do i need to<br>
use an<br>
arduino mega or its not necesary?can i power 15-20 led<br>
simultaneously?<br>
the best way to do this system stable for long long time?<br>
<br>
<br>
The analog input method is similar to the resistor ladder that<br>
analog synthesizer keyboards used. Arduino analog inputs can<br>
differentiate 1024 levels but the values of resistors are usually<br>
5%, but 40 levels should be easy.<br>
The best way to do LEDs is with shift registers. That way you can<br>
use just 3 pins on the Arduino to control as many LEDs as you like.<br>
For LEDs use parallel-output shift registers, like the 74HC164. Also<br>
the input could be done with parallel-load shift registers (for<br>
example the 74HC165), but the resistor method is cheaper.<br>
It should be quite stable over time.<br>
<br>
Martin<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote>
<br>
<br>
<br>
<br>
<br></div></div>
----------------------------------------------------------------------------<br>
<br>
"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman<br>
<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>