logo elektroda
logo elektroda
X
logo elektroda

ESP32CH340 + PZEM-004T v3.0 + ST7789 - how to write voltage and kWh meter code?

G.R. 99 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21690671
    G.R.
    Level 17  
    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.
  • ADVERTISEMENT
ADVERTISEMENT