This is a 16 pin ‘chip’ that contains 7 darlington transistors similar in value to the BCX38C. The ‘chip’ also contains internal back emf suppression diodes and so no external 1N4001 diodes are required when driving motors and relays.
The ULN2003A is also called a 'low-side switch' - The load connects between the transistor output and V+ and the transistor conducts current to 0V when turned on.
Darlington Driver (ULN2003A)
Schematic

PCB

Output via ULN2003A
This program outputs 7-bit data to the B.0 through B.6 pins which connect to an ULN2003A driver.
- Code Example:
-
dirsB = $7F ; Make B.0 to B.6 outputs main: for b0 = $00 to $7F pinsB = b0 ; Put binary value to B.0 to B.6 pause 250 ; Wait a short while next goto main ; Repeat
Copy Code Submit an Example
Create Module

There is no specific ULN2003A create module but the BCX38C darlington transistor create modules may be used instead (shown connected to buzzer).
Bill of Materials
Description | Code | Qty | |
---|---|---|---|
ULN2003A Darlington Driver | ICO045 | 1 | Buy Now |
16-pin 0.3" DIL IC socket | ICH016 | 1 | Buy Now |
100nF miniature polyester capacitor | CAP001 | 1 | Buy Now |
Simulation
Submit Your Own Code!
You must be logged in to submit code examples. Login now.
Share