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
On Wed, Jun 26, 2013 at 5:58 PM, Roman Haefeli reduzent@gmail.com wrote:
I once hacked together a small Arduino firmware and corresponding Pd abstraction, that does just that. You send the pin number and the duty cycle and the firmware manages the timing of the duty cycle. The advantage is that the timing is much more precise compared to sending both on and off commands over the serial link. This might allow for some velocity control. The abstraction and firmware does not address multiplexing/daisy chaining. But probably it is still useful as a starter.
Roman
P.S.: I haven't the had the chance to really test the help-patch. Just rant if something is not working as expected or unclear.
On Mit, 2013-06-26 at 20:00 +0200, batinste wrote:
That is one of the many cases where my advice would be : don't use firmata/pduino. Program the arduino for real. Use a basic custom protocol over the serial link, and talk to the arduino with [comport]. You'd spend much more time trying to get it to work with firmata/pduino than programming the 'duino and let it do the real work instead of clogging your serial port.
On 26/06/2013 16:56, Epic Jefferson wrote:
Charles Z Henry & batinste: I need the project to be pd controlled, i could try multiplexing but i haven't found info yet on how to control multiplexed pins via pd.
Peter Venus: i've been in contact with Winfried, and was about to purchase one of his older systems but haven't heard from him in a while. Working on plan B.
Olivier: that was good work but again, pd is a must and servos are extremely loud.
Charles Goyard: i've been able to control solenoid velocity with pwm via pd, this is also how Winfried does it. Also, motors are way too loud, as I told Olivier. That's why i'm investigating daisy chaining the arduinos, i'm basically emulating Winfried's system, but replacing his Escher micro-controller with arduino Mega's.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list