Connect Multiple PZEM 004T With Nodemcu Module

by vishal Kargathara in Circuits > Sensors

13816 Views, 5 Favorites, 0 Comments

Connect Multiple PZEM 004T With Nodemcu Module

PZEM.jpeg
Introduction-to-NodeMCU-V3-2.png

The requirement of multiple PZEM 004T modules in some projects like Power theft detection system or energy monitoring system is necessary so here I provided Nodemcu code and connection of 3 PZEM 004T modules with Nodemcu.

if you have any query then kindly comment below or write at vk.vishalkargathara@gmail.com or GITHUB account https://github.com/Vishalkargathara.

Thank you

-Vishal Kargathara

Understand GPIO Pins of NODEMCU Module

NodeMCU GPIOs.png

With the help of GPIO pins of Nodemcu, you can easily interface the multiple PZEM 004T modules and can get the data at the same time.

Connection Diagram of Multiple PZEM 004T With Nodemcu

Schematic_Iot based smart enery meter_Sheet_2_20200213193945.png

here I took 3 PZEM 004T modules for understanding purpose. you can add more than 3 modules also but only works in GPIO pins.

simply in Nodemcu, there are 16 GPIO pins (excluding GPIO 0; because Rx and Tx pins have to connect in the same Nodemcu )

Note: you can give 5v and GND to PZEM 004T from Arduino as well or any other source as well.

Nodemcu Code for Multiple PZEM 004T, Written in Arduino IDE

scada.jpg

Here I provided my Nodemcu code written in Arduino IDE software and kindly change your parameters of wifi SSID and Password for making your data live on a web server.

do changes in code according to your number of PZEM 004T modules and other requirements.

if you have any queries regarding code then comment below or mail me at given Email address at the top of the article.