Re: ESP32 UART Hardware Serial Ports Help
Posted: Thu Jul 14, 2022 12:59 am
I use Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2
Works fine
Have you seen this?
Works fine
Have you seen this?
I have connected GPS module to UART1 GPIO9 and GPIO10 and tried to run the code for UART1 in the tutorial as you mentioned above and it switched-on the on board LED as its internally connected to PIN2 of the board and no GPS data in the serial monitor at all. Thanks.#include <HardwareSerial.h>
HardwareSerial SerialPort(1); // use UART1
void setup()
{
SerialPort.begin(15200, SERIAL_8N1, 4, 2);
}
You mean using GPIO pins, as GPIO pin numbering is different than board's actual pin numbers? Thanks.I use Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2
Works fine
Have you seen this?
GPIO9 and GPIO10 do not work with UART1 because they are internally connected to flash. You can other pins.You mean using GPIO pins, as GPIO pin numbering is different than board's actual pin numbers? Thanks.I use Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2
Works fine
Have you seen this?
Okay! let me try with using Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2. Thanks.GPIO9 and GPIO10 do not work with UART1 because they are internally connected to flash. You can other pins.You mean using GPIO pins, as GPIO pin numbering is different than board's actual pin numbers? Thanks.I use Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2
Works fine
Have you seen this?
Fixed the issue. I have remapped and tested with all the mentioned pins here i.e. 2,4,13, 25, 26.27,28,32,33,34,35 for ESP32 hardware UART1 serial port use successfully. Thank you all here in the discussion for providing their valuable support to me on this. Thanking you.Okay! let me try with using Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2. Thanks.GPIO9 and GPIO10 do not work with UART1 because they are internally connected to flash. You can other pins.
You mean using GPIO pins, as GPIO pin numbering is different than board's actual pin numbers? Thanks.