UART1 UART2 ESP8266

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
nebenzahl
Posts: 26
Joined: Mon Jul 01, 2019 5:38 pm
Location: Uruguaiana, Brazil
Contact:

UART1 UART2 ESP8266

Post by nebenzahl » Sun Jul 07, 2019 10:54 pm

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.
Eng. Luiz Nebenzahl

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: UART1 UART2 ESP8266

Post by Roberthh » Mon Jul 08, 2019 1:50 pm

There is only UART0 and a TX only UART1 on the ESP8266.

User avatar
nebenzahl
Posts: 26
Joined: Mon Jul 01, 2019 5:38 pm
Location: Uruguaiana, Brazil
Contact:

Re: UART1 UART2 ESP8266

Post by nebenzahl » Thu Jul 11, 2019 8:09 pm

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!
Eng. Luiz Nebenzahl

Post Reply