Witty Pi 5 HAT+ Real-Time Clock and Power Management for Raspberry Pi

UUGearSKU: 106549
Price:
Sale price £40.50
incl. VAT
excl. VAT
Stock:
In stock
Quantity:

Compatible with:

Awesome Extras

Raspberry Pi 5 by Raspberry Pi - The Pi HutRaspberry Pi 5 by Raspberry Pi - The Pi Hut
Raspberry PiRaspberry Pi 5
Sale priceFrom £48 incl. VAT excl. VAT
Raspberry Pi 27W USB-C Power Supply by Raspberry Pi - The Pi HutRaspberry Pi 27W USB-C Power Supply by Raspberry Pi - The Pi Hut
Raspberry PiRaspberry Pi 27W USB-C Power Supply
Sale price £11.40 incl. VAT excl. VAT
CR2032 3V Lithium Coin Cell Battery by ANSMANN - The Pi HutCR2032 3V Lithium Coin Cell Battery by ANSMANN - The Pi Hut
ANSMANNCR2032 3V Lithium Coin Cell Battery
Sale price £1.90 incl. VAT excl. VAT
25-in-1 Compact Precision Screwdriver Set by The Pi Hut - The Pi Hut25-in-1 Compact Precision Screwdriver Set by The Pi Hut - The Pi Hut

Witty Pi 5 HAT+ is the fifth generation in the Witty Pi product line, and it is also the first Witty Pi board that complies with the Raspberry Pi HAT+ specification. Witty Pi is an add-on board that brings real-time clock (RTC) and power management functionalities to your Raspberry Pi, including Raspberry Pi 5 support.

It can define the on/off sequence of your Raspberry Pi, perform power on/off actions based on temperature or voltage thresholds, and significantly reduce overall energy consumption. As a Mode 1 Power HAT+ board, Witty Pi 5 can deliver up to 5A current to Raspberry Pi and its peripherals.

Witty Pi 5 supports all Raspberry Pi models with a 40-pin GPIO header. For models such as the Zero, Zero W, and Zero 2 W, you will need to solder a 40-pin header onto the board beforehand to ensure a reliable connection with Witty Pi.

Raspberry Pi not included

Open-source, developer-friendly software

Witty Pi 5 is also more developer-friendly for firmware and software customisation. Both its firmware (written in C using the pico-sdk) and its software (written in C) are fully open-source, allowing users to modify and adapt them as needed. You may find Witty Pi 5’s Firmware Repository and Software Repository on GitHub.

Just like other RP2350-based boards, firmware updates are very easy: by holding the BOOTSEL button while connecting the USB cable, the RP2350 enters USB boot mode and presents itself as a virtual USB drive. You can then drag-and-drop the compiled .uf2 firmware file to flash it.

Witty Pi 5 also emulates both a USB flash drive and a USB serial device. This allows users to edit configuration files, view logs stored on the board, and monitor real-time logs via the serial interface—all of which lower the barrier for development and debugging.

Time Controlled Device

The high-precision RTC (real-time clock) on Witty Pi 5 has built-in temperature compensation and provides accurate timekeeping even without a network connection.

With Witty Pi 5, you can define the power-on and power-off times for your Raspberry Pi, or even create a complex schedule using scripting to fit your specific needs. By powering down the Raspberry Pi when it’s not needed and powering it up only at the right time, you can significantly reduce overall power consumption. This feature is especially valuable for battery-powered devices.

Temperature Controlled Device

The temperature sensor on Witty Pi 5 offers a resolution of 0.0625°C and supports both high and low temperature threshold interrupts.

You can configure Witty Pi 5 to power on or off the Raspberry Pi based on temperature thresholds, effectively turning your Raspberry Pi into a temperature-controlled device.

Voltage-Controlled Device

When powered via the VIN terminal block, Witty Pi 5 can monitor the input voltage and make power-on/off decisions accordingly. This feature is commonly used in battery-powered applications, where the Raspberry Pi can be shut down when the battery voltage drops too low and powered up again once the voltage recovers to a safe level.

Uninterruptible Power Supply (UPS)

Witty Pi 5 has two independent power input channels: VUSB and VIN. These channels can operate simultaneously and back each other up. If one power source fails, the other can continue to power the system. Witty Pi 5 also provides software-level access to the current power source status, allowing your software to decide whether to continue running or shut down the Raspberry Pi safely.

Single I2C Slave Device

The microcontroller (RP2350) on Witty Pi 5 works as an I2C slave (with a configurable address) and Raspberry Pi can read/write its registers via I2C interface. Witty Pi 5’s software configures Witty Pi 5 by setting the I2C registers accordingly.

The microcontroller also implements an I2C master to access the real-time clock and temperature sensor via an internal I2C bus. The I2C registers in the real-time clock and temperature sensor are all mapped as virtual I2C registers in Witty Pi 5’s I2C slave device, so Raspberry Pi can also access them.

  • The real-time clock’s registers are mapped to virtual registers #80~#95
  • The temperature sensor‘s registers are mapped to virtual registers #96~#103

Features

  • A high-precision real-time clock, with an accuracy of ±3.8 to 5 ppm
  • A dedicated temperature sensor with 0.0625°C resolution
  • An onboard DC/DC converter that accepts up to 30V DC input
  • Two “ideal” diodes that isolate VIN and VUSB
  • An RP2350 microcontroller (MCU) with an external 16MB flash memory.
  • An ID EEPROM compatible with HAT+ specification.

    Specifications

    Dimension 65mm × 56mm × 19mm
    Weight 28g (net weight without accessories)
    Microcontroller RP2350 (datasheet)
    Realtime clock RX8025T-UB (datasheet)
    Temperature sensor TMP112 (datasheet)
    DC/DC converter TPS54540 (datasheet)
    MOSFET switch AO4805 (datasheet)
    Battery holder CR2032 (for time keeping only, when no power supply is connected. Battery not included)
    Power in DC 5V (via USB Type-C connector)
    DC 6V–30V (via KF350-2P screw terminal block connector)
    Output current Up to 5A for Raspberry Pi and its peripherals
    Standby current ~8mA (could be reduced to ~0.8mA when this issue is resolved)
    Operating environment Temperature: -30°C to 80°C
    Humidity: 0–80% RH, no condensing, no corrosive gas

    Resources

    Software Installation

    You just need to run these two commands in your Raspberry Pi to install Witty Pi 5’s software:

    wget https://www.uugear.com/repo/WittyPi5/wp5_latest.deb

    sudo apt install ./wp5_latest.deb

    Package Contents

    • 1x Witty Pi 5 board
    • 4x M2.5 x 11mm Copper Standoff
    • 8x M2.5 screws

    Raspberry Pi not included

    Payment & Accreditations

    Payment methods
    Visa Mastercard Maestro PayPal Amazon Klarna Bitcoin

    Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

    Accreditations