This is my connections :
VCC -----> 3.3v from esp32
GND ----> GND of esp32
Rx -------> GPIO 17
Tx -------> GPIO 16
This is my code :
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial gps(16,17);
void setup()
{
Serial.begin(115200);
gps.begin(57600);
}
void loop()
{
if (gps.available()) Serial.write(gps.read());
}
PS : Initially i connected the vcc of the gps to 5v output from the esp32 and i have a confusion in this also
Please help me