I have an ESP32CH340 PZEM-004T v.3.0 10A display ST7789 and I am building a meter to measure power voltage and kWh.
I have the connections made and so
PZEM ESP
TX D16
RX D17
GND GND
5 V 5 V
.......................
ST7789 ESP
VCC 3.3 V
GND
SCL/SCK D18
SDA/MOSI D23
RES D4
DC D2
CS D5
......................
Reset kWh
D13 ESP/GND
PZEM TX to resistor 1k8 from resistor on ESP RX (D16)and to resistor 3k3 on GND.
If anyone is willing to help me write the code on the Arduino IDE I would be very grateful.
I have the connections made and so
PZEM ESP
TX D16
RX D17
GND GND
5 V 5 V
.......................
ST7789 ESP
VCC 3.3 V
GND
SCL/SCK D18
SDA/MOSI D23
RES D4
DC D2
CS D5
......................
Reset kWh
D13 ESP/GND
PZEM TX to resistor 1k8 from resistor on ESP RX (D16)and to resistor 3k3 on GND.
If anyone is willing to help me write the code on the Arduino IDE I would be very grateful.