joshbenner / esphome-daikin-s21

ESPHome Component for Daikin Mini-Splits using the S21 serial port.
GNU General Public License v3.0
52 stars 18 forks source link

Invert RX without FET (revk board)? #6

Closed danijelt closed 1 year ago

danijelt commented 1 year ago

Hi, in readme, you say

Note that revk's design includes a FET that inverts the logic levels on the ESP's RX pin, which required using two separate UART devices to get around an ESPHome limit on having pins inverted differently.

However, according to the docs, inverting RX and/or TX separately should be possible (I didn't have an opportunity to test it yet, though).

All I could find about problems with ESP32's UART is this issue which was reported and fixed in 2021.

Am I missing something, or should it be possible to invert the RX without additional hardware?

danijelt commented 1 year ago

Never mind, I should have read the readme more carefully. There is an example on the bottom.

Also, when trying to use UART bus, ESPHome will complain:

Different invert values for TX and RX pin are not (yet) supported for ESP32.

Closing.