Giter Site home page Giter Site logo

emontx-3phase's Introduction

emonTx V3 3-phase Firmware

Build Status

This sketch is a development of the 3-phase ‘discrete sample’ sketch and MartinR’s PLL energy diverter.

It is intended for use on a 3-phase, 4-wire system. It utilises advanced features of the Atmel328P microprocessor to provide continuous monitoring of voltage of one phase and the currents in all three phases, thereby allowing a good estimate of real power to be calculated. The physical quantities are measured continuously, the average values are calculated and transmitted at user-defined intervals.

Pulse counting and temperature monitoring using a single DS18B20 sensor is supported.

By Robert Wall

Key Feautures

  • Continuous monitoring of one voltage channel and up 4 current channels.
  • Gives an accurate measure of rapidly varying loads.
  • 1800 sample sets per second – using 4 channels of an emonTx V3.4 @ 50 Hz
  • Calculates rms voltage, rms current, real & apparent power & power factor.
  • Pulse input for supply meter monitoring.
  • Integrated temperature measurement (one DS18B20 sensor).
  • User-defined reporting interval.
  • Suitable for operation on a three-phase, 4-wire supply at 50 or 60 Hz.
  • Can be calibrated for any voltage and current (default calibration is for emonTx with 100 A CTs & UK a.c. adapter).

Limitations

Because the voltage of only one phase can be measured, the sketch must assume that the voltages of the other two phases are the same. This will, in most cases, not be true, therefore the powers calculated and recorded will be inaccurate. However, this error should normally be limited to a few percent. Voltage imbalance might be the result of unbalanced loads within your installation, or it might result from the actions of other consumers on the same supply.

If you find that one or other phase voltage is consistently wrong, you might want to consider a small adjustment to the current calibration of the affected phase. Because of the additional power required for continuous operation, a 5 V USB power supply is likely to be required, even if only the on-board RFM69CW radio is used. The 5 V power will always be required when the ESP8266 WiFi module is added.

The sketch is not compatible with the RFM12B radio module, nor the Arduino Due.


Resources

Including calibration instructions

Required Hardware

  • emonTx V3.4
  • 3 x Clip on CT sensors
  • 1 x AC-AC adapter
  • USB to UART programmer (to upload firmware)

Upload pre compiled

  • Firmware can be uploaded directly using emonUpload tool to grab latest compiled release and upload via serial.

or

Depending on your ISP

avrdude -uV -c arduino -p ATMEGA328P -P /dev/ttyUSB0 -b 115200 -U flash:w:firmware.hex

Compile & Upload

  • Firmware can be compiled and uploaded with PlatformIO, see User Guide

Or

  • Arduino IDE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.