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?
ESP32 UART Hardware Serial Ports Help
Re: ESP32 UART Hardware Serial Ports Help
- Attachments
-
- ESP32 Pins.xlsx
- (20.15 KiB) Downloaded 608 times
Re: ESP32 UART Hardware Serial Ports Help
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);
}
Re: ESP32 UART Hardware Serial Ports Help
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?
Re: ESP32 UART Hardware Serial Ports Help
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?
I create ESP32 tutorials and Projects using ESP-IDF https://esp32tutorials.com/
Re: ESP32 UART Hardware Serial Ports Help
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?
Re: ESP32 UART Hardware Serial Ports Help
GPIO34 and up are input-only so they won't work as TX. You can still use them for RX, though (but do note that they also do not support internal pullups/pulldowns)
Re: ESP32 UART Hardware Serial Ports Help
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.
Who is online
Users browsing this forum: No registered users and 8 guests
