I'm using an Arduino to control a dimmer. The dimmer needs an analog out 0-12v. I'm using the following circuit to get 12v instead of 5v:http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads
Basically, this is just a TIP120 connected to the PWM out and to the 12v out. The problem is that instead of getting 0-12v with PWM from 0 to 255, I'm getting 6v-12v.
Hope I'm clear enough in my explainations. Any solution or cue to help me fix that? Or any other suggestions to get 0-12v from 0-5v?