Problem Using Darlington ULN2803A
ItsMeNick
Posts: 19
Hey Guys,
I'm having trouble using my ULN2803A to drive a relay.
My BS2 puts 5V to the input pin.
ULN2803A is grounded, and has 12V goto the voltage pin.
Now, I wire the output pin to the relay coil.
What do I put the other side of the coil to?
If I check with a voltmeter...
The output of the darlington & 12V... I get 12V
However, when I hook up the relay coil, i only get 4 volts across the coil.
What am I doing wrong?
Thanks!
I'm having trouble using my ULN2803A to drive a relay.
My BS2 puts 5V to the input pin.
ULN2803A is grounded, and has 12V goto the voltage pin.
Now, I wire the output pin to the relay coil.
What do I put the other side of the coil to?
If I check with a voltmeter...
The output of the darlington & 12V... I get 12V
However, when I hook up the relay coil, i only get 4 volts across the coil.
What am I doing wrong?
Thanks!
Comments
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
When I put the other sidew to 12V the relay still won't energize.
When I put a voltmeter to both sides of the relay i only get 4-5 volts
If I keep taking a voltage measurement and get off the relay coil, it shoots back up to 12 volts
There is no load on the relay. And the 12V source is a big ol' regulated power supply.
I'm stumped
· Also, see attached.· I used pin2 for input from the BS-x, I use a pull-up to +5 (the 1K); ·pin17 is the output.
It occurs when I hookup another relay to a different output on the 2803.
So I have one relay hooked up fine... once I add another relay to a different output, the voltage drops and it no longer works.
Any ideas why?
Also, what's the coil resistance of your relays?
I'm actually unsure as the resistance of the coils... I can check with an ohm meter tomorrow.
They seem to just be regular 12v power relays.
The supply is powering two relays currently, one directly & one through the darlington.
The second I touch the third relay to another ouput of the darlington, the coils no longer energize.
· Maybe we can take the BS-x out of the circuit and just deal with the 2803 and the relays.· How about U/Ling a sketch of your set-up/circuit?
The point of the circuit is to get power·from the alternate source when·the basic stamp says so. (Watches for a Voltage Drop across the original 12V line, which goes to a 5V Regulator)
The load on the third relay isn't important (and isnt present currently) It's just going to act as a momentary switch.
N.B. --·
I'm thinking a HIGH Input will energize the relay? But really a LO input will energize?
Thanks for the help!! I'll let you know how it works out
· 2803s (and 2003s) have open-collector outputs.· So, with them, you're providing/switching a path to ground to complete (open/close) the circuit.
Well back to work for now, I'll let you know how I make out!
Now, how do I reintroduce the stamp back into things?
Post Edit -- If you take a look at the 2803 data sheet, you'll see that each of the transistors has its own IB resistor and a pull-down resistor, too.· So, given this and the above, you're all set.
Post Edited (PJ Allen) : 6/1/2006 12:07:29 AM GMT
Just wanna make sure i fully understand!
·· Perhaps I missed something in your system requirements, but the 1K pull-ups aren't a required thing.· The only effect they would have on overall system design is that when the system powers up the outputs will momentarily turn on (which may be undesired?) until the Stamp I/O pins are initialized to LOW.· If you wanted to keep the outputs on when the Stamp Module sleeps, then you may in fact want these.· I hope this helps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
· So, you need to decide what you want your Default state to be (To pull-up or not to pull-up?· That is·The Question.) ·Where and whether to energize the coils and their effect and how to deal with that all is your call.
·
But I'm still having this problem... when I have both relays conneceted, I only get 4 volts at the output of the darlington, instead of 12
:-\
·· The output of the Darlington is actually supposed to be switched to ground when on...Are your relays working?· Can you post a schematic of your current wiring diagram?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Odd... Thanks for the interest Chris! Really appreciated!!