WattNWave
DIY projects › Stop buying batteries

Make your wall clock rechargeable

Stop buying AA batteries for the clock. Hide a small lithium battery, a USB-C charging board and a tiny 1.5 V regulator inside it and charge it with a phone cable, or run it from USB with no battery at all. Pick a way, follow the drawing and the steps.

9V
Easy to mediumSoldering30–60 minutes
New to electronics? The words used on this page
AWG
A number for wire thickness. A smaller number means a thicker wire: 10 AWG is thicker than 14 AWG.
TP4056
A small, cheap board that charges one lithium cell from a USB charger.
Heat-shrink
A plastic tube that shrinks tight when heated. It covers and insulates a joint.
Multimeter
A hand-held meter that measures voltage. Use it to check before you connect anything.
Ground
The negative (−) side of a 12 V system. In a car it is the bare metal body.
Ah, mAh
How much a battery holds. 1 Ah = 1,000 mAh. Multiply Ah by volts to get watt-hours (Wh).

Which way is for you?

ABuilt-in lithium battery with USB-C

Hide a lithium battery, a charging board and a 1.5 V regulator inside the clock. Charge it with a phone cable. Soldering · about 1 hour

Careful. Lithium batteries can catch fire if their wires touch or the battery is damaged. Use a charging board with protection, insulate every joint and keep the battery away from sharp edges and the gears.
inside the clockPhonechargerUSB-Ccut an openingfor the socket5Charging boardTP4056B+B−OUT+OUT−13.7 V lithiumbattery21.5 V regulatorMCP1702-1502INOUTGND31 µF1 µFholder− spring+46testground (−) line+ positive− negative
Swipe sideways to see the whole drawing. The numbers on the drawing match the steps below.

You will need

  • 3.7 V lithium battery (LiPo)A flat pouch battery with two wires. 1,000–2,000 mAh is a good size: the calculator shows how long it lasts
    View on Amazon
  • USB-C charging board (TP4056, with protection)Charges the lithium battery from a phone charger and protects it from running too low
    View on Amazon
  • 1.5 V low-power regulator (MCP1702-1502)Turns the battery's 3–4.2 V into a steady 1.5 V and uses almost no power itself
    View on Amazon
  • Two 1 µF capacitorsKeep the regulator stable: one on its input, one on its output
    View on Amazon
  • Wire and heat-shrinkThin wire for the joints, heat-shrink to cover them
    View on Amazon
  • MultimeterTo check voltages before you connect anything
    View on Amazon

Tools

Soldering iron and solder, multimeter, craft knife or small file, hot glue.

Step by step

  1. 1

    Charge the battery once on the charging board before you build: plug a phone charger into the board's USB-C socket until its light shows full (often blue or green).

    Check: small batteries need a lower charging current: the calculator tells you which resistor to change on the board.

  2. 2

    Solder the battery's red wire to the board's B+ and its black wire to B−.

    Check: never let the battery's red and black wires touch each other.

  3. 3

    Make the 1.5 V: connect the regulator's IN leg to the board's OUT+ and its GND leg to OUT−. Solder one capacitor between IN and GND, and one between OUT and GND.

    Check: the leg order differs between parts, so check the regulator's datasheet. Then measure between OUT and GND: about 1.5 V.

  4. 4

    Take out the clock's battery. Wire the regulator's OUT to the clock's + battery contact and GND to the − contact (the spring).

    Check: red to +, black to −.

  5. 5

    Cut a small opening in the back of the clock for the USB-C socket. Glue the charging board so its socket lines up, and fix the battery with foam tape away from the gears.

  6. 6

    Close the clock and set the time. When it slows down, plug in a phone charger until the light shows full.

Every connection, one by one

Tick each one as you make it. When every box is ticked, the wiring is complete.

DoneFromToWire
Battery red wireCharging board B+Red
Battery black wireCharging board B−Black
Charging board OUT+Regulator INRed
Charging board OUT−Regulator GNDBlack
Capacitor 1Between regulator IN and GNDIts own legs
Capacitor 2Between regulator OUT and GNDIts own legs
Regulator OUT (1.5 V)Clock's + battery contactRed
Regulator GNDClock's − contact (the spring)Black

As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.

BUSB-powered, no battery

For a clock near a wall socket. An old USB cable and a 1.5 V regulator replace the battery for good. Soldering · 30 minutes

USB pluginto a phone charger5red +5 Vblack11.5 V regulatorMCP1702-1502INOUTGND21 µF1 µFor a home-made dummy batterydowelbattery contacts− spring+41.503+ positive− negative
Swipe sideways to see the whole drawing. The numbers on the drawing match the steps below.

You will need

  • Old USB cableAny cable with a USB-A plug; you cut off the other end
    View on Amazon
  • 1.5 V low-power regulator (MCP1702-1502)Makes 1.5 V from USB's 5 V
    View on Amazon
  • Two 1 µF capacitorsOne on each side of the regulator
    View on Amazon
  • Wooden dowel (14 mm) and two small screwsOptional: a home-made dummy battery that drops into the holder
    View on Amazon
  • Wire and heat-shrinkThin wire for the joints, heat-shrink to cover them
    View on Amazon
  • MultimeterTo check voltages before you connect anything
    View on Amazon

Tools

Soldering iron and solder, wire stripper, multimeter, small saw for the dowel.

Step by step

  1. 1

    Cut the USB cable, strip the outer cover and find the red (+5 V) and black (ground) wires. Cut back and tape the others.

    Check: plug it into a charger and measure: about 5 V between red and black.

  2. 2

    Solder the regulator: IN to the red wire, GND to the black wire. Add one capacitor between IN and GND and one between OUT and GND.

    Check: check the regulator's leg order in its datasheet.

  3. 3

    Measure between OUT and GND with the USB plugged in: about 1.5 V. Then unplug.

  4. 4

    Connect OUT to the clock's + contact and GND to the − spring. Or make a dummy battery: a 50 mm piece of dowel with a screw in each end, the wires fixed to the screws.

    Check: + screw on the + end.

  5. 5

    Run the cable down the wall with small clips and plug it into a phone charger. Set the time.

Every connection, one by one

Tick each one as you make it. When every box is ticked, the wiring is complete.

DoneFromToWire
USB cable red wireRegulator INRed
USB cable black wireRegulator GNDBlack
Capacitor 1Between regulator IN and GNDIts own legs
Capacitor 2Between regulator OUT and GNDIts own legs
Regulator OUT (1.5 V)Clock's + contactRed
Regulator GNDClock's − springBlack

As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.

Check your numbers

How long a charge lasts, which regulator to use, and how to set the charging current.

Your best guess is fine.
The mAh number printed on the battery.
Our suggestion
—

How this is calculated

Method
Device voltage = cells × 1.5 V (9 V per 9 V battery). Average current = alkaline capacity ÷ how many hours a set lasts. From a lithium cell: hours per charge = cell mAh × 90% ÷ current taken from the cell. Through a boost board that current is device current × device V ÷ (3.7 V × 88%). Charge time follows the TP4056 current set by its PROG resistor.
Assumptions
Alkaline capacity in low-drain devices (clocks, remotes): AA 2,400, AAA 1,100, C 7,000, D 14,000, 9 V 550 mAh; about 60% of that in higher-drain devices. 90% of the lithium cell is usable. Low-dropout regulators pass the current straight through and use about 2 µA themselves. Peak current per device type is a typical estimate.
Sources
Alkaline maker datasheets (capacity versus drain); TP4056 datasheet (PROG resistor table); MCP1702, AMS1117 and MT3608 datasheets.

Stay safe

Stop at once if a cell or board smells, gets hot to the touch, swells, hisses or smokes. Unplug it, move it onto a non-flammable surface outdoors if you safely can, and keep away until it is cold.
  • Lithium batteries need a charging board with protection; insulate every joint.
  • Never connect a lithium battery straight to the clock: 3–4.2 V can damage a 1.5 V movement.
  • Use a proper USB phone charger; never wire anything to mains voltage.
  • Use a TP4056 board with protection (the version with the DW01 chip and two outputs, OUT+ and OUT−), or a proper BMS for packs.
  • Buy cells from a known brand and seller. Fake cells often hold a fraction of the label and can lack protection.
  • Do not leave lithium cells charging unattended, and charge them on a non-flammable surface.
  • Never use a swollen, dented or leaking cell. Recycle it.
  • Put a fuse close to the battery's + terminal.
  • While soldering or spot-welding, keep the cell ends covered so nothing can short them.

Questions people ask

Is a small 300 mAh lithium battery enough?

It works, but needs charging often. The regulator passes the clock's current straight through, so the battery's mAh is what counts: an alkaline AA holds about 2,400 mAh, so 300 mAh lasts roughly an eighth as long (about 5–6 weeks in a clock where an AA lasts a year). 1,000–2,000 mAh gives several months.

Why not connect the lithium battery straight to the clock?

It gives 3–4.2 V, but the clock is made for 1.5 V. The regulator brings it down and uses almost no power itself (about 2 µA).

Why change the resistor on the charging board?

The TP4056 board charges at 1 A as sold. That is too fast for a small battery. Swapping its PROG resistor (often marked R3) for a larger value lowers the current; the calculator gives the value.

My radio-controlled clock stopped syncing. Why?

It may need a little more current when it receives the time signal at night. The MCP1702 handles this easily; check all joints are good and the battery is charged.

Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.