Giter VIP home page Giter VIP logo

esptic2udp's Introduction

esptic2udp

Implementation of tic2json for ESP8266/ESP32. Gets TIC data on RX pin, sends formatted JSON over UDP.

License

GPLv2-only - http://www.gnu.org/licenses/gpl-2.0.html

Copyright: (C) 2021-2022 Thibaut VARÈNE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See LICENSE.md for details

Usage

Configure the project

idf.py menuconfig

  • Under Component config -> esptic2udp, set the following:
    • UART for receiving TIC frames and TIC baudrate
    • GPIO number for LED heartbeat and LED active state
    • Target UDP host and port
  • Under Component config -> simple_network, configure as needed
  • Under Component config -> tic2json, set TIC version and adjust options as needed
  • Under Component config - > Common ESP-related, it is advised to move the console IO to a different UART than the one used by this app

Build and Flash

Build the project and flash it to the board:

idf.py flash

See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.

Tested working on ESP8266 and ESP32.

Connect

Use e.g. TIC2UART to connect the TIC output of the meter to the RX pin of your ESP board.

esptic2udp's People

Contributors

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