Arduino interface library for Peacefair PZEM-004T-100A v3.0 ( and maybe PZEM-004T-10A ) AC Communication Box
The Power supply from microcontroler power only the communication interface optocouplers. Make sure the device is connected to the AC power - board has a own power supply. AC High Voltage is VERY DANGEROUS. It can cause more serious issues such as Electrical injury of death. Don't be stupid..
Download the ZIP of this repository and install it manually. The guide how to do that can be found here
If you want to dig in into this device please read my remarks in docs folder. There are (TODO) hardware modding tips and complete communication frames explanations for nerds :-)