Witty Pi 4 is an add-on board that adds 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 Witty Pi, and it 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.
Note: Witty Pi’s software is developed and tested under Raspberry Pi OS (the former Raspbian). If you want to use Witty Pi on other Linux distributions, you may not be able to install the software without error. This is due to the fact that different Linux distributions have different packages installed by default, and their default users may have different privilege settings too. You may need to modify the software installation script or even the software itself; however, this will need you to have some knowledge of BASH programming.
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 ±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 a complicated ON/OFF sequence 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 battery-powered systems. 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 makes 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 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 Zero/Zero W/Zero 2 W model beforehand, so they can make a reliable connection with Witty Pi.
SINGLE I2C DEVICE
Witty Pi 4 uses MCU to emulate a single I2C device with default address 0x08 and also map all I2C registers in real time clock and temperature sensor as virtual I2C registers in the same device. You can access all I2C registers in 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 of them to talk to 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 (UUGear Web Interface), 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 4’s software:
[email protected]:~ $ wget https://www.uugear.com/repo/WittyPi4/install.sh[email protected]:~ $ sudo sh install.sh
The software and firmware of Witty Pi 4 are open-sourced. You can find the source code on GitHub.
Each Witty Pi 4 package contains:
- Witty Pi 4 board x 1
- 30cm 22AWG XH 2.54 cable x 1
- M2.5 x 11mm Copper Standoff x 4
- M2.5 screws x 8
Note: Coin cell battery is not included, to make shipping a lot easier for folks abroad. You can get one locally or add one from the Adafruit shop if you need.
Technical Details
Specifications:
Dimension | 65mm x 56mm x 19mm |
Weight | 23g (net weight without accessories) |
Microcontroller | ATtiny841 (datasheet) |
Realtime Clock | PCF85063A (datasheet), calibrated in factory. |
Temperature Sensor | LM75B (datasheet) |
DC/DC Converter | MP4462 (datasheet) |
MOSFET Switch | AO4616 (datasheet) |
Battery | CR2032 (for time keeping when power supply is disconnected) |
Power In | DC 5V (via USB type C connector) or DC 6V~30V (via XH2.54 connector) |
Output Current | Up to 3A for Raspberry Pi and its peripherals |
Standby Current | ~0.5mA |
Operating Environment | Temperature -30°C~80°C (-22°F~176°F) Humidity 0~80%RH, no condensing, no corrosive gas |
Shipping rates Australia wide and New Zealand
FAQ:
- How do I estimate shipping for my order?
- Add products in the shopping cart and head to the checkout page to estimate the shipping.
Dispatch time
Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.
All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.
We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only. All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider.
Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request.
*Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.
We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available.
Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html
Receipt of deliveries
Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:
- leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
- re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee.
Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.
Payment & Security
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.