its there anyone whos gud programmer in basic language with picaxe 08M?? need help
Um, I gonna take a risk of looking really stupid and ask.... Why would you want to do that with a Microcontroller? Why not just use a 12V voltage regulator?
Voltage divider to drop 3.5-8v to 0.5-5v input to an ADC and adjust your PWM duty cycle according. I don`t know anything about picaxe but a "picaxe pwm" google search came up with this. Also you`ll have to read the datasheet of your regulator.