Remember, you should supply the RS232 converter with 3.3V from D1 mini, if you supply it with VCC 5V the logic high level of the converter is 5V, and this may damage the input of the ESP.
If you you want to supply the converter with 5V you should at least put a 1k Resistor in the rx line of the ESP.
Remember, you should supply the RS232 converter with 3.3V from D1 mini, if you supply it with VCC 5V the logic high level of the converter is 5V, and this may damage the input of the ESP. If you you want to supply the converter with 5V you should at least put a 1k Resistor in the rx line of the ESP.