Basic Modbus RTU Master RS485 Test with ESP32 + XY-K485 + PZEM-016 (without libraries)

In this opportunity we will carry out tests and explanation of the Modbus RTU protocol implemented in ESP32 requesting data from the Single-phase consumption meter PZEM-016. The intent of this tutorial is: 1. Explain in a simple way the creation and operation of an industrial protocol, in this case the Modbus RTU protocol used and…