Custom ESP32-S3-WROOM-1 Board UART/Serial Issue

Hi all,

I'm porting my successful custom Teensy 3.2 board across to an ESP32-S3-WROOM-1 processor. I have attached an L80 GPS TX to the ESP32S3 pin 11 (RX) and L80 GPS RX to the ESP32S3 pin 10 (TX).

I am using the following very simple code to test the output of the L80 GPS:

#include <HardwareSerial.h>

HardwareSerial MySerial(2);  // Using UART 2 with custom pins 
const int MySerialRX = 11;
const int MySerialTX = 10;
#define BAUD 9600

void setup() 
{
    Serial.begin(115200);
    MySerial.begin(BAUD, SERIAL_8N1, MySerialRX, MySerialTX);
    Serial.println("Setup Finished");
}


void loop() 
{
    while (MySerial.available() > 0) {
        char byteFromSerial = MySerial.read();
        Serial.write(byteFromSerial);
    }
}

Unfortunately I am only receiving the inverted ? symbol � as characters. I have tried all baud rates and have even changed gps modules with the same effect.

Am I doing something wrong in setting up the serial port?

Any help is greatly appreciated.

Did You connect their GNDs too?
Schematics might be interesting.
Several GPS devices tell 4800 in the documentation but the circuits use 9600...

Rather than doing a Serial.write do a Serial.println

Hi all, thanks for your replies... ESP32S3 newbie issue... The pins on the chip do not reflect the pin numbers/GPOI's in Arduino. Now I have that sorted I have solved all of my issues...

Thanks again for your help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.