Giter Club home page Giter Club logo

ca-modbus-energy-meter's Introduction

Communicating with an Energy Meter in Modbus

About the Application

This is a quick demo we've put together to allow network access to the CAPTECH PM390 Multifunction Power Meter (Product page)

One of our potential Customers wanted to us to create a small Tibbo BASIC app that would query the meter and show the data on a simple HTML page. Two hours later (spent mostly on connecting and arranging things) we had a working application prototype.

How It Works

  1. When you load the program into the EM1000TEV for the first time, you need to press the MD button to initialize the EM1000TEV. The system will reboot.
  2. Once the system has been initialized, it will boot up and pull the state of the power meter by sending the request on system timer.
  3. Now access the webpage using the address you see on the LCD. The default password is admin. The web page will now show you data from the meter, and when you refresh it, it will show new data (polled periodically).

Additional Features

We've thrown in a few additional features for ease of use, mainly by quickly adding Tibbo BASIC libraries:

  • DHCP support for fast demoing
  • Using the EM1000TEV, we can show the IP address of the TEV so that when demoing, it is easy to know what is the proper URL to put into the web browser.
  • Password protected web page
  • Utilizes multiple code libraries (html_commons, html_sessions, html_settings, dhcp, lcd_commons), and settings.



ca-modbus-energy-meter's People

Contributors

tibboandrew avatar hsiang307 avatar

Watchers

James Cloos 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.