Uln2803 - as relay driver


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Uln2803 - as relay driver

    Hi, I am looking forward to design a PCB where I can hook up 8 relays, and drive them by using ULN2803 & my PIC.

    I tried on the internet and looked up the datasheet as well which left me with slight uncertainty, which is that do I need to place a resistance between the PIC & the input to ULN2803?

    Datasheet says the base input already has a 2.7K built in. I just want to reconfirm if I need one externally also.

    My circuit will be simple : (Planned circuit) - Port Pin -> ULN2803 input -> Relay ground (i.e. relay gets 12V common - every output of ULN2803 will be connected to the other point which will ground the 12V)
    ___________________
    WHY things get boring when they work just fine?

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Uln2803 - as relay driver

    Yep, you got it right. No need for input current limiting resistor. If you google ULN2803 and Stepper, or ULN2803 and Relay you will find several schematic pictures that confirm this.

    have fun!!
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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


    Did you find this post helpful? Yes | No

    Default Re: Uln2803 - as relay driver

    No need for the resisitor between the Pic pin and ULN pin. Direct connection.

    And for your question, for 12 relays, use two ULN2003 instead of ULN2803.
    You will have 14 outputs.
    And, do not trust the diodes in ULN chips, use external diodes accross the relay coils.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Uln2803 - as relay driver

    You can also parallel outputs on the ULN chip to achieve more current handling. Each output will sink 500mA, so two in parallel will sink 1 amp. One post I read suggested stacking and soldering two DIP ULN chips, one on top of the other to achieve this increased current while still maintaining the same number of outputs.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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


    Did you find this post helpful? Yes | No

    Default Re: Uln2803 - as relay driver

    There is also TPIC595 "POWER LOGIC 8 BIT SHIFT REGISTER".

    With just 3-pins on PIC, you can drive as many outputs as you want and the load per output is 500mA.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Members who have read this thread : 1

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