1. 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.
    Dismiss Notice

interfacing dc motor with 8051

Discussion in '8051/8951' started by abbas1707, Mar 5, 2007.

  1. abbas1707

    abbas1707 New Member

    Joined:
    Mar 2, 2007
    Messages:
    10
    Likes:
    0
    hi
    Can any body help me??
    i need circuit description for interfacing a dc motor with 8051 uc!:confused:
     
  2. thenewton

    thenewton New Member

    Joined:
    Sep 10, 2006
    Messages:
    10
    Likes:
    0
    Location:
    i km from Pakistan
    what u wana....

    hi aabbas how r u
    what u actually wana do to a dc motor by interfacing with microcontroller
     
  3. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,183
    Likes:
    644
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi abbas,

    What type of motor do you want to interface?

    Example: 12Vdc requiring say, 100mA ?

    Do you want to control its speed or just stop and start it?

    EricG
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Muhammad Saeed Anwer

    Muhammad Saeed Anwer New Member

    Joined:
    Oct 26, 2008
    Messages:
    2
    Likes:
    0
    Location:
    karachi

     
  6. silvarblade

    silvarblade Member

    Joined:
    Feb 20, 2007
    Messages:
    264
    Likes:
    1
    Location:
    The Motor city,USA
    hey!! you have the same name as me:) where are you located?

    how do you intend to control it?using pwm i guess or you just need to turn it on and off?
    OR

    this is a hardware question?
     
    Last edited: Oct 27, 2008
  7. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,183
    Likes:
    644
    Location:
    Ex Yorks' Hants UK
    ONLINE
     
  8. petrv

    petrv New Member

    Joined:
    Mar 19, 2008
    Messages:
    172
    Likes:
    1
    Hi Eric,

    that is correct, I'd like just to add that if bidirectional control is not needed, a MOSFET transistor can be used. There are "logic-level" N-channel MOSFETs (for example RFP3055LE) that can be controlled directly by a logic output. Simple and better solution than a BJT.

    Petr
     
  9. WizzBall

    WizzBall New Member

    Joined:
    Oct 24, 2008
    Messages:
    32
    Likes:
    0
    Location:
    Toronto, ON, Canada
    Not to hijack this thread, however I have a question that I believe is in line with this topic so I thought I'd ask it here instead of starting a new thread.

    What would you recommend for controlling the speed of a higher current DC motor? The motor is a 100W MY68 model (24V and rated for 6A, 2300 rpm) and I would like to be able to reverse the direction of rotation.

    I am thinking about using the PWM module on a PIC18F4550 (or any PIC with PWM capabilities for that matter) and a few power Mosfets in an H-bridge configuration. The problem is I believe sizing components carefully so the system is reliable long term and using adequate protection so that I won't have any components die because of excessive current/heat.
     
  10. fsmyth

    fsmyth New Member

    Joined:
    Jun 16, 2008
    Messages:
    39
    Likes:
    0
    Location:
    texas
  11. Muhammad Saeed Anwer

    Muhammad Saeed Anwer New Member

    Joined:
    Oct 26, 2008
    Messages:
    2
    Likes:
    0
    Location:
    karachi
    hi silvarblade!

    thanks 4 guiding. i m located at Karachi, Pakistan. what about u?

    i need code of this prj but when u insert rpm motor will rotate at this speed? i now about its diagram but problem of its code of controlling the duty cycle which is responsible for increasing the speed of motor.

    plz help me.
    again thanks to all 4 guiding.:(
     
  12. siva_elven

    siva_elven New Member

    Joined:
    Jan 30, 2009
    Messages:
    20
    Likes:
    0
    Location:
    Delhi
    hi, cud u pls send the ckt u used to interface the motor with the microcontroller used, i dont know, how to connect the motor with the 8051, pls do it soon, last time i connected, something went drastically wrong, its my most urgent request, pls help...
     
  13. rushi53

    rushi53 Member

    Joined:
    May 8, 2009
    Messages:
    112
    Likes:
    6
    Location:
    Pune, India

    I would suggest that don't go for analog design.

    Use a motor driver IC. Say L293D

    Give microcontroller output to motor driver and then give output of motor driver to DC motor.

    Please let me know if you need any more help.
     
  14. srikanthsamaga

    srikanthsamaga New Member

    Joined:
    May 25, 2008
    Messages:
    97
    Likes:
    3
    Also read the datasheets of l293 carefully..
     
  15. zugard

    zugard New Member

    Joined:
    Sep 23, 2009
    Messages:
    3
    Likes:
    0

Share This Page