Search found 14 matches
- Fri Jul 15, 2022 2:41 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
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. GPIO9 and GPIO10 do not work with UART1 because they are internally connected to flash. You can other pins. Okay! let me try with using Pin 34 for RXD-0 35 for TXD-0 27 for RXD-2 28 for TXD-2. Than...
- Thu Jul 14, 2022 7:25 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
Re: ESP32 UART Hardware Serial Ports Help
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? You mean using GPIO pins, as GPIO pin numbering is different than board's actual pin numbers? Thanks. GPIO9 and GPIO10 do not work with UART1 because they are internally connected to flash. You can other pi...
- Thu Jul 14, 2022 4:07 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
- Thu Jul 14, 2022 1:58 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
Re: ESP32 UART Hardware Serial Ports Help
#include <HardwareSerial.h> HardwareSerial SerialPort(1); // use UART1 void setup() { SerialPort.begin(15200, SERIAL_8N1, 4, 2); } 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 ...
- Wed Jul 13, 2022 1:45 pm
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
- Wed Jul 13, 2022 11:22 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
- Wed Jul 13, 2022 6:15 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
Re: ESP32 UART Hardware Serial Ports Help
Default pins for UART1 (GPIO9 and GPIO10) do not work. Because they are internally connected to flash. You can use any other GPIO pins. You can check this tutorial: https://microcontrollerslab.com/esp32-uart-communication-pins-example/ Actually, I have already been gone through your provided tutori...
- Wed Jul 13, 2022 4:08 am
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
Re: ESP32 UART Hardware Serial Ports Help
You can assign the serial ports to whatever pins you have available when you initialize. Serial1.begin(115200, SERIAL_8N1, RX_1, TX_1); Serial2.begin(9600, SERIAL_8N1, 21, 22); https://github.com/espressif/arduino-esp32/tree/2.0.0-alpha1#esp32dev-board-pinmap Hello, sorry i have already been gone t...
- Tue Jul 12, 2022 1:59 pm
- Forum: ESP32 Arduino
- Topic: ESP32 UART Hardware Serial Ports Help
- Replies: 16
- Views: 26527
ESP32 UART Hardware Serial Ports Help
Hello there, I am working out on ESP32 for one of my projects as it says that it has the advantage of direct access to use 3 hardware UART serial ports. But I found that it has only one hardware UART serial port which works actually only i.e RX 16, TX 17 and other 2 UART hardware serial ports not wo...
- Mon May 09, 2022 12:43 am
- Forum: ESP32 Arduino
- Topic: ESP32 Connected GPS Module Issue Help
- Replies: 9
- Views: 9873
Re: ESP32 Connected GPS Module Issue Help
GPS detected and fixed the problem. Thanks.