HLW8012 energy monitor chip / module request #1773
Replies: 2 comments
-
Posted at 2017-11-26 by @allObjects Quite interesting device, this HLW8012... If you know how HLW8012 is connected to ESP8266, you should be able to whip something up in JS. As long as the frequencies emitted on pins CF (7) and CF1 (6) are not too high, you can use
Write to console may not be what you are looking for. To increase accuracy and keep the time kind 0f constant for a measurement, you can make a first measurement with a given count to get an idea of the frequency and an adjusted count for the second measurement. You may repeat the second measurement and take the average to increase accuracy... (assuming current stays stable during the measurement time). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-09-22 by JohnO Does the HLW8012 chip perhaps have the ability to measure the AC frequency? Or perhaps has someone looked at adding a little something to the Sonoff Pow2 that could do the job? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-26 by Vasily
Hi.
I own SONOFF POW device where I successfully installed Espruino.
I see there is still no module for HLW8012. Does anyone have a sketch script to handle it.
I see on Arduino side there is already a library, we can take it over I guess.
See here: http://tinkerman.cat/hlw8012-ic-new-sonoff-pow/
Beta Was this translation helpful? Give feedback.
All reactions