Witty Pi Mini is the new member of Witty Pi family. It has the same functionality of Witty Pi 2, and it has pHAT shape (same dimension with Raspberry Pi Zero), which is perfect for Raspberry Pi Zero (and other models). Witty Pi Mini adds RTC and power management to your Raspberry Pi, and can define complex ON/OFF sequence with simple script.
After installing the software on your Raspberry Pi, you can enjoy these amazing new features:
- Single tap on the button to gracefully turn on/off Raspberry Pi.
- After shutdown, the power for Raspberry Pi and all its USB peripherals are fully cut.
- Raspberry Pi knows the correct time, even without accessing the Internet.
- You can schedule the startup/shutdown of your Raspberry Pi.
- You can even write a script to define complex ON/OFF sequence.
Same as Witty Pi 2, Witty Pi Mini uses a very accurate RTC chip (DS3231SN), which only has <160 seconds error per year. Also this RTC chip has temperature sensor built-in, so you can read the temperature around your Raspberry Pi via the software.
Witty Pi Mini uses a super capacitor (0.08F, or 80,000uF) for RTC off-power time keeping, and it can remember the time for ~17 hours without any external power supply.
The “dummy load” feature is still available and you can turn it on/off via a small switch on board. It is very useful when you use power bank as power supply, as it will draw peak current with certain interval, and keep your power bank alive.
Witty Pi Mini supports all Raspberry Pi models with 40-pin header, including A+, B+, 2B, Zero (W) and 3B.
Here is the user manual: http://www.uugear.com/doc/WittyPiMini_UserManual.pdf
Each Witty Pi Mini package contains:
- Witty Pi Mini board x 1
- M2.5 x 10mm plastic screw x 4
- 4mm spacer x 4
- M2.5 plastic nut x 4
Dimension: 65mm x 30mm x 4mm
Weight: 9g (net weight)
Power In: DC 5V (via micro USB or via the unpopulated alternative connector)
Output Current: Maximum 2A for Raspberry Pi and its peripherals
~ 5mA in average with dummy load off (default)
~ 7mA in average with dummy load on
Operating Temperature: -30℃~80℃ (-22°F~176°F)
Storage Temperature: -40℃~85℃ (-40°F~185°F)
Humidity: 0~80%RH, no condensing
Witty Pi Mini uses the same software with Witty Pi 2. The software is written with Bash (Unix shell), and there is also a GUI application available (requires QT 5).
The source code is public on Github: https://github.com/uugear/Witty-Pi-2
To install the software, just run these two commands:
pi@raspberrypi ~ $ wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh
pi@raspberrypi ~ $ sudo sh installWittyPi.sh
After the installation is done, turn off your Raspberry Pi, then physically mount Witty Pi Mini on it. Connect 5V DC power supply to the micro USB port on Witty Pi Mini, and tap the button to start.
After login to the system, just run these commands to launch the Witty Pi utility:
pi@raspberrypi ~ $ cd wittyPi
pi@raspberrypi ~/wittyPi $ sudo ./wittyPi.sh
More details about software installation and usage could be found on the user manual.
Lucas Langholf has developed a Python wrapper for Witty Pi, and packed it into a pypi.org package. PyPi: https://pypi.org/project/wittyPy/
The source code is also available in GitHub: https://github.com/elpunkt/wittyPy
Appreciate Lucas’ good work!
Schedule Script Generator
You can now use our web app to create and debug the schedule script for Witty Pi.