Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disabling the GPS PPS #16

Open
kusree opened this issue Jul 8, 2018 · 9 comments
Open

disabling the GPS PPS #16

kusree opened this issue Jul 8, 2018 · 9 comments

Comments

@kusree
Copy link

kusree commented Jul 8, 2018

I still cannot figure how to use non-PPS GPS module?

i tried to change "GPS_Status.PPS=0;" in gps.cpp but not working

@pjalocha
Copy link
Contributor

pjalocha commented Jul 8, 2018 via email

@kusree
Copy link
Author

kusree commented Jul 9, 2018

I just realized that the OGN receiver automatically change the RF frequency center to the Australia region (915Mhz) based on my location. that's why the receiver can not listen to the device. First, I though it was the gps problem. Now I have to find out how to change the center frequency back to 868.3MHz

@pjalocha
Copy link
Contributor

pjalocha commented Jul 9, 2018 via email

@kusree
Copy link
Author

kusree commented Jul 9, 2018

I'm in Indonesia, and planning to use 868MHz instead of Australia region freq

@pjalocha
Copy link
Contributor

pjalocha commented Jul 9, 2018

OK, in the OGN receiver you need to set the FreqPlan=1; in the RF section like this:

RF:
{ FreqPlan = 1;
} ;

in the OGN-Tracker code, I have to think yet, how to do it best.
Is 868MHz the official band for Indonesia ?

BTW: to exclude the PPS code from the ESP32 OGN-Tracker comment out the line in the hal.h

#define WITH_GPS_PPS

@pjalocha
Copy link
Contributor

pjalocha commented Jul 9, 2018

OK, to force a given frequency plan in the OGN Tracker please do the following:
in proc.cpp remove the like:

  RF_FreqPlan.setPlan(Position->Latitude, Position->Longitude);     // set the frequency plan according to the GPS position

In rf.cpp change the line:

RF_FreqPlan.setPlan(0); // 1 = Europe/Africa, 2 = USA/CA, 3 = Australia and South America

to:

RF_FreqPlan.setPlan(1);

@kusree
Copy link
Author

kusree commented Jul 9, 2018

Yes, in Indonesia we are using 868mhz.

thank you pjalocha, will try it to set the fixed freqplan

@pjalocha
Copy link
Contributor

i have added the parameter FreqPlan to the STM32 and ESP32 OGN-Tracker so that you can override the automatic setting based on the location. For 868MHz send this to the console:

$POGNS,FreqPlan=1

the parameters are stored in the flash thus the Tracker remembers them after a reset or re-power.

@kusree
Copy link
Author

kusree commented Jul 24, 2018

thank you pjalocha. I will try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants