---
title: "Prueba PZEM-004t con Arduino UNO + Shield Ethernet W5100"
url: "https://maker.wiznet.io/teddy/projects/prueba-pzem-004t-con-arduino-uno-shield-ethernet-w5100/"
markdown_url: "https://maker.wiznet.io/teddy/projects/prueba-pzem-004t-con-arduino-uno-shield-ethernet-w5100/md"
type: "UCC: User Created Content"
author: "PDAControl"
author_url: "http://pdacontrolen.com/meter-pzem-004t-with-arduino-esp32-esp8266-python-raspberry-pi/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "PDAControl"
original_url: "http://pdacontrolen.com/meter-pzem-004t-with-arduino-esp32-esp8266-python-raspberry-pi/"
published: "2023-01-31"
language: "en"
likes: 3
views: 325
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

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

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

Original author: PDAControl (source: http://pdacontrolen.com/meter-pzem-004t-with-arduino-esp32-esp8266-python-raspberry-pi/)

## Article

## **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**](http://s.click.aliexpress.com/e/b7nMzX9I) both were so cheap that it was impossible not to buy them.

### **Materials and Where to Buy**

[![Electric Consumption Meter PZEM-004T Serial TTL](https://maker.wiznet.io/upload/mirror/body/7af1ec92760149e7aa97.png)](http://s.click.aliexpress.com/e/uBunmAm)

### [**Buy it here: **Electric Consumption Meter PZEM-004T Serial TTL](http://s.click.aliexpress.com/e/uBunmAm)

[![Module Arduino MEGA 2560 Rev3 ATmega2560](https://maker.wiznet.io/upload/mirror/body/4df792bc1ba00fcc68d0.jpg)](http://s.click.aliexpress.com/e/Y7I2NVr)

### [**Buy it here: **Module Arduino MEGA 2560 Rev3 ATmega2560](http://s.click.aliexpress.com/e/Y7I2NVr)

- [**1 PZEM-004T – Banggood**](http://s.click.aliexpress.com/e/uBunmAm)

- [**1 Arduino UNO – Banggood**](http://s.click.aliexpress.com/e/b7nMzX9I)

- [**1 Shield Ethenet W5100 – Banggood**](http://s.click.aliexpress.com/e/b7nMzX9I)

- [**Jumper Wires Male-Female – Banggood**](http://bit.ly/2KK4F9s)

- [**Jumper Wires Male-Male – Banggood**](http://bit.ly/2N7MZSb)

- [**Jumper Wires Female-Female – Banggood**](http://bit.ly/2L7HxOn)

- [Recommended: Download Banggppd AppTo get 10% off coupon](https://banggood.app.link/9LBzZemhLN)

### **Connections**

![](http://pdacontrolen.com/wp-content/uploads/2018/07/ARD-ETH-SCH-PZEM-004T-PDACONTROL.png)

### **Mounting**

### **![](https://maker.wiznet.io/upload/mirror/body/ba186bdee79baa7f0bda.jpg)**

### **Arduino IDE Code**

Although this case will not use the [**Ethernet Shield**](http://s.click.aliexpress.com/e/b7nMzX9I) features such as **LAN communication** and **microSD**, it must be borne in mind that the [Ethernet Shield](http://s.click.aliexpress.com/e/b7nMzX9I) 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**](http://pdacontrolen.com/review-and-cooperation/) uses the** rx (8) and tx (9) pins.**Note:** Download links and/or github below.**

![](http://pdacontrolen.com/wp-content/uploads/2018/07/ARD-ETH-Code-PDAControl.png)

### **Serial Terminal**

- Output port UART0 Serial0.

![](https://maker.wiznet.io/upload/mirror/body/73b7befefc344f9cf758.png)

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” ](https://youtu.be/qt32YT_1oH8)**available on our**[PDAControl Youtube** channel.**](https://www.youtube.com/c/PDAControl?sub_confirmation=1)

---

Source: https://maker.wiznet.io/teddy/projects/prueba-pzem-004t-con-arduino-uno-shield-ethernet-w5100/
