Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100
Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100
Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100
I was really a bit away from Arduino in my last tests, but I decided to buy and try one of the most famous or used plates, the Arduino UNO with the Shield Ethernet W5100 both were so cheap that it was impossible not to buy them.
Materials and Where to Buy
- 1 PZEM-004T – Banggood
- 1 Arduino UNO – Banggood
- 1 Shield Ethenet W5100 – Banggood
- Jumper Wires Male-Female – Banggood
- Jumper Wires Male-Male – Banggood
- Jumper Wires Female-Female – Banggood
- Recommended: Download Banggppd AppTo get 10% off coupon
Connections

Mounting
Arduino IDE Code
Although this case will not use the Ethernet Shield features such as LAN communication and microSD, it must be borne in mind that the Ethernet Shield works by SPI bus, which uses pins 10 and 11 of the Arduino UNO, for this reason and to avoid conflicts SoftwareSerial library that generates a new port to communicate with the PZEM-004T uses the rx (8) and tx (9) pins.
Note: Download links and/or github below.

Serial Terminal
- Output port UART0 Serial0.

Recommendation: For a more detailed explanation step by step I recommend watching the full video “Review PZEM-004T with Arduino ESP32 ESP8266 Python & Raspberry Pi : PDAControl” available on our PDAControl Youtube channel.



