Charge pump voltage doubler
Build it step by step
0 of 7 doneBuild the diode and capacitor stage
Note the stripe on each diode marks its cathode.
Add the 220 ohm resistor in the drive line
Between D9 and the 100 nanofarad capacitor.
Fit the 10 microfarad capacitor plus side to the output
Minus to GND.
Upload the sketch
The square wave starts.
Measure the output with no load
About 7 to 8 volts.
Add the 10 kilohm load
The voltage drops.
Remove the load before disconnecting
Let the capacitor discharge.
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
- Development BoardsBuyArduino Nano × 1
- SemiconductorsBuy
- PassivesBuy
- PassivesBuy
- PassivesBuyResistor 220 Ω × 1
- PassivesBuyResistor 10 kΩ × 1
- Tools & InstrumentsBuy
- PrototypingBuy
- PrototypingBuy
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Diode 1 anode | Nano 5V | Charges the pump capacitor |
| Diode 1 cathode | Node A | The pump node |
| Nano D9 | 220 ohm resistor, then 100 nanofarad capacitor, then node A | The square wave drive |
| Diode 2 anode | Node A | Passes the boosted voltage on |
| Diode 2 cathode | Output node | The doubled voltage |
| 10 microfarad capacitor plus leg | Output node | Reservoir, long leg or marked plus side to the output |
| 10 microfarad capacitor minus leg | Nano GND | Return path |
| Meter | Output node and GND | Reads 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.
| Check | Expected |
|---|---|
| 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 |
| Without the 100 nanofarad capacitor | Output about 4.4 V only |
| Reversed diode | No 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 →
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.
