I have 5 PZEM004T modules. I want to measure Energy, Power, Voltage and Current from PZEM004T module. I have done some research on net. PZEM004T has library for Arduino IDE. Please anyone, would like to share this module library or guide me how to convert arduino library into python code.
Thanks
Need Library for PZEM004T module.....?
Re: Need Library for PZEM004T module.....?
The Arduino library is pretty well documented:
https://github.com/olehs/PZEM004T
It's communicates over serial, so I'd start by getting a USB-serial module and fire commands at it an manually interpret the responses.
Theres a python3 version here:
https://www.raspberrypi.org/forums/view ... 8&p=838694
Seems pretty easily portable to micropython
https://github.com/olehs/PZEM004T
It's communicates over serial, so I'd start by getting a USB-serial module and fire commands at it an manually interpret the responses.
Theres a python3 version here:
https://www.raspberrypi.org/forums/view ... 8&p=838694
Seems pretty easily portable to micropython
Re: Need Library for PZEM004T module.....?
Hi mcauser,
Thanks for your fast reply. I will try it.
Thanks for your fast reply. I will try it.