Meter PZEM-004 + ESP8266 & Platform IoT Blynk App
by Jhon_Control in Circuits > Arduino
249 Views, 0 Favorites, 0 Comments
Meter PZEM-004 + ESP8266 & Platform IoT Blynk App

In this opportunity we will integrate our active power meter or electric consumption, Peacefair Pzem-004 with the IoT Blynk app platform available in Android & iOS apps stores using an ESP8266 module, later we will create a dashboard to visualize the 4 available variables as active power, accumulated electrical consumption, voltage and current.
Complete Tutorial PDAControl
- Meter PZEM-004 + ESP8266 & Platform IoT Blynk App
http://pdacontrolen.com/meter-pzem-004-esp8266-pla...
- Medidor PZEM-004 + ESP8266 & Plataforma IoT Blynk App
Materials and Where to Buy Them Very Cheap !!

Materials and where to buy them very cheap !!
- Meter PZEM 004 with display
- Meter PZEM 004T & Three phase meters
- Immersion heater / Resistance Water heater
- ESP8266 NodeMCU
Other Recommended Equipment
Simple Test Meter PZEM-004 & ESP8266 Platform IoT Blynk App (Complete)
: PDAControl)
Power Meter PZEM 004 Peacefair + Arduino & ESP8266

Arduino IDE Code

The routine created in Arduino IDE, esp8266 performs the reading of the meter pzem-004 through the serial port.
5 variables have been defined:
- Instantaneous voltageInstant current.
- Instant power.
- Accumulated power.
- Scan ms, to verify the communication with the esp8266.
For the sending to the Blynk platform, 8 virtual writing variables have been created, and the data is sent every 10 seconds.
Dashboard and Widgets Blynk



Conclusions and More Test


Conclusions
The application worked excellent without any problem, as long as the correct reading of the meter is guaranteed, the visualization in Blynk will not be affected In general there was no major complication, this is only a basic test, in future integrations with Blynk derived from this project we could perform:
- Measurements of temperature
- Heating resistance control via Relay or PWM AC.
- Integrations with Wifimanager to facilitate configuration.
- OTA integrations for remote programming of esp8266.
Note: If you plan to make a complete or permanent connection application with Blynk you should consider the general questions and terms attached.
Complete Tutorial PDAControl
- Meter PZEM-004 + ESP8266 & Platform IoT Blynk App
http://pdacontrolen.com/meter-pzem-004-esp8266-pla...
- Medidor PZEM-004 + ESP8266 & Plataforma IoT Blynk App