I am looking to switch a relay using a microcontroller (5V digital output) over a distance of 50-100ft via 24AWG cable. Normally, I'd use a simple, cheap transistor as a switch like this:
But since the controller is so far away, and the cable isn't shielded (stranded CAT-5), my concern is the possibility of accidentally firing the relay due to transients, noise, RF, whatever. I've added the pull down resistor with this thought, but it just seems that the transistor approach is susceptible to turning on at such a low current. Something that switches on closer to 2-3V (or higher) would make me happier, but of course the switching device needs to conduct at least 150mA from the relay coil at input voltage (so saturation may be desirable).
I'm in no way tied to a BJT. I guess part of the goal is to reasonably minimize parts and cost, but I especially want to only switching the relay with a solid signal from the controller -- no spurious activation of the relay.
Other info:
But since the controller is so far away, and the cable isn't shielded (stranded CAT-5), my concern is the possibility of accidentally firing the relay due to transients, noise, RF, whatever. I've added the pull down resistor with this thought, but it just seems that the transistor approach is susceptible to turning on at such a low current. Something that switches on closer to 2-3V (or higher) would make me happier, but of course the switching device needs to conduct at least 150mA from the relay coil at input voltage (so saturation may be desirable).
I'm in no way tied to a BJT. I guess part of the goal is to reasonably minimize parts and cost, but I especially want to only switching the relay with a solid signal from the controller -- no spurious activation of the relay.
Other info:
- I have 12V available at the micro controller side -- so it is possible to amplify the input signal to higher voltage.
- The relay is only ever on for at most 1s at a time and is off for 10+ minutes after so there would be minimal heating and ample time to cool if the switching device isn't running in saturation.
- Relay is 12V automotive type. Figure approx 80 ohms for coil resistance (approx 150mA). I'm not sure whether relay coils experience an inrush current, though.