Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

New Articles From Microcontroller Tips

Back
Top