Driving a 180ma relay from PIC port
Does anyone know of a transistor I can use that has enough gain to sink the ground connection on a relay that's drawing about 180ma? (Open collector configuration). Using a 16C65B...can't remember how much current a PIC can source.
Tried a 4401 and some others but they won't latch on.
THANKS
schematic can say 1000 words
Quote:
Originally Posted by
Acetronics
PS ... once more: a scheme IS necessary to the troubleshooting !!!
Hi Michael,
I agree that a schematic can say 1000 words (in all languages too!).
Eight volts input for five volts out, is cutting it close. The relay is probably pulling the (regulator input) voltage below “drop-out” level, during the valleys, in the ripple, of your supply. Causing the PIC to reset.
Yes, the transistor should hold the relay on.
Just take the base resistor off the PIC pin and connect it to the 5 volt supply. This will tell you if the transistor can do the job...
-Adam-
FET Low-Side Drive for Relay
The other thing you could so is use a N-Channel FET to low-side drive the Relay. In otherwords, keep your driving + to the relay and let the FET close ground on the Relay... My circuits generally use this method where we are driving a relay.
NDS7002 is one N Channel MOS you could use, and put a pull down between it and the micro for insurance. this particular FET is rated at 280mA on the Source to Drain. The gate drive is well below the 25mA.
As for a flyback diode, any general purpose Diode will also work...