Seyed Masoud Hosseini · Overview · Study log · Ideas · Transcript · RSS feed
Embedded Systems, 6502 breadboard computer · Lecture 19 of 29 · 16:31
Lecture 19: Building a Voltage Multiplier
Study guide
What this lecture covers
The lecture explains how a charge pump can produce a higher voltage than its power supply without a transformer, using only capacitors, diodes, and a switching signal. It sits alongside the channel's 6502 breadboard computer series as background for later videos that need higher voltages (such as for RS-232 signaling) from a 5-volt supply.
By the end, you can explain why alternating a capacitor between charging and series positions raises voltage, why diodes are needed to stop the charge from flowing backward, and how stacking stages multiplies the effect further.
Key ideas
- Manual voltage stacking: physically charging a capacitor to the battery voltage, then reconnecting it in series with the battery, doubles the output voltage for as long as the capacitor holds its charge.
- A second holding capacitor: adding a capacitor across the output stores charge so the output voltage does not drop to zero while the first capacitor is being recharged.
- 555 timer as the switch: replacing a manual switch with a 555 timer's fast square wave lets the charge-and-transfer cycle happen many times per second, smoothing the output.
- Diodes prevent backflow: without a diode, a charged capacitor would immediately discharge back into the lower-voltage source; a diode only lets current flow the direction that charges the next capacitor.
- Dickson charge pump topology: alternating a clock signal and its inverted copy across a chain of diode-capacitor stages lets each stage add roughly one supply voltage to the output, multiplying voltage with each additional stage.
- High voltage, low energy: a charge pump built from small capacitors can reach tens of volts but stores very little energy, so touching it is not dangerous even though the voltage looks alarming.
- Practical use case: a charge pump can generate the higher voltages (for example, plus/minus 10-15V for RS-232) needed by a circuit that otherwise only has a 5V supply.
Walkthrough
Manually stacking a charged capacitor (0:00)
The lecture starts with a 9V battery and shows that physically moving a charged capacitor into series with the battery produces almost 18V, though the voltage drops as the capacitor discharges and drops to zero while it is disconnected to recharge.
Adding a holding capacitor and a mechanical switch (1:00)
A second capacitor across the output stores charge so the voltage no longer drops to zero during recharging. A hand-built switch lets one capacitor alternate between charging and series positions, and flipping it faster produces a smoother, roughly 18V output — this arrangement is named a charge pump.
Automating the switch with a 555 timer and diodes (3:01)
A 555 timer's square wave output replaces the mechanical switch, and the lecture works through the theory of using a diode instead of a mechanical connection: when the clock is high, a charged capacitor in series with the supply produces double voltage; when low, the capacitor recharges through the diode from the supply. Building this on the breadboard and observing it on the oscilloscope confirms the node alternates between roughly 9V and 18V.
Stabilizing the output with a second diode-capacitor stage (8:05)
A further diode and capacitor to ground smooth the fluctuating 9-18V signal into a relatively steady higher voltage, confirmed on the scope as roughly 15V (below the theoretical 18V due to real diode drops).
Adding stages with an inverted clock (10:06)
To push the voltage even higher, the lecture builds a MOSFET-based inverter to generate a second clock signal opposite the first, then adds another diode-capacitor stage driven by this inverted clock, reaching roughly 27V in theory. It shows that further stages simply alternate between the two clock phases.
A many-stage charge pump and a safety demonstration (13:07)
A larger breadboard circuit with many stacked stages produces around 110V from a 9V battery. The lecture touches the terminals to demonstrate that despite the high voltage, the tiny capacitors store very little energy, so no shock is felt, and closes by noting charge pumps are useful for signaling voltages (such as RS-232) rather than delivering power.
Before you watch
- Basic capacitor and diode behavior (charging, discharging, one-way current flow).
- Familiarity with the 555 timer as a square-wave source, covered in an earlier video on this channel.
- Comfort reading an oscilloscope trace with multiple channels.
Check your understanding
- Why does a charge pump need a diode instead of just a switch to move charge between capacitors?
- Why does the output voltage stay relatively steady with a holding capacitor even though the input clock is a square wave?
- Why is an inverted clock signal needed to add additional stages to the charge pump?
- Why can a charge pump reach a high voltage yet deliver a harmless shock when touched?
Chapters
- 0:00 Introduction to series
- 1:02 Smoothing the output
- 1:48 The charge pump concept
- 3:48 Theoretical charge pump
- 6:40 Building the circuit
- 8:05 Stabilizing the output
- 10:09 Multi-stage voltage boosting
- 11:34 Building high voltage
- 13:50 High voltage test
From the YouTube description
In this video, I explain the how a Dickson charge pump operates and how to build a basic example.
Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support.
------------------
Social media:
Website: https://www.eater.net
Twitter: https://x.com/beneater
Patreon: https://patreon.com/beneater
Reddit: https://www.reddit.com/r/beneater
Special thanks to these supporters for making this video possible:
Adrien Friggeri, Aleksey Smolenchuk, Alex, Alex Black, An Dương, Anthony Weems, anula, Ben, Ben Cochran, Ben Kamens, Ben Williams, Bill Cooksey, Bill Watkins, Binh Tran, Богдан Федоров, Bradley Stach, Burt Humburg, Carl Fooks, Carsten Schwender, Chai, Chris Anders, Chris Lajoie, Chris Sachs, criis, Daniel Jeppsson, Daniel Pink, Daniel Tang, Darrell Burgoon, Dave Walter, David Clark, David Cox, David Dawkins, David House, David Sastre Medina, David Turner, Dean Bevan, Dean Winger, Deep Kalra, Dennis Henderson, Dennis Schubert, Dilip Gowda, Dirk Sperling, Dmitry Guyvoronsky, Dušan Dželebdžić, Dustin Campbell, Dzevad Trumic, Emilio Mendoza, Eric Dynowski, Erik Broeders, Erik Granlund, Ethan Sifferman, Eugene Bulkin, Evan Serrano, Evan Thayer, Eveli László, EvinSaysMarxWasRight!, Florian Bürgi, Florian Rian, fxshlein, George Miroshnykov, ghostdunk, GusGold, Humberto Bruni, Ingo Eble, Ivan Esparza, Jack McCracken, Jacob Ford, James Beldock, James Capuder, Jared Dziedzic, Jason Bowen, Jason DeStefano, Jason Dew, Jason Thorpe, JavaXP, Jaxon Ketterman, jemmons, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Knowler, Joe Beda, Joe Pregracke, Joe Rork, Joel Miller, Joey Murphy, John Hamberger jn., John Henning, John Meade, Jon Dugan, Jonn Miller, Joseph Portaro, Jurģis Brigmanis, Justin Graziani, Kai Wells, Kefen, Ken Paul, Kenneth Christensen, Kyle Kellogg, Lambda GPU Workstations, László Bácsi, Leo K, Lithou, Lord Dorogoth, Lukasz Pacholik, Marcos Fujisawa, Marcus Classon, Mark Day, Martin Noble, MatrixSenpai, Mats Fredriksson, Matt Krueger, Matthäus Pawelczyk, melvin2001, Michael Koreshkov, MICHAEL SLASS, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, mikebad, Mikel Lindsaar, Miles Macchiaroli, Muqeet Mujahid, NacOJerk, Nate Welch, Nicholas Counts, Nicholas Moresco, Nick Chapman, Oli Homer, Ori Shamir, Örn Arnarson, Paul Heller, Paul Pluzhnikov, Pete Dietl, Phil Dennis, Philip Hofstetter, ProgrammerDor, Ralph Irons, Randal Masutani, Randy True, raoulvp, real_huitz, ReJ aka Renaldas Zioma, Ric King, Rick Hennigan, Robert Diaz, Robert Keown, Robey Pointer, Roland Munsil, Sagnik Bhattacharya, Scott Gorlick, Scott Holmes, Sean Patrick O’Brien, Sergey Kruk, Shane Mulcahy, SonOfSofaman, Spencer Ruport, Splashtwist, Stefan Nesinger, Stephen Kovalcik, Stephen Riley, Steve Jones, TheWebMachine, Thomas Eriksen, Tim Oriol, Tim Walkowski, Tim Wheeler, Tom, Tom Knowles, Tom Smith, Tyler Latham, Usseod, Vincent Bernat, Warren Miller, Wim Coekaerts, xisente, Yee Lam Wan
← Lecture 18: The RS-232 Protocol · Lecture 20: 6502 Serial Interface →
