Description
Tutorial: How to use IC ULN2003ADR
The ULN2003ADR is an integrated circuit used to control relays and motors from Arduino or microcontrollers. It is ideal for projects requiring the activation of high-current devices.
What you need
- Arduino
- Power supply connection 5V-24V
- Relay or motor
Steps
- Install the integrated circuit on the breadboard.
- Connect the relay pins to the ULN2003ADR as specified in the datasheet.
- Connect the power supply between VCC and GND of the ULN2003ADR.
- Write an Arduino sketch that activates the control pins for the relay or motor.
- Check the proper function with a multimeter.
- Add decoupling capacitors to the VCC/GND pins if necessary.
Example code
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH); // Attiva il relè
delay(1000);
digitalWrite(2, LOW); // Disattiva il relè
delay(1000);
}
Mini project
Create an automatic control system for external lights using the ULN2003ADR and a motion detector.
Common mistakes
- Do not check the power supply voltage.
- Use relays or motors that require current higher than the ULN2003ADR’s capacity.
- Do not add decoupling capacitors for electronic filtering.
- Connect the relay pins incorrectly.
Recommended accessories
- 5V Relay
- PIR Motion Sensor
- Breadboard
- Various Connections
Frequently asked questions
How can I protect the ULN2003ADR from excessive currents?
Add a fuse between the power supply and the VCC of the IC.
Can I use multiple ULN2003ADR together?
Yes, but make sure each IC has its own separate power supply.







Reviews
There are no reviews yet.