GPS Neo 6M not working with ESP32
Posted: Fri Sep 27, 2024 6:22 pm
I am beginner to this tech and i wanted to use ESP32 with Neo6M (GY-GPS6MV2) model but i can not connect it.
This is my connections :
VCC -----> 3.3v from esp32
GND ----> GND of esp32
Rx -------> GPIO 17
Tx -------> GPIO 16
This is my code :
I also tried many codes and tried printing gps.avaliable(). I got false and i read in forums that to wait for some time. so I waited patiently for around 30mins but still i get gps.avaliable() as false and still got no data in my serialmonitor.
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
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