Electronic Projects, forums and more.

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


8051/8951 A specify forum for the Intel 8051/8951 single chip microcontroller.

Reply
 
Tools
Old 10th March 2007, 05:28 PM   #1
Default how to interface dc motors with 8051

hey can i use uln 2803 for interfacing dc motors with 8051?? can any1 provide me the circuit??
anubhav_1986 is offline  
Old 10th March 2007, 10:09 PM   #2
Default

what is the rating of the motor you are using?
how much current required?
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Old 10th March 2007, 11:43 PM   #3
Default

I believe the ULN2003 is similar, but only has 7 outputs instead of 8 as the one your inquiring about. Both are rated for 500mA from memory, so if your motor requires more than that, Consider using a FET.

Heres a diagram on how to interface one with a unipolar stepper motor, a DC motor would be very similar, but only has a single winding to control;



Click here to watch this circuit in action

Generally because of the high current requirement of DC motors, FETs are the way too go. You can control copious amounts of current with a FET, and the IRL2203 is a great little logic driven FET.




Click here too watch this circuit in action

You have to be careful about how much current the FET is driving & how long it takes to switch.

The FET has a bias point, where it has resistance as it turns on or off. During this phase, there will be a voltage dropped over the FET & current running through it - it can dissipate massive amounts of power in the form of heat.

Without a drive circuit, your FET will burn out over time. Logic devices are very limited to the amount of current they can deliver, and the problem is that the Gate acts like a capacitor, and takes time to "charge" and "discharge". A PIC micro is capable of 25mA MAX per output, pro-longing this charge time significantly. As a result, there’s an instantaneous heat build up, that will reduce the life of the FET every time it occurs.

Using a Drive circuit allows the FET to turn On and Off much faster, limiting the amount of time it spends at the "bias point" - reducing the heat developed on the FET.
__________________
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.

gramo is online now  
Old 11th March 2007, 08:47 AM   #4
Default

Gramo, on your first schematic, you'r missing 4 other diodes between the ULN o/p and 12V... even if it works that way.. that's what we learnt in Power electronics...
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Old 11th March 2007, 07:08 PM   #5
Default 8051

hey thanx for providing me with circuit for interfacing but i am a lil confused , the circuit u provided is interfacing ULN2003A with PIC16F876. i want to know is PIC16F876 same as 8051? sorry the question may sound dumb but want to clear my doubt n also tell me that if i can use the same circuit with 8051?
anubhav_1986 is offline  
Old 11th March 2007, 07:09 PM   #6
Default ratings

Quote:
Originally Posted by ikalogic
what is the rating of the motor you are using?
how much current required?
12-24 Volts, 150-200 rpm
anubhav_1986 is offline  
Old 12th March 2007, 07:53 AM   #7
Default

Quote:
Originally Posted by ikalogic
Gramo, on your first schematic, you'r missing 4 other diodes between the ULN o/p and 12V... even if it works that way.. that's what we learnt in Power electronics...
Doesn’t the ULN2003 have those ones built in?




Pin 9 is the common to Vcc, and the built in diodes protect the ULN2003 from EMF caused by inductive loads, I could be wrong
__________________
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.


Last edited by gramo; 12th March 2007 at 09:26 AM.
gramo is online now  
Old 12th March 2007, 08:01 AM   #8
Default

Quote:
Originally Posted by gramo
Doesn’t the ULN2003 have those ones built in?




Pin 9 is the common to Vcc, and the built in diodes protect the ULN2003 from EMF cause by inductive loads, I could be wrong
no you'r not wrong, i am! but i usually add additional protection diodes...
__________________
Ibrahim Kamal
check my electronics and robotics page: http://www.ikalogic.com/
ikalogic is offline  
Reply

Tags
8051, interface, motors

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
interfacing dc motor with 8051 abbas1707 8051/8951 13 23rd September 2009 08:20 AM
PIC16F877 interface to 2 unipolar stepper motors denis_b Robotics Chat 8 23rd June 2007 07:05 PM
Help needed....8051 based LCD interface design vik1501 Electronic Projects Design/Ideas/Reviews 1 19th November 2003 05:40 PM
How doI interface a 8051 microcon with the PC parallel port? jukeball Electronic Projects Design/Ideas/Reviews 7 7th October 2003 10:03 PM



All times are GMT. The time now is 06:57 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker