+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Newbie level 4
    Points: 367, Level: 4

    Join Date
    Jan 2011
    Posts
    5
    Helped
    0 / 0
    Points
    367
    Level
    4

    Pin 9 ULN2003 for unipolar steppers

    Hi all,just a quick question. i'm designing a drive system with 2 unipolar motors: Rapid Electronics - Electrical & Power > Fans & Motors

    Is there any particular current requirements for pin 9 of the ULN2003 chip which is connected to the 12V supply? Will a 12V 0.5A or 1A be fine? Thanks

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 5
    Points: 33,613, Level: 44
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2157 / 2157
    Points
    33,613
    Level
    44
    Blog Entries
    1

    Re: Pin 9 ULN2003 for unipolar steppers

    COM pin should be connected to the power supply.
    Yes you can connect microcontroller pin direct to ULN.
    If you want to increase collector current you can connect 2 input pin(ULN) together at the same pin at uC and the collector pins (ULN) the same together

    ---------- Post added at 23:37 ---------- Previous post was at 23:32 ----------

    Usually you connect one end of the coils of a stepper motor to the outputs of the driver IC (OUT1-OUT7), right? Usually the other end of the coils is connected to the positive supply, right? Now if you connect the COMMON FREE WHEELING DIODES pin ALSO to the positive power supply, then you have just connected all the built-in free wheeling diodes as they are needed to protect the IC from voltage spikes coming back from the motor coils at switch-off, ok?
    So by connecting the COM to the positive supply where all the other ends of the motor coils are also connected, you have simply placed the built-in diodes in parallel with the motor coils and the diodes will protect the IC.
    " It is so simple to be happy,
    but it is so difficult to be simple"



    •   AltAdvertisment

        
       

  3. #3
    Newbie level 4
    Points: 367, Level: 4

    Join Date
    Jan 2011
    Posts
    5
    Helped
    0 / 0
    Points
    367
    Level
    4

    Re: Pin 9 ULN2003 for unipolar steppers

    Quote Originally Posted by ckshivaram View Post
    COM pin should be connected to the power supply.
    Yes you can connect microcontroller pin direct to ULN.
    If you want to increase collector current you can connect 2 input pin(ULN) together at the same pin at uC and the collector pins (ULN) the same together

    ---------- Post added at 23:37 ---------- Previous post was at 23:32 ----------

    Usually you connect one end of the coils of a stepper motor to the outputs of the driver IC (OUT1-OUT7), right? Usually the other end of the coils is connected to the positive supply, right? Now if you connect the COMMON FREE WHEELING DIODES pin ALSO to the positive power supply, then you have just connected all the built-in free wheeling diodes as they are needed to protect the IC from voltage spikes coming back from the motor coils at switch-off, ok?
    So by connecting the COM to the positive supply where all the other ends of the motor coils are also connected, you have simply placed the built-in diodes in parallel with the motor coils and the diodes will protect the IC.
    Thanks for the info,really helpfull but what i wanted to know is if the two steppers have a current rating of 0.16A per phase (four phase motors) would the current for the positive supply have to be at least 0.16A * 4 phases = 0.64A * 2 motors = 1.28A?



    •   AltAdvertisment

        
       

  4. #4
    Super Moderator
    Points: 248,053, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,141
    Helped
    13126 / 13126
    Points
    248,053
    Level
    100

    Re: Pin 9 ULN2003 for unipolar steppers

    You will never activate more than two out of four coils for a motor, so you have 0.32 A per motor maximum current.

    Regarding connection of free-wheeling diodes in ULN2803, connecting COM to positive supply is generally recommended, but it will reduce the maxiimum step frequency of the motor. If you are heading for maximum speed, you should connect COM to voltage twice the motor supply, respectively add a zener diode, that allows COM to swing above the supply.


    1 members found this post helpful.

  5. #5
    Super Moderator
    Points: 73,697, Level: 66
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    12,065
    Helped
    3998 / 3998
    Points
    73,697
    Level
    66

    Re: Pin 9 ULN2003 for unipolar steppers

    Pin 9 doesn't carry the motor operating current. The current flow is from the supply, through the motor to the ULN2003 output pins then via pin 8 to ground.
    You should connect pin 9 to a voltage no lower than the motor supply voltage, usually it is connected directly to the motor supply. It only carries short current bursts generated by back EMF in the motor coils so you shouldn't worry about its current rating.

    Brian.


    1 members found this post helpful.

  6. #6
    Newbie level 6
    Points: 448, Level: 4

    Join Date
    Oct 2010
    Location
    Vijayawada
    Posts
    11
    Helped
    0 / 0
    Points
    448
    Level
    4

    Re: Pin 9 ULN2003 for unipolar steppers

    Hi shivaram,

    Is it necessary to connect supply to COM pin for non inductive loads like LEDs?



    •   AltAdvertisment

        
       

  7. #7
    Advanced Member level 3
    Points: 7,908, Level: 21
    Raza's Avatar
    Join Date
    Feb 2002
    Location
    PAK
    Posts
    829
    Helped
    265 / 265
    Points
    7,908
    Level
    21

    Re: Pin 9 ULN2003 for unipolar steppers

    Hi,
    For non inductive loads it is not necessary.



  8. #8
    Administrator
    Points: 38,102, Level: 47
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    alexan_e's Avatar
    Join Date
    Mar 2008
    Location
    Greece
    Posts
    11,892
    Helped
    2092 / 2092
    Points
    38,102
    Level
    47
    Blog Entries
    6

    Re: Pin 9 ULN2003 for unipolar steppers

    Is it necessary to connect supply to COM pin for non inductive loads like LEDs?
    No it is not, the COM pin is the common of the free wheeling diodes, you can leave it unconnected if you want.

    Alex
    Please don't make requests for help in private using PM. Create a thread in the forum so that other members can benefit from the posted answers.

    Consider reading this before posting : How To Ask Questions The Smart Way



--[[ ]]--