Khaalidi / HLW8032

A lightweight library for the HLW8032 SOP8 high precision energy metering IC
MIT License
50 stars 15 forks source link

getting garbage values on serial monitor #10

Open samikshasarnaik opened 1 year ago

samikshasarnaik commented 1 year ago

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.

kaviyue commented 1 year ago

When I was debugging, I found that if(SerialTemps[1] != 0x5A) jumped out when the program was executed to this step. After reading the documentation, it seems that the register is not detected.