how can i drive a dc motor ??

Status
Not open for further replies.

zika1212

New Member
i'm new to pic programming and i want to drive a dc motor using pic16f876 ,, what are the basic things that i should do using assembly ??
 
zika1212 said:
i'm new to pic programming and i want to drive a dc motor using pic16f876 ,, what are the basic things that i should do using assembly ??

The 16F876 has two PWM channels, you can use those to feed motors. To actually feed motors you need to use some kind of driver, an H Bridge is probably a good idea, as it would allow you to drive the motor in both directions.

One of my tutorials gives simple code for using a 16F876 to feed PWM to two motors, suitable for use with small robots.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…