How to achieve pwm with picoborg rev

Hi everyone
Was just wondering how to achieve variable motor speed. Normally i would use pwm ( pulse width modulation ) via software, but i note that you can set the motors power level on the picoborgrev.
Does this achieve the same thing. I am using a raspberry pi to control a miniture fairground ride and want to ramp the motor speed up and down to simulate the ride starting and stopping. Is it just a case of stepping through the motor power over a given number of seconds.
Cheers for the help.

piborg's picture

Yes, the power level on the PicoBorg Reverse actually controls a PWM on the board itself.

You are correct about the speed as well, stepping through the power levels should ramp the speed up / down in the way you are expecting.

Thanks for the reply, just what i need

Subscribe to Comments for "How to achieve pwm with picoborg rev"