mstroh76 / pipomon

PI POwer MONitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PI POwer MONitor

Optical Blink LED Sensor

LED blink dedection from smart meter with optical sensor (LPT80A) for LED
Value output with 4-digit TM1637 display

Orange LED: ~590-605 nm
Osram LPT80A: 450-1100 nm (880 nm max sens.)

circuit diagram

circuit diagram

compile

git clone https://github.com/mstroh76/pipomon.git
cd pipomon
wget https://raw.githubusercontent.com/GrazerComputerClub/TM1637Display/master/TM1637Display.cpp
wget https://raw.githubusercontent.com/GrazerComputerClub/TM1637Display/master/TM1637Display.h
g++ -Wall -o pipomon pipomon.c TM1637Display.cpp -lwiringPi
cp ./pipomon /usr/local/bin
pipomon

install service

sudo cp pipomon.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable pipomon

About

PI POwer MONitor

License:MIT License


Languages

Language:C 69.6%Language:Python 30.4%