maxuino.js and PWM signal peak to Arduino

bart at max (previously BITter)'s icon

Hi,

All Arduino & servo connections work properly.
I can control servo motor direct with Arduino but not with Max > Arduino.

To test i use the "maxuino_test.maxpat" from Maxuino 008 with the needed Firmata send into the Arduino. When i start the "maxuino_test.maxpat" the servo will turn 1 degrees but that is it.

I think that it is something todo with a wrong PWM signal peak to this servo.

This Hitec HS-985MG servo needs:
3v PWM signal peak to peak from 900uS to 2100uS with 1500uS as neutral.

How does maxuino.js convert the message send from Max into uS PWM signal peak that the Arduino sends to the servo?

Thanks

bart at max (previously BITter)'s icon

Is there really not somebody how has experience with Maxuino 009?
http://www.maxuino.org/?p=58
I have checked all the code and connections but i can't get the Maxuino patch controlling the servo? So, i need help on this.

teqy's icon

hi i used maxuino a month or two ago and i am now looking into using servos via in the near future.

what i was using maxuino for was switching on relays and leds. have you tried something simple like this: an led to go on and off ? just to be sure maxunio is working o.k?

i am not near my main machine right now , but there are a few fiddley things you need to do to make maxuino work.

how far have you got?

LaJ McM's icon

hiiii did you ever figure this out?
i have the SAME exact issue

bart at max (previously BITter)'s icon

This is a 6 year old post. :-) Now, i only remember that it was working with using an older Maxuino version in that time.
I haven't followed Maxuino for the last years, so i don't know about the new versions.
But i am almost sure that Max 7 will have another way of doing this. No?
I will see what i can find in the coming days, but a lot of work to do those days.

bart at max (previously BITter)'s icon

Do you have read all this?
http://www.maxuino.org/getting-started and http://www.maxuino.org/video
Also test the firmata on your Arduino and be sure that it properly works, because i know personal that there are big problems with downloading and installing in Arduino software.