Problem on motor driver + PIC
Good day everyone,
there are five pins in the DC Motor Driver:GND,Vcc,PWM CCW,CW
and i have two motor drivers.
I have problem on how to connect the pins of the motor driver to the PIC 18F4550.
I have connected one of the motor driver as below:
RC2 to PWM output
RB0 to CCW
RB1 to CW
is that correct?😕 advice me if i 'm wrong .
and dunno how to connect the PWM CCW,CW pins of the other side.
Anybody can help me? thank you.
-------------------------------------------------------------------------
😁 PWM pin's are connected to RC1 and RC2,
while CW and CCW pins can connected to any I/o pin's of the PIC
Please turn to question 2,thank you.
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.societyofrobots.com%2Frobotforum%2FSmileys%2Fdefault%2Fhuh.gif&hash=b70ed8affc0e025054a4a0d6f803b5d1)
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.societyofrobots.com%2Frobotforum%2FSmileys%2Fdefault%2Fwink.gif&hash=7cf2f7ac4bb6fb149b32325eee856dfe)
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.societyofrobots.com%2Frobotforum%2FSmileys%2Fdefault%2Fangry.gif&hash=ac0d36d54337b96bafae211a72e9d8ac)