Connect microcontroller 3.3V output to relay using ULN2803A

For users of Matrix Multimedia Electronics software to discuss projects, circuits and any other electronics concepts.

Moderators: Benj, Mods

Post Reply
mingu
Posts: 1
Joined: Mon Aug 22, 2016 10:38 am
Contact:

Connect microcontroller 3.3V output to relay using ULN2803A

Post by mingu »

I have a need to connect an ARM micro-controller with 3.3V digital output pins to a few 12V solenoid water valves. I figured that I can use a ULN2803A (http://www.kynix.com/Detail/1286058/ULN2803A.html)for this task.

The internal circuit for each input/output is depicted below:

Image


Couple of questions:

Is the attached schematic correct?
Do I need anything else in the circuit to protect the micro-controller?
Anything else needed to protect the ULN2803A?
And do I tie the +12V and +5V grounds together?

Image

The load I'm driving is rated at about 400mA, 100mA shy of what this part is rated for ( each output ). The datasheet says the ULN2803A can be put in parallel to handle more current. I'm mot sure how that circuit would look.

Would I just logically connect them as if they are stacked one atop the other?

User avatar
Benj
Matrix Staff
Posts: 15142
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: Connect microcontroller 3.3V output to relay using ULN28

Post by Benj »

Hello,

I think your schematic looks good. No don't tie together the 5V and 12V supplies. The 12V could be used to generate the 5V using a 7805 or other voltage regulator.

You can also do the current step up using the circuit provided here.
http://www.matrixtsl.com/wikiv7/index.p ... 18549343c4

Post Reply