Skip to content

Measuring power consumption for a raspberry pi. Equipment is feed by a 12V MC-battery. ADS1115 IC measuring voltage of battery and AMPS through a low resistive shunt. Python script feed information to MYSQL visualisation through Grafana Dashboard.

Notifications You must be signed in to change notification settings

nrjphwe/Power_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power_check

By connecting a ADS1115 board, we can measure voltage. This project measure the battery voltage and the very low voltage over a shunt to get amps through the shunt.

When running raspi-config also enable the interface I2C (and SSH, VNC and maybe camera)

Installation

Connect to your Raspberry Pi via SSH. Clone this repo: git clone https://github.com/nrjphwe/Power_check

cd Power_check and run the setup script: ./script/install_power_check.sh

Need to update the config.ini file to your mysql password.

The i2c connection uses pin 3 for SDA, and pin 5 for SCL The shut down uses GPIO4, which is Pin 7.

Pin 2 5V power Pin 3 i2c SDA Pin 5 i2c SCL Pin 6 Ground

About

Measuring power consumption for a raspberry pi. Equipment is feed by a 12V MC-battery. ADS1115 IC measuring voltage of battery and AMPS through a low resistive shunt. Python script feed information to MYSQL visualisation through Grafana Dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published