PiJuice
All in one, battery based power supply HAT for the RPi, featuring UPS capabilities and battery run time.
Information:
- Our default installation does not include the desktop application, if required, please install a desktop first, then following command to install the GUI afterwards:
The PiJuice program can then be launched (LXDE) from LXDE start > Preferences
Code: Select all
G_AGI pijuice-gui
- SW1 = Power on unit
- SW2 = Power off unit (runs a sample script which can be modified /var/lib/dietpi/dietpi-software/installed/pijuice/pijuice_func1.sh)
- Additional configuration can be made via editing the following file (Full list of available config options):
Restart services to apply any changes.
Code: Select all
nano /var/lib/pijuice/pijuice_config.JSON
Code: Select all
dietpi-services restart
- Update firmware
At the time of writing, this will update firmware on the device to V1.1_2018_01_15, however, please replace the firmware link with the latest version:Code: Select all
wget https://github.com/PiSupply/PiJuice/raw/master/Firmware/PiJuice-V1.1_2018_01_15.elf.binary -O package.binary chmod +x package.binary pijuiceboot 14 package.binary