PNP transistors as a switch controlled by arduino
Topic: PNP transistors as a switch controlled by arduino
(Read 3322 times)
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
Re: PNP transistors as a switch controlled by arduino
Jul 20, 2013, 11:06 am
: Jul 20, 2013, 11:07 am by dc42
Since the 6V supply that you are switching is greater than the 5V Arduino pin output, you should also connect a resistor between the base and emitter of the transistor. Make it the same value as the base resistor to get a margin of 1.2v, or half the value of the base resistor to get a margin of 1.8V. Get rid of the resistor in series with the emitter [EDIT: looks like you have already done that bit].
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.