Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.43 KB

README.md

File metadata and controls

63 lines (47 loc) · 1.43 KB

piMeter - a SmartMeter HAT for Raspberry Pi

Frontend

alt text

Board

alt text

Schematics

piMeter Schematics

Setup Raspberry Pi

Enable SPI in raspi-config

Install Dependencies

// Install libsqlite
apt-get install libsqlite3-dev
// Install lighttpd
apt-get install lighttpd
// Install php with Modules
apt-get install php7.0-fpm php7.0 php7.0-sqlite
// Install bcm2835 Library
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar zxvf bcm2835-1.52.tar.gz
./configure
make
sudo make check
sudo make install
// Install Qt
sudo apt-get install qt5-default

Install Visu

Just Copy the Visu Folder into your lighttpd www root

Build piMeter

qmake
make

Run piMeter

// bcm2835 Lib needs root
sudo ./piMeter &

Ressources

ADE9000 Datasheet

bcm2835 Library

libsqlite3 Library

lighttpd Webserver

amCharts Chart Library

Qt5

www.digitaldex.de