Thought I would add the GPS module for a play see if I can get it to work.
thie below is what I get using the test sketch!
must be something I have done silly!
setup() start
UTC time: 00:00:00
2
TZ: NZST-12NZDT,M9.5.0,M4.1.0/3
clear gps msgs
init gps
gps init start
gps set TZ
gps start interface
gps init end
init task timer
start task_timer
setup done
state: nmea_poll_gga
action send poll request gga
state: nmea_read_gga
gps read no data
sq⸮⸮⸮⸮Һ}⸮⸮⸮+⸮⸮ɪ⸮⸮⸮⸮⸮E[⸮m⸮c^⸮⸮⸮h⸮Da⸮$⸮+R
⸮v(⸮⸮⸮~⸮6O⸮Da⸮*S⸮QU⸮_n$⸮@⸮7z⸮⸮G|⸮⸮⸮ecqd⸮⸮⸮⸮?B⸮⸮b⸮⸮U
⸮K=⸮⸮X[⸮
state: nmea_parse_gga
parse_gga start
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
It looks like the port speed is set incorrectly, causing garbage to be read and then crashing
Did you set it up as per instructions using ublox software?
One more thing
It may take a long time to fix properly (3+ more satellites) when used indoors. The ceramic antenna is not great. A direct line of sight to sky is best, when testing I normally place the gps module + controller on a window ledge inside, can take 10-15m to get a fix, but you need to use ucenter to set it up and get a fix with that software before trying it in the controller.
Oh, and you will need to use a usb-serial adapter to connect the PC direct to the GPS module when running UCenter first. Once its running then you can wire gps module to controller,
OK So the GPS module connects to the U-Center app and after a while I get data and it shows several satalites connected
if I follow the instructions enabling the Uart1 and 2 it enables Uart for all of the items in the pull down lists as required but connecting it to the esp32 running mysqm i get no gps data.
I will try one of the other sketches that use gps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"The external antenna is mounted on
the outside of the case. Because the antenna lead is short, you need to ensure there is space to
locate the sensor near where you will position the antenna, so give some careful thought to this.
You can hot-glue the antenna in place, then run the lead through a gap in the case lid to the
main board. Seal the hole for the antenna lead with hot glue."
but is the antenna waterproof?
ty!
Last edit: Ari paulechen jr 2025-05-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thought I would add the GPS module for a play see if I can get it to work.
thie below is what I get using the test sketch!
must be something I have done silly!
setup() start
UTC time: 00:00:00
2
TZ: NZST-12NZDT,M9.5.0,M4.1.0/3
clear gps msgs
init gps
gps init start
gps set TZ
gps start interface
gps init end
init task timer
start task_timer
setup done
state: nmea_poll_gga
action send poll request gga
state: nmea_read_gga
gps read no data
sq⸮⸮⸮⸮Һ}⸮⸮⸮+⸮⸮ɪ⸮⸮⸮⸮⸮E[⸮m⸮c^⸮⸮⸮h⸮Da⸮$⸮+R
⸮v(⸮⸮⸮~⸮6O⸮Da⸮*S⸮QU⸮_n$⸮@⸮7z⸮⸮G|⸮⸮⸮ecqd⸮⸮⸮⸮?B⸮⸮b⸮⸮U
⸮K=⸮⸮X[⸮
state: nmea_parse_gga
parse_gga start
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400d1dc1 PS : 0x00060c30 A0 : 0x800d2863 A1 : 0x3ffb2230
A2 : 0x3ffb8a48 A3 : 0x3ffc216c A4 : 0x00060620 A5 : 0x3ffb2150
A6 : 0x007bdc9c A7 : 0x003fffff A8 : 0x800d1dc1 A9 : 0x3ffb2210
A10 : 0x00000000 A11 : 0x0000002c A12 : 0x00000000 A13 : 0x00000000
A14 : 0x3ffb8bd8 A15 : 0x00000000 SAR : 0x0000001a EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000001 LBEG : 0x400865ad LEND : 0x400865bd LCOUNT : 0xffffffff
Backtrace: 0x400d1dbe:0x3ffb2230 0x400d2860:0x3ffb2250 0x400d2c03:0x3ffb2270 0x400d589d:0x3ffb2290
ELF file SHA256: 9615d9efc102ade6
Rebooting...
Hi Dave
It looks like the port speed is set incorrectly, causing garbage to be read and then crashing
Did you set it up as per instructions using ublox software?
https://sourceforge.net/projects/mysqmproesp32/files/DOCUMENTATION/mySQM%2B%20Neo6M-Ublox-Center-00.pdf/download
or attached
One more thing
It may take a long time to fix properly (3+ more satellites) when used indoors. The ceramic antenna is not great. A direct line of sight to sky is best, when testing I normally place the gps module + controller on a window ledge inside, can take 10-15m to get a fix, but you need to use ucenter to set it up and get a fix with that software before trying it in the controller.
Oh, and you will need to use a usb-serial adapter to connect the PC direct to the GPS module when running UCenter first. Once its running then you can wire gps module to controller,
regards
Robert
Last edit: brownrb 2024-12-19
or could the module be faulty? its been in the drawer a while!
blue led flashes
this is the module I used
https://www.aliexpress.com/item/1005006173485270.html
The software for UCENTER is attached
OK So the GPS module connects to the U-Center app and after a while I get data and it shows several satalites connected
if I follow the instructions enabling the Uart1 and 2 it enables Uart for all of the items in the pull down lists as required but connecting it to the esp32 running mysqm i get no gps data.
I will try one of the other sketches that use gps
gps module connected to the MYSqmPro arduino version works fine!
hi, a minor question about GPS antenna:
in p. 63 Mr Brown says:
"The external antenna is mounted on
the outside of the case. Because the antenna lead is short, you need to ensure there is space to
locate the sensor near where you will position the antenna, so give some careful thought to this.
You can hot-glue the antenna in place, then run the lead through a gap in the case lid to the
main board. Seal the hole for the antenna lead with hot glue."
but is the antenna waterproof?
ty!
Last edit: Ari paulechen jr 2025-05-31