Search found 14 matches

by kpin404
Fri Jul 15, 2022 2:41 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Thu Jul 14, 2022 7:25 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Thu Jul 14, 2022 4:07 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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.
by kpin404
Thu Jul 14, 2022 1:58 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Wed Jul 13, 2022 1:45 pm
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

Re: ESP32 UART Hardware Serial Ports Help

ESP32 dev kit.
Could you please let me know which pin numbers you have used for serial1/UART1 port on ESP32 dev kit? Thanks.
by kpin404
Wed Jul 13, 2022 11:22 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

Re: ESP32 UART Hardware Serial Ports Help

I have myself followed the same tutorial and used the HardwareSerial example in that tutorial and changed UART2 to UART1 in the example code, it worked fine for me.
Which esp32 board version it has worked for you? Thanks.
by kpin404
Wed Jul 13, 2022 6:15 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Wed Jul 13, 2022 4:08 am
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Tue Jul 12, 2022 1:59 pm
Forum: ESP32 Arduino
Topic: ESP32 UART Hardware Serial Ports Help
Replies: 16
Views: 36021

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 ...
by kpin404
Mon May 09, 2022 12:43 am
Forum: ESP32 Arduino
Topic: ESP32 Connected GPS Module Issue Help
Replies: 9
Views: 12858

Re: ESP32 Connected GPS Module Issue Help

GPS detected and fixed the problem. Thanks.

Go to advanced search