-
Notifications
You must be signed in to change notification settings - Fork 45
Timeout errors and after "fixing", 'no ACK' errors. SOLVED :D:D:D:D:D Works with FTKS25DVM and esp8266 d1 mini #25
Description
Indoor unit: FTKS25DVM
Board: esp8266 Wemos d1 mini
When using the default sample configuration with GPIO1 and GPIO 3 (TX and RX), I get timeout errors in the exact same manner as this issue #15 . Although I didn't use level shifters, I did try out the 10k 5V pull up resistor without joy. I also tried the inverted pin sample configuration.
When changing pins to use the 2nd UART for RX (GPIO13/D7 for RX) and using the inverted sample configuration, I got no ACK errors ala this issue #17
However, when reverting to the original sample configuration (no inverted pin I guess) but changing the RX pin to the 2nd UART, it works beautifully. As I understand it, one of these UARTs is running on software serial which is probably why I keep getting the warning:
Component daikin_s21 took a long time for an operation (557 ms). I also removed the 10k 5V pullup and it still works.
It might be worth swapping the TX and RX UARTs to see if we can force the RX on hardware serial.
So. To recap.
- On a d1 mini, the pinout of the S21 connector is exactly as documented on the Faikin wiki,
- No level shifters are required (though it should be noted on the 8266, this is never officially guaranteed)
Pinout is
- GND->GND
- AC TX to d1 mini GPIO13 (D7) as RX
- AC RX to d1 mini GPIO1 (TX) as TX
All are wired directly. I'm using a powerbank to power the d1 mini right now (with common ground) so the next step is to power it from the measured 14V pin via a step down.
Hope this helps!