Outputting 0-12V Variable With Arduino PWM Out. - Interfacing
Maybe your like
Hi,
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?
retrolefty February 12, 2009, 8:53pm 2Link to the site not loading, will check later if I remember ![]()
Lefty
Grumpy_Mike February 12, 2009, 8:57pm 3What are you using as a load? In that link it was a motor. You should replace the motor with a 470R resistor and connect your dimmer through a resistor to a capacitor down to ground. Then connect that to the dimmer.
By the way does any one else not seem to be able to see the schematics on this web site, I'm using Fire Fox and they never show up.
I'm getting 6v-12v.
How are you measuring this? You won't get an accurate reading on a voltmeter as it is PWM.
mlehmann February 12, 2009, 9:37pm 4Thanks, it seems much better now with the resistor and the condenser. Also, I know the dimmer doesn't like PWM. In my older circuit (the one who gave me 5v) I used a condenser to regulate the PWM. This is a real newbie question but I figure the condenser I'm using now will act the same?
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| Reading PWM from 12v motor Programming | 7 | 591 | July 28, 2023 |
| Voltage Sensor Fluctuations General Guidance | 4 | 84 | September 9, 2025 |
| I cannot run motor below 10v with Arduino pwm Motors, Mechanics, Power and CNC | 9 | 328 | July 15, 2023 |
| Generate 1kHz +-12v PWM General Guidance | 8 | 4170 | May 5, 2021 |
| Problemas con las órdenes analogRead/Write Software | 6 | 352 | June 13, 2024 |
Tag » Arduino Pwm 0-12v
-
How Do I Convert 0-5v PWM To A 0-12v PWM - Arduino Stack Exchange
-
Converting PWM To 0-12V Analog DC - Arduino Forum
-
Variable Voltage (0-12V) Using PWM From Arduino
-
0-12V Analog Output - General Electronics - Arduino Forum
-
0-5V(0-255) Pwm To 0-12V Help Me Pls - Arduino Forum
-
Pilotage Pwm D'un Régulateur 12v Pour Pompe A Eau Electrique
-
How To Get Arduino PWM From 0 5V To 0 10V Or 0 12V ... - Quora
-
Arduino: How Do I Convert 0-5v PWM To A 0-12v PWM? (5 Solutions!!)
-
How To Make A 12v PWM Circuit Arduino Using UNO Board.
-
Results For 12v Pwm Arduino - AliExpress
-
Arduino 12v Moteur à Courant Continu Pwm - Achat En Ligne
-
La PWM : Qu'est-ce Que C'est ? (2) - Locoduino
-
Variable 0-12V, Digitally Controlled, Power Supply Using A Laptop ...