GithubHelp home page GithubHelp logo

xsolar-dev / dtsu666_chint_to_huawei_translator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salakrzy/dtsu666_chint_to_huawei_translator

0.0 0.0 0.0 2.64 MB

This project uses ESP32 to translate MODBUS messages of CHINT's DTSU666 Energy Meter into HUAWEI DTSU666H format

C++ 99.28% C 0.34% CMake 0.38%

dtsu666_chint_to_huawei_translator's Introduction

DTSU666_CHINT_to_HUAWEI_translator

This project uses ESP32 to translate MODBUS messages of CHINT's DTSU666 Energy Meter into HUAWEI DTSU666H format. This project translates the DTSU666 CHINT Power Meter registers addreses to Huawei DTSU666H Power Meter addreses.

All data received from CHINT counter could be send to MQTT Broker.

Project base on the eMODBUS librrary https://github.com/eModbus/eModbus

Information on how to prepare enviroment , compile and flash ESP32 modules can be found at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#

Project uses the Arduino.h librrary. How to instal this librrary in espressif enviroment, you can read at https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html

Description how to assembling the hardware you will found in the /doc project directory .

After instalation Espressif ESP-IDF enviroment for ESP32 , you can execute commands to compiling and flash this project. Go to the directory where you copied project files and execute this commands

idf.py set-target esp32

idf.py menuconfig // not nessesery if you want to use configuration prepared by me.

idf.py -p com8 build flash monitor // change number COM port depending your configuration.

After this commands build directory will be created and the ESP32 module flashed .

In used RS485 interface the R5 and R6 resistors are 20k ohm it is to much for MOdbus standard, if you have transmission errors, change this resistors to 2k ohm. If you change the R5 and R6 resistors, you don't need remove the R7 120 ohm resistor.

Good Luck:-)

dtsu666_chint_to_huawei_translator's People

Contributors

salakrzy 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.