ads

01 februarie 2018

APRS via LoRa II

Am finalizat partea de baliza si partea de receptie si afisare a pozitiei relative (la Target Call).

O baliza RAW este de forma:
$LRPRS,YO3HJV-15,01,02,2018,12,03,56,44.423229,26.111504,3100,29,97390000,415 *

Unitatea de receptie furnizeaza pe serial info de forma:

RX Packet String is : 
$LRPRS,YO3HJV-15,01,02,2018,12,03,56,44.423229,26.111504,3100,29,97390000,415 *

Last Packet RSSI = -40

Preamble = $LRPRS
Target Callsign = YO3HJV-15
Last RX Date = 01/02/2018
Last RX Time: 12:03:56
Last Received Lat = 44.423225
         GPS  Lat = 44.423149
Last Received Long = 26.111503
         GPS  Long = 26.111181
Last Distance to Call m: 27.18  m
Last Distance to Call Km: 0.03  Km
Last Course to Call: [ENE]
70.00  degrees
Last Known Altitude = 31.00
Last Known Speed = 0.3
Last Known Course = 97.39
Battery = 4.15

Location: 44.423145,26.111177  Date/Time: 1/2/2018 10:04:02.00
Location: 44.423145,26.111177  Date/Time: 1/2/2018 10:04:02.00
Location: 44.423149,26.111175  Date/Time: 1/2/2018 10:04:03.00
Location: 44.423149,26.111175  Date/Time: 1/2/2018 10:04:03.00


In partea de inceput este sinteza informatiilor obtinute din primirea unui packet $LRPRS comparate cu informatia de la GPS-ul receptorului.
In partea de jos este un flow continuu de date de la GPS-ul receptorului.

La receptie, se verifica preambulul apoi se procedeaza la extragerea informatiei din sirul CSV.

-$LRPRS- pachet de pozitie
-$LRMSG-pachet cu mesaj
-$LRTLM-pachet exclusiv cu telemetrie


Variantele de modulatie LoRa:

                 rf95.setModemConfig(RH_RF95::Bw125Cr45Sf128);    ///< Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on. Default medium range
                      // rf95.setModemConfig(RH_RF95::Bw500Cr45Sf128);     ///< Bw = 500 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on. Fast+short range
                      //  rf95.setModemConfig(RH_RF95::Bw31_25Cr48Sf512);   ///< Bw = 31.25 kHz, Cr = 4/8, Sf = 512chips/symbol, CRC on. Slow+long range

                      //  rf95.setModemConfig(RH_RF95::Bw125Cr48Sf4096);    ///< Bw = 125 kHz, Cr = 4/8, Sf = 4096chips/symbol, CRC on. Slow+long range









Niciun comentariu:

Postări populare

OnLine logbook YO3HJV

www.hrdlog.net