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
 

Hello everyone, We have a problem with a circuit we built. The circuit seems to work properly with a green laser diode (130mA, lower voltage). With the red laser (higher voltage) on the other hand, the circuit delivers only 60mA max of the 130mA it should be giving the laser.

The problem seems to be the transistor's resistance because it works properly if we bypass the transitor and give +5V to the LM317.

Is it this assumption correct?

We tried a few transistors (BC241, BC236, TIP41C and TIP41) but with no luck. Is there a way to find a drop-in replacement for the transistor? MOSFET seem to have lower resistance but require an external driver with Arduino.

We need to use the Arduino PWM with these drivers, so at least 980hz switching frequency is needed.

Thanks in advance

Link to the schematics

you are viewing a single comment's thread
view the rest of the comments
[–] jeinzi@discuss.tchncs.de 2 points 1 week ago* (last edited 1 week ago)

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.