Skip to content

File fo monitoring voltage and battery capacity of UPS Lite v1.2 power supply for Raspberry Pi Zero

Notifications You must be signed in to change notification settings

PU5KOD/UPS_HAT_v1.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

UPS_HAT_v1.2

File fo monitoring voltage and battery capacity of UPS Lite v1.2 power supply for Raspberry Pi Zero.

Para execucao do projeto sao necessarios os seguintes aplicatiovos instalados no dispopsitivo:

apt install i2c-tools libi2c-dev python3-smbus wiringpi git-core

Para executar o script basta chama-lo com python3 ups-hat-monitor.py e a cada 5 segundos ele trara a voltagem e o percentual de bateria, bem como seus status se esta carregando ou descarregando. Acima de 100% sera exibido "Battery FULL", entre 5 e 15% e exibido o alerta "Battery LOW" e abaixo de 5% "DANGER!!! BATTERY RUNNING OUT".

About

File fo monitoring voltage and battery capacity of UPS Lite v1.2 power supply for Raspberry Pi Zero

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages