ULN2803: all about the Darlington transistor pair

ULN2803

If you're working with transistors, there's likely a combination of these semiconductor devices that will interest you: the pair of transistors known as Darlington transistors . This configuration is quite useful for many DIY electronics projects, and you can find them inexpensively in the ULN2803 IC.

You'll be able to find the ULN2803 manufactured by various companies, such as the legendary Texas Instruments, or the European company STMicroelectronics, etc. In this guide, I'll try to answer all your questions about this product, tell you where you can buy it, and how to work with it…

What is the ULN2803?

The ULN2803 is a chip, an integrated circuit with a traditional DIP package, like so many others. That is, with two rows of pins on its sides. So far, it may seem like so many others, but inside it doesn't have conventional logic gates, multiplexers , filters , current sensor modules , a shift register , or even a microcontroller …

Inside the ULN2803 you will find drivers, with a series of transistors, devices that I have already talked about on other occasions with different types such as: MOSFET , BC547 , 2N3055 , 2N222 , etc.

What is the Darlington transistor or pair?

The Darlington transistor is not a single transistor, but rather a pair of transistors connected in a very specific way. Two bipolar transistors connected together form the Darlington pair, which allows the current amplified by the first transistor to enter the base of the second transistor and be amplified again.

This type of amplification was originally used with two separate transistors, but a Bell Labs engineer named Sidney Darlington patented the combination in 1952. The idea was to place two or three transistors on a single monolithic chip. This is similar to the concept of creating a chip or integrated circuit, although, as you probably know, he isn't credited with that achievement…

The Darlington pair behaves like a single conventional transistor; that is, after combining the two transistors, it still has a single base, collector, and emitter . However, the current gain is the combined gain, and therefore greater than using only one transistor. Specifically, the gain in the Darlington pair is considered to be approximately the product of the gains of the two transistors used separately.

The advantage of using this Darlington pair is clear: it provides a high current gain. This allows for controlling larger currents with a small base current. However, it also has its disadvantages, such as a greater phase shift at high frequencies compared to using a single transistor, which makes their use in circuits with negative feedback somewhat unstable.

And this is not the only problem associated with the Darlington pair, since the voltage drop between the base and the emitter is greater due to the double junction (equivalent to the sum of both junction drops).

Their saturation voltage is another limitation. In practical terms, this means higher power dissipation, and therefore more heat. Continuing with the disadvantages, the reduced switching speed is another limiting factor, preventing their use in circuits requiring greater speed. The first transistor cannot actively inhibit the base current of the second, which slows down the turn-off process.

These Darlington transistors can be found either individually packaged , i.e., just a pair, or in integrated circuits with several Darlington transistors, as is the case with the ULN2803.

ULN2803 datasheet and pinout

The ULN2803 is very simple to operate and install. This integrated circuit contains eight inverter gates implemented using Darlington transistors, in this case NPN transistors. This allows you to connect other devices with high current demands, such as stepper motor drivers , relays , etc., to its pins.

Therefore, the ULN2803 is a very versatile circuit that can be found in many maker projects as a digital circuit output for driving actuators, various types of motors, and other components. All of these can be driven with low current, while also supporting high demand currents such as 500 mA or 0.5 A, which is a very high value for electronics.

It accepts supply and digital output voltages up to 50V , transforming 5V TTL digital signals to any voltage up to 50 volts. This practical function is known as a driver; that is, it acts as an isolating element, like an electronic barrier, protecting digital logic circuits from others that require higher voltages and currents.

You can see all the complete specifications and pinout in the manufacturer's datasheet. For example, here are two of the most common ones:

Price and where to buy

It's not too difficult to find if you know where to look. It's inexpensive, and you can even buy it in bundles of ULN2803 chips if you need several. For example, one of the cheapest is the " No products found," which you can buy here for approximately €1.

First project with a ULN2803

In the video they have only used 3 of the ULN2803 drivers, but you can use all 8 to get more levels or greater precision from your homemade level meter. Although less could be enough for your project ...

One of the main simple circuits often used to demonstrate the ULN2803's behavior is a homemade water level gauge . It's very simple; thanks to its eight Darlington inverters, and using eight 10kΩ resistors and eight 560Ω resistors, along with eight LEDs, you can have the gauge ready. You can add a buzzer or an Arduino board so that when the water level reaches a certain point, you can program the microcontroller to perform an action, such as closing a valve . The possible combinations are numerous.

As you can see, the assembly is also very simple. The low current demand at its input (high impedance) of the ULN2803 to activate the transistors makes it possible to submerge the conductors connected to the chip in a tank of water, and the conductivity of the water itself is sufficient to use the electrical signal to activate them.

This would not work with distilled water, that is, pure, it needs to have dissolved minerals like tap water for it to have some conductivity. Contrary to what many think, water is a poor conductor of electricity, it is its dissolved minerals that conduct. Therefore, the more impure the water, the more it conducts ...

In this way, as the water reaches the different levels of each of its 8 drivers, it will activate the LEDs at its outlet and the buzzer will emit a beep when the water tank is full.

As an additional idea , you can connect each of the outputs to the Arduino's input pins, so that when it reaches the first level, you program a sketch to perform action X, when it reaches the second level, action Y, and so on. Another option is to use relays instead of LEDs at the output, which would allow you to activate or control higher-power circuits or devices depending on the level reached, such as solenoid valves or electrically controlled valves.


Add as preferred source in Google