Projects / Charge pump voltage doubler

Charge pump voltage doubler

Intermediate1.2 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. NANO

    Build the diode and capacitor stage

    Note the stripe on each diode marks its cathode.

  2. NANO

    Add the 220 ohm resistor in the drive line

    Between D9 and the 100 nanofarad capacitor.

  3. NANO

    Fit the 10 microfarad capacitor plus side to the output

    Minus to GND.

  4. NANO

    Upload the sketch

    The square wave starts.

  5. NANO

    Measure the output with no load

    About 7 to 8 volts.

  6. NANO

    Add the 10 kilohm load

    The voltage drops.

  7. NANO

    Remove the load before disconnecting

    Let the capacitor discharge.

In short

How do you build a charge pump voltage doubler?

A Nano pin sends a fast square wave into two small diodes and two capacitors, which pump the output to nearly twice the supply, measured with a meter. It only supplies a tiny current, enough for a meter and nothing else. You need Arduino Nano, Signal Diode 1N4148 × 2, Ceramic Capacitor 100 nF, Electrolytic capacitor 10 µF, Resistor 220 Ω, Resistor 10 kΩ, Digital multimeter, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm). It takes 7 steps and about 70 minutes.

Level
Intermediate
Time
About 70 min
Parts
9

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
Diode 1 anodeNano 5VCharges the pump capacitor
Diode 1 cathodeNode AThe pump node
Nano D9220 ohm resistor, then 100 nanofarad capacitor, then node AThe square wave drive
Diode 2 anodeNode APasses the boosted voltage on
Diode 2 cathodeOutput nodeThe doubled voltage
10 microfarad capacitor plus legOutput nodeReservoir, long leg or marked plus side to the output
10 microfarad capacitor minus legNano GNDReturn path
MeterOutput node and GNDReads the doubled voltage

Code

A charge pump moves charge in small packets to make a voltage that the supply alone cannot. While D9 is low, diode 1 charges the 100 nanofarad capacitor to about 4.4 volts, which is 5 volts minus the diode drop. When D9 goes high, the capacitor's other side jumps up by 5 volts, so node A rises to nearly 9 volts, and diode 2 passes some of that into the 10 microfarad reservoir. Repeated four thousand times a second, the output climbs to roughly 7 to 8 volts with no load, and less as you add load. The 220 ohm resistor keeps the pin's charging current under its safe limit, so do not leave it out. Check the stripe or plus mark on the 10 microfarad capacitor and use one rated for 16 volts or more, with its plus side on the output. Measure the output with the meter, then add the 10 kilohm resistor as a load and watch it sag. The output can only supply a milliamp or so, so it is for the meter only, and must never power or connect to anything else.

Runs on a virtual Arduino Nano in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).

void setup() {
  pinMode(9, OUTPUT);
  TCCR1B = (TCCR1B & 0xF8) | 0x02;   // Timer1 prescaler 8, so D9 PWM runs at about 3.9 kHz
  analogWrite(9, 128);               // 50 percent duty: a square wave on D9
  Serial.begin(9600);
  Serial.println("Square wave running on D9 at about 3.9 kHz. Measure the output with a meter.");
}

void loop() {
  // nothing else to do: the diodes and capacitors do the pumping
}

What the serial monitor should show

Open the serial monitor at the baud rate in the code. This is what our simulator prints for a virtual Arduino Nano with its sensors at their default values. Your numbers will follow your real readings, but the format should match.

Square wave running on D9 at about 3.9 kHz. Measure the output with a meter.

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
No loadOutput of about 7 to 8 volts
With 10 kilohm loadA lower reading, about 6 volts
Drive stoppedOutput slowly falls back to about 4.4 V
Without the 100 nanofarad capacitorOutput about 4.4 V only
Reversed diodeNo boost

If it does not work

Output only 4.4 V

Check the pump capacitor and the D9 wire.

Output near 0

Check diode direction, stripe to the output side.

Capacitor feels warm

Disconnect, it may be the wrong way round.

Reading falls fast

A meter on a low range loads the circuit, use the DC volt range.

Upload fails

Choose the Old Bootloader option.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the charge pump voltage doubler?

Arduino Nano, Signal Diode 1N4148 × 2, Ceramic Capacitor 100 nF, Electrolytic capacitor 10 µF, Resistor 220 Ω, Resistor 10 kΩ, Digital multimeter, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the charge pump voltage doubler take to build?

About 70 minutes for a intermediate maker, in 7 steps.

How do I know the charge pump voltage doubler works?

No load: Output of about 7 to 8 volts. With 10 kilohm load: A lower reading, about 6 volts. Drive stopped: Output slowly falls back to about 4.4 V.

Output only 4.4 V: what should I check?

Check the pump capacitor and the D9 wire.

Output near 0: what should I check?

Check diode direction, stripe to the output side.

Capacitor feels warm: what should I check?

Disconnect, it may be the wrong way round.

Reading falls fast: what should I check?

A meter on a low range loads the circuit, use the DC volt range.