Giter Site home page Giter Site logo

enode's Introduction

eNode

UPDATE

checkout new PCB to facilitate building the eNode here

Table of Contents

  1. Intro
  2. Hardware
  3. Software
  4. Measure Direction Hack
  5. Build Examples

Intro

eNode is a device based on ESP8266 and PZEM-004 that measures energy and/or temperature and delivers data to a MQTT broker and/or Emoncms. eNode is modular meaning you can start with a simple energy module a go up to a true 3-phase energy monitoring system, along with temperature detecton of up to 10 digital temperature sensors. Data is delivered through WiFi and configuration is done in it's own web page.

Energy meter:

  • Based on cheap Peacefair PZEM-004
  • Very accurate readings
  • Energy direction possible with chip hack on first PZEM-004
  • up to 3 independent PZEM-004 per device
  • Volt, Ampere, RealPower

Temperature meter:

  • Based on cheap 1-wire DS18B20
  • up to 10 DSB20 digital 1-wire temperature sensors
  • Device addresses managed on the setup page

Relay:

  • MQTT controlled relay

ESP8266:

  • Easily configurable from web page
  • Delivers JSON formatted data to local/remote MQTT broker
  • Delivers data to local/remote Emoncms server
  • change refresh rate on demand

Hardware

Diagram

Qty Item Function
1 wemos D1 mini node
1 PSU 230VAC to 5VDC node
1 DC/DC 5V to 3.3VDC node
3 PZEM-004 Energy
3 R=510OHM Energy
10 DS18B20 Temperature
1 R=4.7K OHM Temperature
1 D1 relay shield Relay

PCB

This is the first attempt to play with eagle, it's no perfect but makes the bulding of the eNode a breeze compared to what can be seen on the build examples. I can give away these boards for a simbolic fee, with or without the smd parts.

The PCB facilitates connections to all three PZEMs, relay and temperature sensor network and makes the direction hack easier to achieve, only 2 wires are needed from the PZEM board.

Software

  • Load Arduino's WebUpdater example sketch to the ESP8266
  • Upload the appropriate firmware located on the /bin folder to the ESP8266
  • Access eNode at SSID:APRENODE / PASSWORD:12345678 / http://1.1.1.1
  • Configure local WiFi settings, enode name and reboot
  • Navigate to http://<eNode name>.local or http://<eNode IP address>
  • make sure all temperatures sensors are correctly mapped on the sensor positions
  • make sure to indicate the correct number of energy sensors
  • check direction if you have a hacked PZEM
  • Configure MQTT broker and/or Emoncms account
  • enjoy!

Measure Direction Hack

Build examples

Single energy meter with energy direction

Three phase energy meter

Solar water heating monitor

Single phase three point energy meter + temperature sensors

Single energy meter with energy direction (Xtreme edition)

Warning: this is a compact frugal build with no isolation between the ESP8266 and the mains!

Donate

Donate if you enjoy the firmware and would like to see this project develop.

Donate

enode's People

Contributors

apreb avatar

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.