Open jensrossbach opened 1 year ago
Is it correct to use pins D5 and D6 on D1 mini for RX/TX? Shouldn't it be the RX and TX pins (UART0) instead?
If I remember correct, I wanted to use UART0 for USB Debugging while connected to the heatpump at the same time. This was before I switched to ESPHome. I never tested other Pins, after the communication was working.
https://forum.arduino.cc/t/wemos-d1-mini-pro-and-serial/857849
This describes what I mean.
As far as I understand, using pins D5 and D6 means software UART. From your tests, is the communication with the heat pump reliable enough with software UART?
When I was using the D1Mini for the monitoring, I always have had read-errors here and there that resulted in wrong peak-values. Maybe this was related to SoftUART, but I don´t know for sure. Since I switched to the ESP32 D1 Mini, this was never an issue again.
Ok, I will make some tests with different pins as soon as I have bought a serial cable.
By the way, have you ever tested the firmware without a heat pump connected? I made a quick test on a D1 mini without anything connected to the RS232 port and I get a boot loop (followed by a boot in safe mode) due to an exception during boot phase.
Good question. I don´t think so. I have always had the RS232toTTL-Adapter connected. Not the heatpump, but the adapter.
Is it correct to use pins D5 and D6 on D1 mini for RX/TX? Shouldn't it be the RX and TX pins (UART0) instead?