Pages: [1]   Go Down
Author Topic: Control/vary LM317 output voltage with PWM  (Read 2107 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 637
Posts: 34584
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 20
Posts: 1659
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: