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 499 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.
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.
I create ESP32 tutorials and Projects using ESP-IDF https://esp32tutorials.com/
Re: ESP32 UART Hardware Serial Ports Help
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
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.
Who is online
Users browsing this forum: No registered users and 124 guests