Roman, I tested your [solenoiduino] patch and it doesn't quite do what i expected. But i think i can expand on this idea.
So, right now you send the pin number and the amount of ms you want it to be HIGH, but what if you don't know how long it will be? for instance a live performance situation. Using this technique you can send a short pulse to achieve some dynamic control, but you can't hold a piano key down, for example, because the pulses will always be full power.
I need to check if I can modify the solenoiduino firmware to receive the second byte as 'velocity' instead of 'duty cycle' and use that for pwm control. I'll let you know how it goes.
On Thu, Jun 27, 2013 at 5:20 PM, Epic Jefferson <jeffreyconcepcion@gmail.com
wrote:
Charles: Yeah, we're building custom drivers for the solenoids and we built a 30v power supply as well.
On Thu, Jun 27, 2013 at 4:43 PM, Charles Goyard cg@fsck.fr wrote:
Epic Jefferson wrote:
Alexandros and Roman: Thanks, i'll check both of your suggestions. I'll let you know how it
goes.
I also just ordered a Practical Maker PWM shield for arduino UNO. 1
shield
gives you 32 pwm pins and they're stackable, up to 6 without the need
for
an external power supply.
http://www.practicalmaker.com/products/arduino-shields/pwm-shield-assembled
Beware that you'll need PNP transistor for the power stage, or you'll get small bumps when the TLCs go BLANK each cycle.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org