Capacitor voltage rating should be at least the maximum input voltage, not 6v as indicated in the graphic.
All Images Copyright Pete Ganzel