this post was submitted on 18 May 2026
19 points (95.2% liked)
Ask Electronics
4142 readers
1 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
They are only a solution if you use a gate voltage higher than 5V, in which case NPN would probably also work. Try to use maybe 6V or 7V to control the NPN base and see if that improves your situation. But as that voltage is impractical to get from the Arduino outputs, PNP/PMOS would be another solution.
Edit: If I understand your issue correctly, then your choice of transistor is not the problem. The problem is that you are forcing them to be less conductive than they could. If a p and an n doped region touch, they form a diode. In an NPN transistor, you therefore have a diode between base and emitter, which is also indicated by the arrow in the transistor symbol. A silicon diode drops around 0.7V, and because its steep I/V curve, that's more or less independent of the current passing through it. When you apply 5V to the base (ignoring the small drop over the base resistor), you're forcing the emitter to sit at around 4.3V. But that would not be possible if the transistor was fully conductive, because that then the emitter would be shorted to the collector sitting at 5V. The transistor has no choice but to increase its resistance between collector and emitter in such a way that it also drops 0.7V there, ultimately limiting current through your laser. The same would happen with a FET, just that the voltage drop between source and drain would be determined by its threshold voltage, not the 0.7V diode drop of the NPN.