Wiznet makers

teddy

Published January 31, 2023 ©

97 UCC

8 WCC

73 VAR

0 Contests

0 Followers

0 Following

Original Link

Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100

Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100

COMPONENTS
PROJECT DESCRIPTION

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

 

 

 Electric Consumption Meter PZEM-004T  Serial TTL

 


 

 

Module Arduino MEGA 2560 Rev3 ATmega2560

 

 



 

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.


 

Documents
Comments Write