logo elektroda
logo elektroda
X
logo elektroda

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

G.R. 414 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21690671
    G.R.
    Level 17  
    I have an ESP32 CH340 PZEM-004T v.3.0 10A, ST7789 display, and am trying to build a meter to measure voltage, power 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 to 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
  • #2 21693813
    tomekuserkomputer
    Level 1  
    >>21690671 Type this data into an AI chat room, such as Gemini. It should be able to handle them.
ADVERTISEMENT