Giter VIP home page Giter VIP logo

stpm3x's Introduction

STPM3x library

Manufacturers web-site: https://www.st.com/en/data-converters/stpm32.html

Warning THIS LIBRARY IS IN DEVELOPMENT AND CURRENTLY UNTESTED. DO NOT USE IN PRODUCTION.

Introduction

The STMicroelectronics STPM3x series of chips are for monitoring mains electricity. You can also purchase a development board, which this library has been developed against.

For more information about the chip and this library please download the datasheet directly from the STMicro web-site. There is also (slightly harder to find) a datasheet that gives a little more detail on the math required. This is called "U2066 Getting started with the STPM3x", and can be found by Googling that title.

This library

This library has been written specifically to work with the ESP32 processor and specifically uses the floating point hardware support.
This library will probably work on simpler processors with software floating point support, but it is not recommended because it will cause your code to increase in size (for the floating point library) and run significantly slower.

For the purposes of testing and debugging, it is obviously much easier to run this library directly on a PC, and so a Visual Studio project is included to build and run the library.

Current Status

The library will connect and talk to the STPM3x chipset, however, it is untested. Not all the features of the STPM3x are implemented, as only the features I require for my project are currently implemented.

Use

To use this library in you own project, you will need to copy the source files in to your own project.

stpm3x's People

Contributors

matt123p avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stpm3x's Issues

How to build

How can I use your library for arduino ide? and could you please make a video tutorial on how you wrote this library?

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.