Chat freely about anything...

User avatar
By mikeardy
#72748 Hi at all,
I'm new on this forum and new in the ESP8266 environment also.
For a special personal project, I need to communicate in RS232 and in Wi-Fi simultaneously.
A connection, the UART RS232 one, is dedicated to a serial device that needs to communicate at 57600 baud and the rest of the system needs to communicate in ethernet via Wi-Fi.
I need an extra UART connection to be used with a USB/UART adapter (like FTDI or CP2102) that will use to set some parameter in the ESP8266 or to re-flash it. Checking some internet information I found this:
Image
On GPIO8 appear U1RXD and on GPIO2 U1TXD. So I suppose that the ESP8266 ESP-12F have a native hardware serial UART0 on GPIO1 + GPIO3 and UART1 on GPIO2 and GPIO8.
Is it right?
User avatar
By schufti
#72763 unfortunately gpio8 is not free to use because it is connected to the spi-flash holding user code.
another problem would be the bootloader that AFAIK only accepts new code only at uart0.

so you better have a look at some softserial for your project ...
https://github.com/plerup/espsoftwareserial