In most cases, you use the PWM only to supply the speed of the motor, not the direction. If you use something like a L298 dual H-bridge to drive your motors and look after polarity reversal, you're all set.
------------Picster------------
In most cases, you use the PWM only to supply the speed of the motor, not the direction. If you use something like a L298 dual H-bridge to drive your motors and look after polarity reversal, you're all set.
------------Picster------------
Actually I already used that driver. I told in the first post of this thread that I connect to the motors through a driver to the PIC port c1, c2, c3 and c4. I just need to progam forward reverse using hpwm or pwm.
Last edited by guanerrr; - 11th April 2006 at 04:27.
Hi, guanerr ...
Just have a look to new PICs with the Enhanceded PWM module ...
they can drive by soft all types of output bridges !!! reverse is also here !!!
see 16F 684 i.e.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
But I already installed with 16F877A. I don't wanna waste my time and money. I think there must be a solution.
Bookmarks