On 12/24/2014 6:51 PM, William Pretty Security wrote: > Use an NPN transistor. (2N3904, 2N2222, etc) > > Connect the emitter to ground. > > Connect the collector to one side of the coil. Connect +5V to the > other side of the coil. > > Connect a 10K resistor between the I/O pin and the base of the > transistor.
You should also put a diode across the relay (reversed polarity, so the diode "points" to the positive supply) or the back-emf could kill even a 60V discrete transistor. -- Charles Steinkuehler [email protected] -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
