Connecting the ULN2003 to the Arduino Mega

Advertisements

There are many times, when using an Arduino, you need more power for outputs. Stepper motors, servos and solenoids all consume more power than the Arduino is capable of supplying. A relatively cheap and simple solution is the ULN2003.

The ULN2003 is an array of 7 darlington pairs capable of up to 50V. Each output is rated at 500ma and is capable of peaking at 600ma. The outputs can be paralleled to increase the amount of amperage. Suppression diodes are built in for inductive load protection. Even if you are not using high amperage devices, this IC is nice for protecting your Arduino.

Advertisements

Connection to the Arduino is very simple. There is a built in resistor so simply connect the input to the Arduino pin. The + voltage powering the ULN2003 should be connected to the power that is supplying the load. Ground from the Arduino should be tied to ground on the load power supply.

Advertisements

In the example, I have all 7 inputs connected to the Arduino Mega pins. To keep the schematic clean, I show three relays connected. The additional 4 relays connect to the pins marked 4-7. We will be going over programing and testing in our next post.

Advertisements

Links

Click to access uln2004.pdf

https://blog.adafruit.com/2012/02/03/part-finder-friday-darlington-transistor-arrays/

https://www.arduino.cc/

Advertisements

Latest Posts

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close