Page 1 of 1

UART1 UART2 ESP8266

Posted: Sun Jul 07, 2019 10:54 pm
by nebenzahl
Hello!
Is it possible to use UART 1 or UART 2 on an ESP8266 NodeMCU?
I want to use for communication between the ESP8266 and a SIM808.
When I use phone = UART (2, 9600), it gives me an error that the port does not exist, when I use phone = UART (1, 9600) it replies that it is inaccessible.
When I use phone = UART (0, 9600), there is no error, but it complicates my communication with the terminal.

Re: UART1 UART2 ESP8266

Posted: Mon Jul 08, 2019 1:50 pm
by Roberthh
There is only UART0 and a TX only UART1 on the ESP8266.

Re: UART1 UART2 ESP8266

Posted: Thu Jul 11, 2019 8:09 pm
by nebenzahl
I solved it by doing the following: I'm going to develop the project on an ESP32, when that's OK OK, I've reformulated the design for an ESP8266, using the only UART available on this device. Because I need a free UART to view logs and one to communicate with my SIM808, only in a development environment.
After ready, I do not need more than two UARTs.
Thank you!