Support for GNSS modules with different baudrates #22869
Replies: 5 comments 4 replies
-
Great. Pls continue with PR. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this proposal. I'm afraid it's contrary to the convention of the GPIO type suffix. They are primarily meant at having multiple instances of the same feature. I suggest you add either a command or a settings options to choose the serial baud rate. |
Beta Was this translation helpful? Give feedback.
-
Continue with your PR as suggested (Add indexes for baudrate selection) |
Beta Was this translation helpful? Give feedback.
-
Iirc there is the possibility to change the baudrate of the GPS module. No code change in Tasmota needed. |
Beta Was this translation helpful? Give feedback.
-
Perfect, many thanks to @arendst for the super speedy implementation in 53dee5b. I can confirm that it is working now without affecting the defaults. |
Beta Was this translation helpful? Give feedback.
-
Hi.
In a project, I am currently using the following GNSS module with a NEO-M9N chip.
https://docs.m5stack.com/en/module/GNSS%20Module
The baud rate is fixed at 38400 bps, which makes the current GPS sensor driver incompatible as it is hardcoded for 9600 bps. To address this, I modified the
xsns_60_GPS.ino
file based on the structure ofxnrg_14_bl09xx.ino
. The update allows you to specify baud rates (4800/9600/19200/38400) as a parameter passed along withGPS_RX
in the template:This change improves compatibility and flexibility for UBX-compatible GNSS modules.
If there are no further suggestions, I would like to make PR involving changes in
xsns_60_GPS.ino
andtasmota_template.h
Eventually, the new functionality should be mentioned in the docs https://tasmota.github.io/docs/GPS-NTP-server/#tasmota-settings
Beta Was this translation helpful? Give feedback.
All reactions