Go Down

Topic: Control/vary LM317 output voltage with PWM (Read 2534 times) previous topic - next topic

mcgyvr

Anyone got a good schematic to control/adjust an LM317 via PWM (Arduino pin 9). I want to be able to give 50% to 100% duty cycle and output 5VDC to 12VDC or so. Supply to LM317 will be 12VDC

Grumpy_Mike

I have no idea why you want to use an LM317, this will do the job nicely:-


mcgyvr

Well... I wanted to try regular linear voltage control. I have a few different applications that I thought a variable LM317 would be great for. Like #1 the fan control. and #2 output 1 to 10VDC (controlled from PWM signal) for a LED Meanwell ELN-60-48D ballast dimmer circuit.
Guess I will just go with your schematic for the fan control and use a filter/op amp for my 0-10VDC dimmer control circuit.

Still would like to see if anyone has a decent schematic though.

mcgyvr

I'm assuming I can use this Mosfet instead of the surface mount version you have in that schematic. Right??
http://www.diodes.com/zetex/_pdfs/3.0/pdf/ZVN4206A.pdf

pwillard

Yeah, you might have better luck driving a LEGACY LM723 that way though...  

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy