Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 914 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 914 Bytes

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