Maxuino PWM not responding

Nov 8, 2012 at 7:14pm

Maxuino PWM not responding


I am using maxuino to control a DC motor. I am using an H-bridge to control speed and direction of the motor.

I set up my max patch so that pins 3 and 4 were digital outputs to set the direction of the motor and pin 9 to analogWrite for PWM speed control.

The patch was working and I could control speed and direction from max, now i have opened up the patch a week later and PWM doesn’t work on any pin.

If I set pin 9 to be a digitalWrite I can turn the motor on, yet analogWrite cannot control the speed the motor just turns off.

Any idea why PWM isn’t working? I find it especially odd because the patch was working the first time I made it!

here is the patch…

– Pasted Max Patch, click to expand. –
Nov 8, 2012 at 7:55pm

this is the circuit I have set up as well…

Nov 8, 2012 at 11:21pm

it has got to be the circuit, quadruple check?

Nov 11, 2012 at 10:12pm

I am a goof.

I didn’t follow the Maxuino instructions , I never set the pin’s functions, I only sent them instructions of what to do.

I was telling pin 9 PWM information but I didn’t set pin 9 to PWM yet.


You must be logged in to reply to this topic.