emonPi Technical Overview — OpenEnergyMonitor 0.0.1 documentation (2024)

The emonPi is an all-in-one Raspberry Pi based energy monitoring unit making for a simple installation where Ethernet or WiFi is available at the meter location.

The emonPi can monitor two single-phase AC circuits using clip-on CT sensors. The emonPi can also monitor temperature, and interface directly with a utility meter via an optical pulse sensor.

emonPi Technical Overview — OpenEnergyMonitor 0.0.1 documentation (1)

Features:

emonPi Internals

The emonPi is based on a RaspberryPi + emonPi measurement board. The emonPi measurement board is based on an ATmega328p 8-bit microcontroller running Arduino based firmware. The following video gives a good overview of what is inside an emonPi. Note that we currently ship RaspberryPi version 3b+ which has WiFi onboard rather than the older version featured in this video.

System Overview

The following system diagram shows the main hardware and software components that make up the emonPi. On the left we have the emonPi measurement board based on the ATmega328 microcontroller with inputs from the different sensors, RFM69 433 MHz transceiver, button and I2C connection to the LCD.

The Atmega328 microprocessor communicates with the Raspberry Pi via the internal UART serial port (/dev/ttyAMA0).

emonPi Technical Overview — OpenEnergyMonitor 0.0.1 documentation (2)

RF

The emonPi uses the HopeRF RFM69CW RF module to receive data from other wireless nodes (emonTx, emonTH etc) using 433 MHz. We use the JeeLib packet format. Each RF node has a unique node ID but common network group (default 210). The ATmega328 runs a modified version of JeeLabs RFM12Demo Sketch to receive the data from radio nodes. Received radio packets are forwarded over serial and decoded on the RaspberryPi using EmonHub.

Energy Monitoring

The emonPi measurement board includes input circuitry that converts the outputs from the ACAC adapter and CT sensors into signals that are compatible with the Analog to Digital converter (ADC). The ATmega328’s 10-bit ADC samples the voltage and current channels sequentially. The Firmware running on the ATmega328 calculates real power, apparent power, power factor, Vrms and Irms of each channel. The real power reading is then pushed every 5s to the RaspberryPi for logging and visualisation.

To learn more about how the electricity monitoring works, see our Learn site here:

  • Learn: AC Power Theory

  • Learn: CT Sensors, interfacing with an Arduino

  • Learn: Measuring AC Voltage with an AC to AC power adapter

The full emonPi measurement board firmware can be accessed and downloaded here:

The CT input’s are designed for use with the 100A SCT-013-000 CT sensor. This sensor has 2000 turns, which means that the current in the secondary is 2000 less than the current in the mains wire primary. The emonPi has a fixed sized burden resistor specified to match this sensor at 22 Ohms. It is possible to change this burden resistor if you wish to use a CT with a different current range or number of turns.

Pulse Counting

Pulse counting on the emonPi uses the hardware interrupt IRQ1 on the ATmega328. The first hardware interrupt IRQ0 is used by the RFM69CW. Only one pulse counter input is possible per emonTx/emonPi. See guide + Add Optical Pulse Sensor for more information on the optical pulse sensor.

The emonPi firmware implements a check for a minimum pulse width, this can be shortened on systems with more frequent pulses, see line: https://github.com/openenergymonitor/emonpi/blob/master/firmware/emonPi_DS_jeelib_classic/main.ino#L96.

RaspberryPi and emonSD

The emonPi Raspberry Pi runs our emonSD software stack which is based on Raspbian Buster Lite. The pre-built emonSD image is available to purchase or download or it is possible to built the image yourself using our automated build script, see EmonScripts.

EmonSD includes emonHub which reads in the serial data from the emonPi measurement board and acts as a broker forwarding this data on to the local installation of emoncms via MQTT or to a remote server such as emoncms.org via HTTP.

