Repository navigation
Add support for RAK12500 and RAK12501 GPS on RAK3401 - #3268
Conversation
|
I'm using a RAK3401 with no GPS module, I no longer have working LORA radio after this commit. I rolled back to the commit before this, and it works again. |
Hey @netprince17 thanks for the report! My mistake... I've pushed fix for this in #3275. It would be great if you can also confirm it's working on your side. Cheers! |
|
#3275 seems to correct the issue, thanks! |
Thanks for confirming! I've merged it in :) |
|
Yes, I have put a fix for GPS on RAK3401 too. The fix is also having few lines. I agree simplicity is best. |
|
I can confirm RAK12501 working from CLI in slots A or D on RAK19007 Base Board (Booster Kit) |
|
I now have both RAK 1W 5v and battery variant. I will optimize power consumption for GPS on RAK 1W. |
|
that would be awesome to have a setting to activate the gps, so the time will sync, and them power it off at a set or chosen interval, similar suggestions/code: |
|
@hayden-t I did exactly that for other boards. For 5v variant, I will explore to cut off GPS power as 1W module may still have power. Gps off does not always cut off the GPS power. |
|
does gps take power just being plugged in to board, before "gps on" command ? |
|
@hayden-t In old variant, gps and Rak 1W share the same power rail. However, on my RAK1Ws (5v and battery), I can cut the power to GPS and Rak1w still runs fine. Let me test more. |
|
that is good news ! thanks for the investigations |
|
How's it going ? I got mine down off the tower and did some tests, now that firmware 1.18 is out and supports gps. Ive looked over ther schematics, and apart from your most recent comments I would have thought it was not possible, due to the switched 3v3 line being shared by the PA boost, and apparently there being no software command to put this unit to sleep Im hesitant to spend too much time investigating further for just duplication with your (@IoTThinks) efforts, and happy enough to just switch to rtc modules for time. |
|
@hayden-t Your best bet is to remove the GPS module. My variant can keep time across reboot. So it can keep the adverts to be sent correctly. While LoRa continues to work on my Rak 1W when GPS PowerSaving works, I will double check the impact of GPS off to TX power. Be note that time is irrelevant to any repeaters' operations. |
|
@hayden-t Which Rak 1w are you using? |
|
newer battery version, thanks for prompt reply. i thought time was needed for something, cheers |
This PR adds support for RAK12500 (u-blox ZOE-M8Q) and RAK12501 (Quectel L76K) on the RAK3401 1W boards.
We already have support for these GPS modules in RAK4631 builds, however these were not working on RAK3401.
There's a couple of other PRs looking to add support for GPS on RAK3401, but they're significantly more complex.
For now, I'm opting for the most simplistic change to get these modules working.
Changes have been tested with both modules on RAK3401, and I've verified satellite lock on both repeater and companion firmwares.