Using Transistor as a Switch December 23, 2008 by rwb, under Electronics. Most of microcontrollers work within 5 volt environment and the I/O port can only handle current…