• 0 Posts
  • 192 Comments
Joined 3 years ago
cake
Cake day: June 25th, 2023

help-circle





  • I design battery-operated things with custom batteries specified and partly-designed by me, and it takes like 10x the design effort, 20% more parts cost, and compromises on capacity, size, weight, and/or watertightness, as you mentioned. The design effort in particular is just killer - so many more interfaces to deal with, when a non-removable pack can just be shrink-wrapped and dropped into a pocket.

    It’s worth it, I’m not saying it isn’t. But I do sympathize a bit.

    Of course, I’m working at a company with i employees, not tens of thousands. Probably easier for Nintendo to throw manpower at it.



  • I don’t day trade and I never will, but I have been boglehead-style investing for 15 years or so, with a substantial sum now. I suspect that maybe the specific thing you’re seeking will end up being “stop day trading.”

    I tune out the noise. I don’t invest hoping to make 10% in a day (and I see that more as gambling, anyway), I am hoping to make 200% in 15 years, and the daily volatility just isn’t a factor on that timescale.

    So when I “lost” 100k in March, I didn’t think about it at all until I updated my monthly data. And then it was just to chuckle and say “bet that’ll rebound soon.”










  • Fets will be better for voltage drop. But for high side switching in this design you definitely want p fets - they are basically a drop in replacement.

    I don’t know if you need an lm317 replacement. Aside from the voltage drop issue, the only issue I’m aware of might be startup timing since you’re PWMing them. I could not find anything about this in a datasheet. Once you get the transistors figured out I would use an oscilloscope to probe your output and see if it is the waveform you want.

    I do know there are multi-channel LED drivers that would work, and are definitely made for PWMing. So you have options if the lm317s are too slow.



  • This is 100% the issue. OP should move to low side switching with NPN BJTs or N-fets for the simplest fix. The arduino IO is 3.3v so they won’t be able to fully turn off a pnp (without extra circuitry).

    Also, I’ll just note: lm317 dropout voltage at 60 mA will be about 1.5 V. The adj pin will be another 1.25V. So there is only going to be about 2.25V available to drive the load. Minus whatever drops there are through the pdn and transistors. I don’t know what a typical Vf for a laser diode is, but I wouldn’t be surprised if OP isn’t getting the drive current they want.