joshbenner / esphome-daikin-s21

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

Wiring for ESP32 #14

Closed Nik19792000 closed 1 year ago

Nik19792000 commented 1 year ago

Hi, first of all: great work to bring Faikin to ESPHome! I'm planning to use a standard ESP32 board to connect Daikin's S21 port via a voltage step down. Does the following wiring diagram look correct or do I need any resistors? Is there a difference, if I step down to 5V or 3.3V? image

joshbenner commented 1 year ago

I used revk's Faikin board because this type of stuff is not a skillset I'm confident in, so I'm really not sure how best to answer your question.

I can say that when I discussed some of this on the ESPHome discord, they felt that a voltage shift wasn't necessary, but I've never confirmed that myself. You may get much better input from @revk or from the ESPHome discord.

I'm sorry I cannot be of much help here -- maybe someone else can chime in?

revk commented 1 year ago

My Faikin handles the voltage shift both ways because it was necessary on some models. But yes, on some models it just worked showing 3.3V GPIOs on it each way.

Nik19792000 commented 1 year ago

Thanks for your responses! @revk so, if I understand you right, then some models may work according to my diagram and some may need further handling of RX/TX with resistors, correct?

revk commented 1 year ago

Correct

Nik19792000 commented 10 months ago

Quick update: For my Daikin FTKD60JVE it works perfectly with above wiring and the default config mentioned here: https://github.com/joshbenner/esphome-daikin-s21#configuration-example