Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

Powering lm317 driver with a 12v 1a wallwort?

Joined
Oct 8, 2010
Messages
207
Points
18
Yeah it seems that the lm317 works best with "battery voltages" like 7.4v. Also much less of a voltage spike at startup too.
 





GBD

0
Joined
Oct 25, 2010
Messages
783
Points
0
Yeah. the LM series is a bit of a pain to work with because of its drop IMO. If you set it up just right, it can do the job just fine for a diode.
For anything high powered, I find linears just bad. the ammount of power they waste isnt that good when you cram several amps into a diode.

Id rather stick to buck/boost converters then linear regulators, alot more efficient.
btw, for a voltage spike, either use a TVS diode or a RC snubber (10K R + 100nf non-polar cap work fine).
 
Last edited:

anselm

0
Joined
Nov 22, 2010
Messages
2,448
Points
0
I've used 12V from a PC PSU on a lm317 circuit, no problem at all, the IC does get
hot, but that's no issue if you heatsink it alright.
Overvoltage doesn't seem to be the issue here at all to me.

I too have killed 2 red diodes, being careless with the pots and resistors.:whistle:
I have since gotten hold of a blue nichia diode, and that thing just laughs at any current
I throw at it, swallows it up and asks for seconds. Tough little bastard. You have to try
really hard if you want to kill it.
Once, at 1.9Amps, it got so hot that it faded quickly in brightness and almost went all dark, but
I beat it to that, switching it off right away!
*GULP*....
Switched it back on, the diode was there like nothing even happened.
 
Joined
Aug 29, 2010
Messages
123
Points
0
I dont get it though, the lm317 can handle up to 30 (well, 35 it begins to fail). According to what it does, you should be able to feed the regulator with 30 volts and it would output the same as it would with 7.4

Instead of using a TVS diode, can I use a 12v 1W zener diode? Those should be fast enough to stop spikes or what not along with a .1uF cap across the diode

Confusing
 
Joined
Oct 26, 2007
Messages
5,438
Points
83
Did you get a switching wall wart? Sometimes they can produce some huge amount of voltage beyond their rated amount. I've never had any problems with wall warts powering a LM317, but mine were all switching. At those power levels you should definitely heatsink the LM317l, since it needs to convert that excess voltage to heat. Perhaps put some rectifier diodes in series with the input to the LM317 so it doesn't need to drop so much voltage for a red diode which needs at most 3.6V (i.e. 6.6V at the LM317's input).
 
Joined
Sep 22, 2010
Messages
1,358
Points
48
LM317 can handle 12v fine. I feed one of my LM317 drivers powering a PHR 3x10440 which is almost 13v on a full charge. I have another in a 635nm pen host that runs off 2x10440s (8.4v) fine too. I suspect something is wrong in the way his caps are set up is why the diodes keep croaking. I haven't used any caps in the couple builds I've done (only on a breadboard test setup) but that's where I'd start looking.
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Something else must be wrong indeed. The basic LM317 circuit should have no problem handing higher input power, nor a big 50/60 Hz ripple. It was designed to remove that ripple, and it will do so readily as long as the input voltage never drops under the required minimum.

Switchmode wallwarts have a riplle at much higher frequency. An additional capacitor to filter that out is still recommened, though not always required.

The output capacitor of the driver is recommend by the manufacturer, and should not be omitted. Often nothing happens, but in some instances those LM317 can start oscillating, and the output is then very erratic.
 
Joined
Aug 29, 2010
Messages
123
Points
0
Well, I have it on a heatsink, and nothing gets warm. My wall transformer outputs 18 volts, but with little effort, it drops to its 12. Still though, the lm317 can take on up to 30 volts, and output the same.
 
Joined
Feb 1, 2008
Messages
2,894
Points
0
Nothing gets warm? Hmm... at a 15V difference, the chip should get modestly warm. Have you tried simply replacing the chip with a new one? Worth a shot I suppose! Please post pictures of your circuit so we can further examine it!

Troubleshooting circuits online is like doing brain surgery with a pointy stick.
 
Joined
Sep 22, 2010
Messages
1,358
Points
48
Depending on how you're heatsinking the LM317 you may be indadvertedly shorting it. The metal back is attached to Vin or Vout IIRC so if that's touching anything in your host you could be creating a short.
 




Top