HLW-ESP

From ElectroDragon Wiki
Revision as of 14:42, 8 June 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hardware

  • Using chip HLW8032
  • HLW8032 TX to ESP8266 RXD0
  • HLW8032 PF to ESP8266 IO5


ESP8266 Firmware TelnetToSerial

  • Please see more information here ESP8266_TelnetToSerial
  • Hardware serial to read HLW8032 data, debug output to IO2

Upper Read Methods

ESP-HLW.png

Telnet Read in Comand line and dump file

  • Not well tested
  • Using Method Telnet to read hexidecimal data
  • Can also use Netcat or

Putty Read, log and dump file

  • Please see the right image

Python Read

  • Python data read demo code in HLW8032 Github
  • Lost 0x00 bytes by code