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

DC micro motor control

Discussion in 'General Electronics Chat' started by sfink06, Nov 19, 2009.

Thread Status:
Not open for further replies.
  1. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    Hi all,
    I am looking to design a PCB that can control 10 micro DC motors that run at 3 V and draw 60 mA. Should I be using surface mount H-bridges, and then control the inputs with a PIC? I had trouble finding anything that looked promising in limiting the size of the board. Thanks!
     
  2. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    Well, it wouldnt be an H bridge, because you have 10 motors, an H bridge is meant for four. Are the motors spinning at the same time? Independantly? And in one direction or two?
     
  3. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    All motors must be able to move in both directions, and at any given time up to 5 motors must run at the same time (it's for a robot.)
     
  4. dave miyares

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    2
    Likes:
    -10


     
  5. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    ok, both directions would require a semi H bridge.
    Which PIC do you plan on using? If you require speed control, this becomes a whole new level of difficulty...
     
  6. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    Some dsPIC30F2011 or something in that family, has the ADC channels I need for sensors, PWM, and 12 DI/O pins.
     
  7. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    Is it possible to have the h-bridge multiplexed, and then use the PWM channel to control the speed? The ADC input from the sensors will be able to determine how fast each motor needs to turn.
     
  8. dave miyares

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    2
    Likes:
    -10


     
  9. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    By multiplexing the semi - H-bridge you are effectively making the max speed 10x less (divide by number of motors). How many PWM modules does your pic have?
     
  10. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    2 I think, the most I've seen In a pic is 8
     
  11. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    There are PWM driver chips, I dont know the names by heart.
     
  12. phoenox

    phoenox New Member

    Joined:
    Jan 11, 2009
    Messages:
    53
    Likes:
    0
    birdman what do you mean by semi - h-bridge?

    I thought that an h-bridge was two high side switches and two low side switches connected to one motor.
     
    Last edited: Nov 19, 2009
  13. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
  14. Birdman Adam

    Birdman Adam New Member

    Joined:
    Mar 30, 2009
    Messages:
    274
    Likes:
    3
    Location:
    North Carolina, USA
    Ya a half H-bridge can control one motor in one direction, full is one motor in two directions. Maybe you could have one main PIC control 3-4 slave PICs with 2 PWMs each (two motors each driven by one SN754410). You would have to give each one an address and all of them would require a bunch of code though...
     
    Last edited: Nov 20, 2009
    • Like Like x 1
  15. Sceadwian

    Sceadwian Banned

    Joined:
    Oct 27, 2006
    Messages:
    14,047
    Likes:
    142
    Location:
    Rochester, US
    birdman what are you talking about? In order to control a DC motor bidirectionally you need a full H-bridge.
     
  16. Birdman Adam

    Birdman Adam New Member

    Joined:
    Mar 30, 2009
    Messages:
    274
    Likes:
    3
    Location:
    North Carolina, USA
    I'm assuming you were talking to the other birdman?
    The IC shown at sparkfun has four half h-bridges in it. By connecting the motors and pins a little differently, you can make it 2 full (bidirectional) h-bridges instead.
     
  17. Sceadwian

    Sceadwian Banned

    Joined:
    Oct 27, 2006
    Messages:
    14,047
    Likes:
    142
    Location:
    Rochester, US
    Lol! oh no there's two of you now!
    Yeah, I was responding to birdmanO o
     
  18. colin55

    colin55 Well-Known Member

    Joined:
    Feb 14, 2009
    Messages:
    3,534
    Likes:
    82
    Location:
    Melbourne Australia
    Don't forget, you can simplify things by having a spilt supply.
     
  19. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
    thanks all, I think I'm just going to use 6 motors now, and only make one of them bi-directional (not really enough room on the robot for a PCB with multiple H-bridges.) If anyone knows some good small form factor H-bridge IC's, preferably SMD, I'd appreciate it. :)
     
  20. sfink06

    sfink06 New Member

    Joined:
    Jun 5, 2009
    Messages:
    52
    Likes:
    0
  21. jamesmatheson

    jamesmatheson New Member

    Joined:
    Jun 10, 2017
    Messages:
    2
    Likes:
    0
    major companies have no idea what theyre selling , I keep asking for this https://photos.app.goo.gl/F3o8KCsIDwwKC47W2 and they keep asking for a parts number, I even paid $1000 to a company and they took the money and couldn't supply the product and now they posted my name everywhere on the internet and all the companies are asking for $1000 and more before I even tell them what I need,
     
  22. Ian Rogers

    Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,802
    Likes:
    958
    Location:
    Rochdale UK
    Mega old thread... Locked now..
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice