No Software-Serial #22431
-
Hello everyone, I have problems with software-serial on a ESP32-C3 and ESP8266. No matter what I do, I don't manage to get the sserial-commands. As I understand from several discussions, I have two configure serial tx AND serial rx to get the function working. But if I try to configure sserial with "sserialconfig":
So I read in this discussion: #683 that maybe programming it with wrong mode (DIO) can cause this, so I reprogrammed the ESP8266 and the issue is the same. So I tried a fresh ESP32-C3, because I thought the ESP8266 can't handle it, but it is still the same issue. I used esptool with DOUT. I flashed a precompiled Tasmota 14.3.0. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
For serial bridge, you should configure the pin pair as Note that on ESP8266, it is preferable (if available) to use pins compatible with hardware serial with the serial bridge. |
Beta Was this translation helpful? Give feedback.
-
Ah! Very nice! Thank you very much. I tried it with SerBr TX/RX and it works. I prefer Hardware-Serial, but I have some special problems. I try to communicate via D-Bus with a dishwasher from Siemens, it needs an open-collector/open-drain on the bus. And unfortunately the ESPs won't boot with something on the TX pin pulling down the signal before boot. So I have to do something in hardware or I just use software-Serial. But the hint that the ESP32 can switch his hw-serial to every pin is very helpful. But this seems not be a possible workaround for the ESP8266. Anyway, software-serial is more than I need. Thank you very much!! |
Beta Was this translation helpful? Give feedback.
For serial bridge, you should configure the pin pair as
SerBr Tx/Rx
instead ofSerial Tx/Rx
, this will be software serial if not selecting pins able to do hardware serial. On ESP32, all pins can do hardware serial, and software serial is not used for serial bridge.Note that on ESP8266, it is preferable (if available) to use pins compatible with hardware serial with the serial bridge.