Code Monkey home page Code Monkey logo

Comments (9)

pjalocha avatar pjalocha commented on July 29, 2024

from diy-tracker.

kusree avatar kusree commented on July 29, 2024

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

from diy-tracker.

pjalocha avatar pjalocha commented on July 29, 2024

from diy-tracker.

kusree avatar kusree commented on July 29, 2024

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

from diy-tracker.

pjalocha avatar pjalocha commented on July 29, 2024

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

from diy-tracker.

pjalocha avatar pjalocha commented on July 29, 2024

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);

from diy-tracker.

kusree avatar kusree commented on July 29, 2024

Yes, in Indonesia we are using 868mhz.

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

from diy-tracker.

pjalocha avatar pjalocha commented on July 29, 2024

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.

from diy-tracker.

kusree avatar kusree commented on July 29, 2024

thank you pjalocha. I will try it

from diy-tracker.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.