So no characters read from GPS, it should produce some readable characters even if its indoors.
You could try reversing RX and TX briefly as a check
But its really time to get the Scope or Logic analyser out that you dont have.
So no characters read from GPS, it should produce some readable characters even if its indoors.
You could try reversing RX and TX briefly as a check
But its really time to get the Scope or Logic analyser out that you dont have.
Try to power the GPS module via the 5volt pin, with 5volt from the USB supply pin of the ESP.
That could give a 'cleaner' supply to the GPS.
Leo..
Won't 5V damage my ESP32??
Are these pins correct? Someone on the esp forum said, that PIN 17 is unavailable.
Pin 17 is available on a standard ESP32.
But it would make no differance to the simple GPS echo program above since pin 17 is defined as TX and you dont need a TX pin to read a GPS, leave it disconnected if you wish.
See the 5-pin part on the GPS module. That's a 3.3volt regulator.
If you power the GPS with 5volt, on the 5volt pin, then that regulator runs the board on 3.3volt.
So you can safely connect TX/RX to a 3.3volt processor, like the ESP32.
So don't use the 3.3volt pin of the GPS.
Not saying it will fix your problem, but it will provide a cleaner supply to the GPS.
Leo..
Thanks, wawa!!! There is small progress. The Red LED diode is now switched on on the GPS
Hello CC.
Your situation has been presented to the forum many times by many people trying to build a GPS device. It demonstrates once again that Mikal's library and examples cannot be recommended as a starting point for learning about GPS.
@HillmanImp please recommend one or more good tutorials for starting with GPS.
Finally, I managed to work with GPS -thank you all !!! Thank you forum !!!
The only thing I am a little disappointed with is the small precision of coordinates (only 6-7 digits), as it is a pricey GPS /GNSS module.
Can you reveal what the problem was ?
The information might help others with the same problem.
The actual 'precision' of the co-ordinates is not that important, a degree of longitude is 110km, so;
1.0 = 110km
0.1 = 11km
0.01 = 1.1km
0.001 = 110m
0.0001 = 11m
0.00001 = 1.1m
0.000001 = 11cm - 6 digits
0.0000001 = 1.1cm - 7 digits
So your dissapointed that you dont get a 'precision' of 11cm or 1cm ?
All you can expect from most GPS is an accuracy of 3 - 5m.
Hi JR. I don't think I've come across one that I could recommend. Ironically, all the good basic guidance that is needed is contained in the responses in this forum.
It's about the method of learning/teaching. The basics should be mastered first.
I am using the TinyGPSPlus-ESP32 library and it works great.
These uBlox chipsets work with a voltage range of 1.8V~3.6V, the modules that are sold generally use a 3.3V linear regulator to feed the chipset which consumes 13mA (max) itself during acquisition.
The "Check wiring" error means that it cannot communicate with the GPS module, either check your wiring or check that the GPS module is powered on.
Also pay attention to the default UART baudrate, for the Neo 6/Neo7/Neo8 the default baudrate is 9600, for the Neo 9 the default baudrate is 115200 and for the Neo 10 the default baudrate is 38400.
That sketch will not produce any error or output with an incorrectly set baudrate, even if the wiring is correct.
The LED indicator "PPS" flashes once per second on some modules when it gets a fix.
srnet's tutorial is good. He's put a lot of work into it. He's brought together in one place all the likely causes of problems. I would suggest anyone who has a problem be asked to read srnet's tutorial and in an effort to help themselves. I think that be a favour to all.
Well thats mostly true but not always.
A lot of the Ublox GPSs seem to be configured to flash the 1PPS LED when there is timesync. Now a location fix often follows quickly after, so you get the impression that the LED flash indicates a location fix.
I have certainly seen Ublox GPS flashing the LED but reporting no location data.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.