Projects / Ideas / PWM to voltage converter

PWM to voltage converter

IntermediateAnalog CircuitsIdeaReviewed
In short

How do you build a PWM to voltage converter?

A Nano PWM pin and an RC filter make a smooth adjustable DC voltage, and you measure how the ripple falls as the capacitor gets larger. You need Arduino Nano, Resistor 10 kΩ, Resistor 1 kΩ, Ceramic capacitor 1 µF, Electrolytic capacitor 10 µF, Potentiometer 10 kΩ, Digital multimeter and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 150 min
Parts
8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Turn a PWM signal into a steady voltage.

How to build it

  1. Send PWM at several duty cycles
  2. Add the RC filter
  3. Measure the average voltage
  4. Compare the ripple with two capacitors
  5. Load the output and see it sag

Related projects

Common questions

What parts do I need for the PWM to voltage converter?

Arduino Nano, Resistor 10 kΩ, Resistor 1 kΩ, Ceramic capacitor 1 µF, Electrolytic capacitor 10 µF, Potentiometer 10 kΩ, Digital multimeter and Breadboard 830 Tie Points.

How long does the PWM to voltage converter take to build?

About 150 minutes for a intermediate maker.