Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 26th April 2004, 05:06 PM   (permalink)
Default how can i drive a dc motor ??

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 is offline  
Old 26th April 2004, 10:23 PM   (permalink)
Default Re: how can i drive a dc motor ??

Quote:
Originally Posted by zika1212
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.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:49 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker