Driving a DC motor in reverse using PWMPAL?
heitch
Posts: 3
Hi, is it possible to drive a motor in reverse using PWMPAL with my BS2e? I have the circuit wired as the sample that came with the PWMPAL documentation?
Comments
Post Edited (originator) : 3/21/2007 4:00:39 AM GMT
Thanks
Using a PWMPAL to drive an H-Bridge all you need to do to reverse the motor is switch which PWMPAL output is toggling and bring the other output LOW. For example, for one direction you will engage channel 1 of the PWMPAL while channel 2 output is just LOW. Then for reverse you bring channel 1 LOW and PWM channel 2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support