Emoncms is our open source web application for processing, logging and visualising energy, temperature and other environmental data. It is installed as part of the emonSD software stack and provides full local data logging and visualisation capabilities.

Open Source

emonPi Firmware (see Firmware Modification
emonPi Discrete Sampling Firmware

emonPi Schematic and Board files:
https://github.com/openenergymonitor/emonpi/tree/master/hardware/emonpi/emonpi_V1_6

emonPi Specification

Attribute

Parameter

Link

Error due to component and sensor tolerances

<11%

Further info

Measuring Current (CT)

50mA-96A

Further info

Measuring Voltage (AC-AC)

1st: 110VAC-254VAC / 2nd: 9VAC-12VAC

Further info

Sample period

5s

Discrete sampling

Frequency

433Mhz

Identify RF module

RF range

40m-100m

Antenna testing

Power Consumption

1.5W-2.5W RasPi2 / 2W-4W RasPi3

Operating temperature

-25 to +80 DegC

Further info

Physical Dimensions

10cm x 8.5cm x 10cm

emonPi Technical Overview — OpenEnergyMonitor 0.0.1 documentation (2024)
Top Articles
Refinance Appraisal: How It Works and What To Expect | Bankrate
Who Makes Store Brands?
It’s Time to Answer Your Questions About Super Bowl LVII (Published 2023)
Nco Leadership Center Of Excellence
What to Serve with Lasagna (80+ side dishes and wine pairings)
Ucf Event Calendar
How Quickly Do I Lose My Bike Fitness?
Lenscrafters Huebner Oaks
Premier Reward Token Rs3
Who called you from 6466062860 (+16466062860) ?
Otterbrook Goldens
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
Viprow Golf
Finger Lakes Ny Craigslist
Rachel Griffin Bikini
Swedestats
Spergo Net Worth 2022
Me Cojo A Mama Borracha
Sound Of Freedom Showtimes Near Cinelux Almaden Cafe & Lounge
Jalapeno Grill Ponca City Menu
Missed Connections Inland Empire
Pjs Obits
Apple Original Films and Skydance Animation’s highly anticipated “Luck” to premiere globally on Apple TV+ on Friday, August 5
Www.craigslist.com Savannah Ga
Little Rock Skipthegames
25 Best Things to Do in Palermo, Sicily (Italy)
Understanding Gestalt Principles: Definition and Examples
Stihl Dealer Albuquerque
Barista Breast Expansion
Doctors of Optometry - Westchester Mall | Trusted Eye Doctors in White Plains, NY
Striffler-Hamby Mortuary - Phenix City Obituaries
WOODSTOCK CELEBRATES 50 YEARS WITH COMPREHENSIVE 38-CD DELUXE BOXED SET | Rhino
Chadrad Swap Shop
Ixlggusd
Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
Duff Tuff
Levothyroxine Ati Template
Cal Poly 2027 College Confidential
Paperless Employee/Kiewit Pay Statements
Tsbarbiespanishxxl
All-New Webkinz FAQ | WKN: Webkinz Newz
5A Division 1 Playoff Bracket
Charli D'amelio Bj
Perc H965I With Rear Load Bracket
1Tamilmv.kids
Makes A Successful Catch Maybe Crossword Clue
Puss In Boots: The Last Wish Showtimes Near Valdosta Cinemas
Lagrone Funeral Chapel & Crematory Obituaries
Códigos SWIFT/BIC para bancos de USA
Latest Posts
Article information

Author: Duncan Muller

Last Updated:

Views: 5730

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duncan Muller

Birthday: 1997-01-13

Address: Apt. 505 914 Phillip Crossroad, O'Konborough, NV 62411

Phone: +8555305800947

Job: Construction Agent

Hobby: Shopping, Table tennis, Snowboarding, Rafting, Motor sports, Homebrewing, Taxidermy

Introduction: My name is Duncan Muller, I am a enchanting, good, gentle, modern, tasty, nice, elegant person who loves writing and wants to share my knowledge and understanding with you.