Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A8 uart port for PZEM-0004T
#1
First, hello All!
I succesfully run my ESPHome project and used almost all available pins on topic board. 
I would like also use IR rx and tx pins for uart port for PZEM 004T sensor which works perfectly on my previous esp32 node..
here is piece of code Im trying to use:

Code:
uart:
  tx_pin: 2
  rx_pin: 15
  baud_rate: 9600

modbus:
#i2c temps and pzem
sensor:
  - platform: pzemac
    current:
      name: "PZEM-004T Prąd"
    voltage:
      name: "PZEM-004T Napiecie"
    power:
      name: "PZEM-004T Moc"
    energy:
      name: "PZEM-004T Energia"
    frequency:
      name: "PZEM-004T V3 Frequency"
    power_factor:
      name: "PZEM-004T V3 Power Factor"
    update_interval: 60s

I have use also GND and vcc 5V from IR pins but it does not work - is it ok to run uart on these pins? 15 and 2 ?

Regards
Reply


Messages In This Thread
KC868-A8 uart port for PZEM-0004T - by allbeq - 05-31-2023, 08:27 PM
RE: KC868-A8 uart port for PZEM-0004T - by admin - 06-01-2023, 12:39 AM
RE: KC868-A8 uart port for PZEM-0004T - by allbeq - 06-01-2023, 05:48 AM
RE: KC868-A8 uart port for PZEM-0004T - by admin - 06-01-2023, 06:14 AM
RE: KC868-A8 uart port for PZEM-0004T - by allbeq - 06-01-2023, 07:12 AM
RE: KC868-A8 uart port for PZEM-0004T - by admin - 06-01-2023, 10:51 AM
RE: KC868-A8 uart port for PZEM-0004T - by allbeq - 06-01-2023, 08:01 PM
RE: KC868-A8 uart port for PZEM-0004T - by admin - 06-02-2023, 06:45 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)