GithubHelp home page GithubHelp logo

hlw8032's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @Khaalidi
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

hlw8032's People

Contributors

khaalidi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hlw8032's Issues

Voltage Fluctuation

Thank you for write these library.

I am facing issue regarding AC Voltage fluctuation.

Ex. if i measure voltage using actual Energy meter or Voltage Multi-meter it not fluctuating but while i measure voltage using HLW8032 it getting fluctuation like within 5 sec it goes 220V to 225V and suddenly 219V. Means fluctuation rang is +/- 5V.

so what kind of precaution should i take to get steady voltage.

Please Help regarding these.

getting garbage values on serial monitor

I tried interfacing HLW8O32 with ESP32 but I was not getting the output in expected format. It was clearly GARBAGE values. And what we could conclude that the SearlReadLoop() function was not executing. Can anyone please help me with this.

Fix CRC Calculation

Fix CRC calculaion (in for cycle type 23)
for(uint8_t a = 2; a < 23; a++) { check += ((const uint8_t*) data)[a]; }

current value note coming

hello.
tanks for your library. actually I use Arduino mega in this project. The voltage is received quite correctly but current not.
I design this project like below picture:
Schematic

I hope you can help me ;(

Not getting any values really

I have tried using this library and get no values. I am using an arduino nano, but have also used an esp12 with much the same luck. Is it possible to comment your examples or .cpp files? If I use the hlw8012 library I can pull the kW values from the output (PF pin), which seems about right, so the board itself works. Is it possible to rewrite the library with the use of softwareserial instead of using the hardware defined pins? Using the optocoupled board that others have posted pictures of.

Only one of the listed examples even compile, which also isn't great, all errors related to incorrect use of hardware serial commands not existing.

Facing problem with library

I have installed library in Arduino. Using the example in this library I'm getting this error

      In file included from c:\Users\swapnilb\Documents\Arduino\libraries\HLW8032-master/HLW8032.h:11:0,
             from C:\Users\swapnilb\AppData\Local\Temp\.arduinoIDE-unsaved202349-13516-z1tcoc.xf1h\ESP8266_ESP8285_Example\ESP8266_ESP8285_Example.ino:5:

c:\Users\swapnilb\Documents\Arduino\libraries\EspSoftwareSerial\src/SoftwareSerial.h:370:39: error: use of deleted function 'std::atomic::atomic(const std::atomic&)'
std::atomic m_isrOverflow = false;
^
In file included from c:\Users\swapnilb\Documents\Arduino\libraries\EspSoftwareSerial\src/circular_queue/circular_queue.h:28:0,
from c:\Users\swapnilb\Documents\Arduino\libraries\EspSoftwareSerial\src/SoftwareSerial.h:25,
from c:\Users\swapnilb\Documents\Arduino\libraries\HLW8032-master/HLW8032.h:11,
from C:\Users\swapnilb\AppData\Local\Temp.arduinoIDE-unsaved202349-13516-z1tcoc.xf1h\ESP8266_ESP8285_Example\ESP8266_ESP8285_Example.ino:5:
c:\users\swapnilb\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\atomic:66:5: note: declared here
atomic(const atomic&) = delete;
^
c:\users\swapnilb\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool)
constexpr atomic(bool __i) noexcept : _M_base(__i) { }
^
C:\Users\swapnilb\AppData\Local\Temp.arduinoIDE-unsaved202349-13516-z1tcoc.xf1h\ESP8266_ESP8285_Example\ESP8266_ESP8285_Example.ino: In function 'void setup()':
C:\Users\swapnilb\AppData\Local\Temp.arduinoIDE-unsaved202349-13516-z1tcoc.xf1h\ESP8266_ESP8285_Example\ESP8266_ESP8285_Example.ino:13:12: error: 'class HardwareSerial' has no member named 'swap'
Serial.swap();
^

PF Pin Uses

Hello,

I want to know the exact use of HLW8032 PF pin. I know its Output 50% duty cycle rectangular pulses, but what to do with these pulses, Is there is special case where I can use it.

It would be great , If you explain the uses of PF Pin.

Thank You

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.