Witty Pi 4 - Realtime Clock and Power Management for Raspberry Pi

SKU: CE08679 Brand: The Pi Hut

Retired Product

Replaced by: CE08761
This product has been replaced by: CE08761
This product is no longer available. This page is only for reference.

The Witty Pi 4 is an add-on board that adds a real-time clock and power management to your Raspberry Pi. It can define your Raspberry Pi’s ON/OFF sequence and significantly reduce energy usage. Witty Pi 4 is the fourth generation of the Witty Pi and has these hardware resources onboard:

  • Factory calibrated and temperature compensated real-time clock with ±2ppm accuracy
  • Dedicated temperature sensor with 0.125 °C resolution
  • On-board DC/DC converter that accepts up to 30V DC
  • AVR 8-bit microcontroller (MCU) with 8 KB programmable flash

Accurate Real-time Clock and On/Off Scheduling

The real-time clock (RTC) on Witty Pi 4 has been calibrated in the factory and Witty Pi 4’s firmware also makes temperature compensation for the crystal. This makes the RTC very accurate and the actual annual error is limited to within ±2ppm.

When your Raspberry Pi boots up, the time stored in the RTC will overwrite the system time. As a result, your Raspberry Pi knows the correct time even without accessing the Internet. You can schedule the startup and/or shutdown of your Raspberry Pi, and make it a time-controlled device. You can even define a scheduled script to schedule complicated ON/OFF sequences for your Raspberry Pi.

Scheduling the ON/OFF sequence for Raspberry Pi is the most popular feature of Witty Pi, and it is extremely useful for systems that are powered by batteries. By only turning on Raspberry Pi when necessary, the battery can be used way much longer with Witty Pi installed.

Temperature Controlled Device

The temperature sensor on Witty Pi 4 has 0.125 °C resolution. The temperature data is used for compensating the crystal and making the RTC more accurate.

You can also specify the action (startup or shutdown) when the temperature goes above or below the preset threshold. This means you can also make your Raspberry Pi a temperature-controlled device.

DC/DC Converter and E-latching Power Switch

Witty Pi 4 comes with a DC/DC converter on board, which allows you to power your device with a 6~30V power supply. You can also power your device with 5V via the USB type C connector.

Witty Pi 4 also implements an e-Latching power switch, which is very similar to the power switch on your PC/Laptop computer. You can gracefully turn on/off your Raspberry Pi with a single tap on the button. The software running in the background will execute the shutdown command before the power gets cut, this avoids the data corruption caused by a hard shutdown.

Witty Pi 4 supports all Raspberry Pi models that have the 40-pin GPIO header, including A+, B+, 2B, Zero, Zero W, Zero 2 W, 3B, 3B+, 3A+ and 4B. You will need to solder the 40-pin header to the Zero/Zero W/Zero 2 W model beforehand, so they can make a reliable connection with the Witty Pi.

Single I2C Device

Witty Pi 4 uses MCU to emulate a single I2C device with default address 0x08 and also maps all I2C registers in the real-time clock and temperature sensor as virtual I2C registers in the same device. You can access all I2C registers in the real-time clock and temperature sensor via the single I2C device emulated by Witty Pi 4.

The advantage of this new design is that Witty Pi 4 hides other I2C devices (real-time clock, temperature sensor) and becomes the proxy for them to talk to the Raspberry Pi. Because the I2C address used by Witty Pi 4 can be changed to any value, you can always avoid the I2C address conflicting.

UWI Support

Witty Pi 4 is fully supported by UWI, and you can access your Witty Pi 4 on any device that has network access.

Software Installation

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

wget https://www.uugear.com/repo/WittyPi4/install.shsudo sh install.sh

Package Contents

Each Witty Pi 4 package contains:

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

Specifications

Dimension65mm x 56mm x 19mm
Weight23g (net weight without accessories)
MicrocontrollerATtiny841 
Realtime ClockPCF85063A , calibrated in the factory
Temperature SensorLM75B
DC/DC ConverterMP4462 
MOSFET SwitchAO4616 
BatteryCR2032 (for timekeeping when the power supply is disconnected)
Power InDC 5V (via USB type C connector)
or DC 6V~30V (via XH2.54 connector)
Output CurrentUp to 3A for Raspberry Pi and its peripherals
Standby Current~0.5mA
Operating EnvironmentTemperature -30°C~80°C (-22°F~176°F)Humidity 0~80%RH, no condensing, no corrosive gas

Resources

This product is listed in:

Retired

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $6+ for Standard Post (typically 6+ business days, tracked)
  • $10+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $11+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Guides

The Maker Revolution

The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - ...

Projects

Raspberry Pi Video Looper Display Installation | Overshare Video Festival

IntroductionA suspended ceiling display of forty repurposed screens and displays, each screening cr...
IntroductionA suspended ceiling display of forty repurposed screens and displays, each screening cr...

Mailbox Delivery Notification System

Introduction During the Covid lockdown, I needed something to do. The Postman or woman does not de...
Introduction During the Covid lockdown, I needed something to do. The Postman or woman does not de...

PiicoDev Schematic System

Introduction: Hi everybody. Over the past few weeks, I have been working on an intuitive system th...
Introduction: Hi everybody. Over the past few weeks, I have been working on an intuitive system th...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.