Need hardware advice: ULN2003A


Closed Thread
Results 1 to 40 of 50

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    Luciano,

    Thanks for the information. I was looking at one of the pictures and it says that you have to connect pin 9. I have NEVER used pin 9 and if you look at figure 17, they show it as not being connected. Other figures show it connected. Did I miss something in the data sheet?

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    PIN 9 must be connected to V+.
    (See picture below).

    Figure 17 shows 7 lamps on my datasheet. Lamps are resistive loads.
    There is no self-induction when you open a circuit with resistive loads
    so there is no need for the protection diodes. The figure 17 is probably
    a pinball circuit, when you press the button you can verify that all the
    lamps are working.

    Your case is the figure 19 on the datasheet.

    Best regards,

    Luciano

    The Datasheet I have:
    http://focus.ti.com/lit/ds/symlink/uln2003a.pdf
    (See page 11, fig. 19)


    (Click to enlarge the picture)

    (About SMD package)

    (Click to enlarge the picture)
    Last edited by Luciano; - 28th September 2006 at 09:38.

  3. #3
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    Luciano,

    Thanks. The current output was always clear to me. However, it appears I am using the incorrect ULN model. If pin 9 needs to be connected to V+, I need the CMOS version. The relay I am using is a 12 volt version. What is evident to me, even thought I thought I was protected by the ULN, I have NEVER used that flyback didoe all of this time! I have used this IC for 5 years and NEVER used it! I am surprised that I have never had any problems in the last 5 years.

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    There is no CMOS or TTL version for the ULN2003A.
    If the relay is 12V, connect +12V to the pin 9.
    If the relay is 48V, connect +48V to the pin 9.
    (The outputs of the ULN2003A work up to 50V).

    What you see on the datasheet (Fig. 18 and 19) is
    what you have when the input of ULN2003A is connected
    to a CMOS IC or a TTL IC. What you see on the left of
    fig. 19 represents an output inside a TTL IC. What you
    see on the left of fig. 18 represents an output inside
    a CMOS IC.

    On the first page of the datasheet you car read
    "Inputs Compatible with various types of logic".

    Best regards,

    Luciano
    Last edited by Luciano; - 28th September 2006 at 10:36.

  5. #5
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Christopher4187
    However, it appears I am using the incorrect ULN model. If pin 9 needs to be connected to V+, I need the CMOS version. The relay I am using is a 12 volt version.
    You dont need to change at all.

    Pin 9 is the pin which all the clamping diodes are connected. This should be connected to the supply voltage of the relays/lamps that you are driving. Irrespective of which chip you are using this can be upto 50V.


    The TTL/CMOS versions feature different inputs for driving from those logic families. The PIC can drive either type. The supply voltage for the relays/lamps has no bearing on which input type you need.

    Just make sure that you dont accidently connect your load supply to your logic supply or the magic smoke will escape
    Keith

    www.diyha.co.uk
    www.kat5.tv

  6. #6
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Among these information, I am still confused about the parallel connection and what benefits it has.

    I am sure Luciano has a point there but if I will get only 60mA more in two-parallel connection, then it makes no sense. Why would I need a parallel connection then? 500mA current path can already handle 560mA. It is only about %10 over driving.

    I am saying this because the datasheet says that higher current can be achieved by parallel connection. Only 60mA with two, not double? even if I add all arrays parallel, it makes no sense either. No benefit at all.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  7. #7
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    If I understand the data sheet correctly, you can have 7 outputs at a duty cycle of 100% but only 120mA per output (if you have the N package). Or, you can have 3 outputs at 100% duty cycle at 220mA. You can follow the curve on the data sheet to determine what you are allowed to use. As a general statement, it would appear to me that the max output at 100% duty cycle is approximately 840mA. Can someone confirm what I just wrote?

    I will connect pin 9 to the +12V supply and test it. Again, I am surprised that I have not had any issues without connecting the pin 9. I guess I have just been lucky!

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    @Sayzer:

    The use of a parallel connection was your suggestion.
    Why use a parallel connection when the current of the relay coil is 77mA?

    My advice is:

    There is no need for a parallel connection.
    Do not use a parallel connections with this IC.


    * * * * * * * * *

    @Christopher4187:

    N-package
    7 x 120 mA = 840 mA if the TA is <= 70°C.
    TA = Ambient temperature, the temperature inside the enclosure where the PCB resides.
    Note that you can see TA = 85°C on the figure 15, but for the ULN2003A the
    maximum TA is 70°C (See page 4).

    * * *

    D-package
    (Based on the Digikey # in your first post, this is the SMD version you are using).
    7 x 60 mA = 420 mA if the TA is <= 70°C.

    Best regards,

    Luciano

Similar Threads

  1. Need "PIC16F84A" Controler schematic Advice...
    By Kyo_89 in forum Schematics
    Replies: 1
    Last Post: - 27th May 2009, 23:03
  2. Hardware I2C
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 13th March 2008, 13:24
  3. using hardware ports
    By sebapostigo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th November 2007, 22:01
  4. Advice needed on 'neat' Project!
    By vacpress in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th February 2007, 06:21
  5. PBP hardware oriented?
    By mpavlica in forum PBP Wish List
    Replies: 7
    Last Post: - 15th June 2005, 06:18

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts