Angled top view of the pre-soldered TPL5110 timer board and push button

TPL5110 Pre-Soldered Low-Power Timer Module | ShillehTek Product Manual

ArduinoESP32Raspberry PiPicomanual-product-10645386363167
$10.65 USD In stock · Order by 3pm ET, ships today

Overview

The TPL5110 module is a tiny timer that switches the power to your whole project on and off. It sits between the battery and your circuit, turns the circuit on at a fixed interval from about 100 milliseconds to 2 hours, and cuts the power again when your circuit signals that it has finished. In between, the project draws almost nothing.

That makes it a simple way to run a sensor node, data logger or other battery project for months: wake, measure, send, power off. It works with any microcontroller board, including Arduino, ESP32 and Raspberry Pi Pico, and the header comes pre-soldered.

At a Glance

Type
Low-power timer and power switch
Timer IC
TPL5110
Supply
1.8 V to 5.5 V
Interval
About 100 ms to 2 hours
Output
DRV, switched supply voltage
Control Pins
Delay and Done

Specifications

Parameter Value
Timer IC TPL5110 nano-power system timer
Supply voltage (VDD) 1.8 V to 5.5 V
Timer interval About 100 ms to 2 hours, set by the trimmer or by a resistor on Delay
Output (DRV) The supply voltage, switched on and off by the timer
Done input A low-to-high edge switches the output off until the next interval
Without a Done signal Power is switched off and on briefly at each interval, like a watchdog
Standby current About 35 nA for the timer chip; on the order of 20 µA for a board of this design
On-board parts Trimmer, push button for a manual start, LED
Jumpers LED Enable and Trim Enable, on the back
Header pins VDD, GND, Delay, DRV, Done

Pinout Diagram

The header reads left to right: VDD, GND, Delay, DRV and Done. VDD and GND take the battery. DRV is the switched output that powers your project. Done is the input your project raises when it has finished. Delay is connected to the trimmer by default and can take a fixed resistor instead. The button starts a cycle by hand, which is handy for testing.

TPL5110 low-power timer module pinout diagram showing VDD, GND, Delay, DRV and Done pins

Wiring Guide

The battery connects to the timer, and your board is powered from the timer's DRV pin, not from the battery directly. One output pin goes to Done so the board can switch itself off. DRV passes the battery voltage straight through, so choose a battery that suits the pin you feed on your board.

Arduino Uno / Nano Wiring

Timer Pin Connect To Function
VDD Battery + Power in
GND Battery − and GND Ground
DRV 5V pin Switched power
Done D4 Finished signal
Voltage: DRV passes the battery voltage through unchanged. Feed the Arduino 5V pin with 4.5 V to 5.5 V only, for example from three AA cells.

ESP32 Wiring

Timer Pin Connect To Function
VDD Battery + Power in
GND Battery − and GND Ground
DRV 5V / VIN pin Switched power
Done GPIO 4 Finished signal
Power pin: Use the 5V / VIN pin for battery packs of 4.5 V to 5.5 V. Feed the 3V3 pin only from a regulated 3.3 V source, never from a battery above 3.6 V.

Raspberry Pi

The TPL5110 is a poor match for a Raspberry Pi computer. Cutting the power without a clean shutdown can corrupt the SD card, and a Pi takes far longer to start than a microcontroller. Put the low-power part of your project on a Pico, an Arduino or an ESP32 instead.

Board Recommendation
Raspberry Pi 3, 4, 5, Zero Not recommended: sudden power cuts risk SD card corruption
Raspberry Pi Pico Works well: see the Pico tab

Raspberry Pi Pico Wiring

Timer Pin Connect To Function
VDD Battery + Power in
GND Battery − and GND (Pin 38) Ground
DRV VSYS (Pin 39) Switched power
Done GP15 (Pin 20) Finished signal
main.py: Save the script on the Pico as main.py so it runs by itself at every power-up. VSYS accepts 1.8 V to 5.5 V, the same range as the timer.

Code Examples

View or download this product's example code on GitHub.

Both examples follow the same pattern: do the work once, then pulse Done until the timer cuts the power. The code never loops back to the work, because the next run starts from a fresh power-up.

Arduino and ESP32 — Work Once, Then Power Off

tpl5110_done.ino
// TPL5110 power timer - do one job, then tell the timer to cut the power
// The board is powered from the TPL5110 DRV pin, so this sketch restarts at every wake-up.
// Wiring: Done = D4 (Arduino) or GPIO 4 (ESP32), DRV = board power input, GND = GND
const int DONE_PIN = 4;

void setup() {
  pinMode(DONE_PIN, OUTPUT);
  digitalWrite(DONE_PIN, LOW);

  Serial.begin(115200);
  Serial.println("Awake - doing the job");
  // Put your own work here: read a sensor, then send or store the result.
  delay(500);
  Serial.println("Finished - asking the timer to cut power");
  Serial.flush();
}

void loop() {
  // Pulse Done until the power disappears
  digitalWrite(DONE_PIN, HIGH);
  delay(1);
  digitalWrite(DONE_PIN, LOW);
  delay(1);
}

Raspberry Pi Pico — Work Once, Then Power Off (MicroPython)

tpl5110_pico.py
# TPL5110 power timer with a Raspberry Pi Pico (MicroPython) - save as main.py
# The Pico is powered from the TPL5110 DRV pin, so this script restarts at every wake-up.
# Wiring: Done = GP15, DRV = VSYS (pin 39), GND = GND
from machine import Pin
import time

done = Pin(15, Pin.OUT, value=0)

print("Awake - doing the job")
# Put your own work here: read a sensor, then send or store the result.
time.sleep(0.5)
print("Finished - asking the timer to cut power")

while True:               # pulse Done until the power disappears
    done.value(1)
    time.sleep_ms(1)
    done.value(0)
    time.sleep_ms(1)

Frequently Asked Questions

How do I set the interval?
Turn the trimmer: one end of its travel is about 100 milliseconds and the other end is about 2 hours. The timer reads the setting only at power-up, so disconnect and reconnect the battery after changing it. For a precise, repeatable interval, cut the Trim Enable jumper and fit a fixed resistor between Delay and GND.
Which resistor gives which interval?
Typical values for the TPL5110 are about 5.2 k for 1 second, 22 k for 1 minute, 125 k for 1 hour and 170 k for 2 hours. The resistor goes between Delay and GND, with the Trim Enable jumper cut. Resistor tolerance shifts the timing, so time a few cycles if the exact interval matters.
What happens if my code never raises Done?
The timer switches the power off and on again briefly when the next interval arrives, which restarts your project. That makes it a simple watchdog: a program that hangs gets a fresh start one interval later. It also means the project stays powered between intervals, so the battery saving is lost until Done works.
How do I connect Done?
Run a wire from a spare output pin to Done. Set the pin low at the start of your program and drive it high when the work is finished. The examples pulse it repeatedly so the timer cannot miss the edge. The power disappears a moment later, so finish saving or sending your data before you raise Done.
How much current does it use in standby?
The TPL5110 chip itself needs only about 35 nA. A complete board of this design draws on the order of 20 uA with the output off, which is still far less than a microcontroller in sleep mode on a typical development board. Cutting the LED Enable jumper stops the LED from adding to the consumption while your project runs.
Can I use it with a Raspberry Pi?
Use it with a Pico, not with a Linux-based Raspberry Pi. Cutting the power to a Pi without a clean shutdown risks corrupting the SD card, and its long start-up time wastes most of the saving. A common pattern is a Pico or ESP32 on the timer doing the low-power sensing.
What battery voltage can I use?
Anything from 1.8 V to 5.5 V on VDD. The DRV output passes that voltage straight to your project, so the battery must also suit the pin you feed: for example 4.5 V to 5.5 V into an Arduino 5V pin, or 1.8 V to 5.5 V into the VSYS pin of a Pico.

Related Tutorials

Datasheets & downloads

Reference documents for the TPL5110 Pre-Soldered Low-Power Timer Module. This manual covers wiring and code; the documents below carry the full electrical specifications.