05-31-2023, 08:27 PM
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:
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
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