Skip to content

M-Reimer/emeir-pulse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emeir-pulse

Monitor the counter of an electricity meter with Arduino and light sensor.

This repository is a fork of the emeir project by Martin Kompf. This fork is alternative firmware, which runs on the same hardware but with a "simplified" sensor, to use the "emeir" hardware on modern digital electricity meters which send light pulses with an (infrared) LED.

Electricity meter with light sensor

The software consists of two parts:

  • Data acquisition part running on an Arduino Nano. It controls a light sensor, detects trigger levels, skips pulses if so desired and communicates with a master computer over USB serial.
  • Data recording part running on a the master computer (Raspberry Pi). It retrieves the data from the Arduino over USB serial and stores counter and consumption values into a round robin database.

More information about circuit, setup and calibration can be found in the project Wiki.

Commands from host (RasPi) to Arduino

  • D - retrieve and print raw data
  • T - enter trigger mode and print trigger data (0/1)
  • S low high - Set trigger levels (e.g. 85 90)
  • C - Cancel data acquisition and enter command mode

Arduino is in trigger mode upon start - Send C to enter command mode

Schematics

Schematics

About

Monitor the counter of an electricity meter with Arduino and infrared light sensor. This fork targets modern digital electric meters with flashing LEDs.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Contributors

Languages

  • C++ 34.9%
  • Perl 29.8%
  • Python 19.0%
  • HTML 16.3%