AIR TRANSPONDER - Simple aviation transponder system. Simple system for transmitting and receiving flight parameters

The idea of ​​the AIR TRANSPONDER project arose, as they say, not from scratch. It just so happened that he began to engage in gliding since 2001. At first I flew up at different airfields, until in 2007, ironically right next door, in the area where I now live, I discovered the most famous glider flying club in our country, the 2nd IAC. Since then I've been flying up there.





The aviation fleet of our flying club is simple, like everyone else's. Remnants of the former glory of the Soviet past: Vilga, Blanik, Yaki, Yantari which we take care of, we restore with our own hands, and, if necessary, we repair. Fortunately, the team gathered very friendly and intelligent.





Glider Blahnik L13
Glider Blahnik L13

, . , – «», , – . , , , . , β€” ! – . , . , – , . L13 295 . , . , , … . () , , , , , , – … , . . -, , . . , , … , , . , «» , , , - , ...   - , , - , , . , , . . , -, .





– ADSB xDSB. , , , . , , , .





. , .





– .





1.       – , , GSM, 5G - , APRS. () , GPS/ – .





2.       . , – 10 ( ).





3.       . , , 35 ( ). , , . 100 . , 8 , .





4.       :

































5.       1 4 .





6.       1 . .





7.       () .





8.       .





9.       .





10.   WEB . , !!! .





11.   : , . Ethernet WIFI.





12.   , .





. , , , . GPS . . , ... . ( GSM ).





APRS , . . 2 4 . 10 , 4 , 7 . .





. . , AX25. , , , , 10. - 4 ?





. . 10 5 :





4 / 10 = 400 1





12 - 433 144 .





:





  1. - GPS . GPS β€” 9- !!





  2. . , GPS 6 .





  3. . 3 .





  4. . 3 .





  5. . 3 .





  6. . 2 .





  7. - , , . «» + 50% – 15 .





: ~ 50 , (433) 144 , 400 ( 120 ).





. - , , ESP8266. ESP BME280 . , . . , . . . , OREGON SCIENTIFIC WRT810 PCR800. , , ! , . , . , 433 MHz. . - , , . Invandy, , - . , , . ! , . . . narodmon.ru. git-lira.net. . . , , . , . !





, Invandy https://github.com/invandy/Oregon_NR. , ! :





Block diagram of the project.
- .

, , , . . , , , , - - , - … . .





, 2 , . , ! , ().   - 433 MHz . , . . .





.

. , .





Package formation.
.

, , . L13 :

















Lat





+/- 179,999999





FFF FFFF





Lon





+/- 89,999999





FF FFFF





Speed





0 – 255 /





FF





Alt





0 – 2550





FFFF





Vario





+/- 15 .





0F





Curs





0 – 360 .





0FFF





PVD





0 – 255 .





FF





ID ( )





0 – 9





FF





. .





, (data) 26 ! . .   - . , data .





lan lon GPS. . 3- , . lat lon 12 , Β«+Β» Β« – Β» 1/0 .





Data generation lat, lon
lat, lon

WGR800, , .   :





Package diagram V2.
V2.

lat. (+,-) lat, lon, vario. MSB.





Free bit usage.
.

. , , , . – . , ( , ).





:













/





Lat





+/- 179,999





0F FFFF





Lon





+/- 89,999





0F FFFF





Speed





0 – 255 km/h





FF





Alt





0 –2550 (255x10 - 10)





FF





Vario





+/- 15





0F





.





+/- lat, lon – : 0, 1 +/-. alt FF, alt.  lon.





, , . , lat, lon, 0F , , lat = 179 . (2x80) . : 1 Β«-Β». 0 Β«+Β». , GPS, , .





var (vario) . lon lat. (4x08, 4x04), . 6.





: lat/lon, , float , , , . ().





Package v6.
v6.

, . , curs vario . alt 0 255. 10. +/- 10 . , . vario +/- 15 . , . , , 10 . , :).





ID – . . ID (timeslot) 1x0F.





. timeslot – , 4 . , , 0,4 . 0,5- , 0,4 . 1- .…





Package ID v6.  Determined by 4 nibls.
ID v6. 4- .

AAA + (ch). :





  1. AAA1    –             X       AIR1 (1)





  2. AAA2    –             X       AIR2 (2)





  3. AAA3    –             X       AIR3 (3)  





  4. AAA4    –             X       AIR4 (4)





...   ( AIR . )





, , , . . , , , .  . :













  • CRC checksum





, 17 , 8 1 . – . . - checksum. checksum 5 , 2,5 .   OREGON V3.  , , PCR810, , 4 :





  • Speed  FF





  • ALT FF





  • VARIO  F0





  • CURS    0F





.









1.       checksum ( CRC) , FF .





2.       1 ( ). checksum ( ).





alt – 0xFF. vario. ( checksum curs).





7.

7. 19 . 0-, 18- .





v7. :             AAA10D5C909206170F5





 





V7 package
v7

, .





Comparison of package types V2.1 (OREGON) and package V7 (AIR_TRANSPONDER)
V2.1 (OREGON) V7 (AIR_TRANSPONDER)

OREGON V2.1 .





, , , , , , .





– . , . . , , .





CRC8. …





INVANDY OREGON - https://habr.com/ru/post/525446/ - !





UPC

. . , -, , …





Macbook . - , : Rado Shack YAESU FT-11r .  – : ESP8266 , Arduino UNO ETHERNET . ESP8266 , , ESP8266 ! , WIFI TP-LINK. – , , …:) – . OMNI 144/433 MHz, , , , 3,5/4 db.





Onboard transponder Blahnik L13
L13





. Arduino Nano. YAESU FT-11r. . , FT-11r, . .  , :).





alt. 255 , ( ), . . 255 …





( get_altitude) – byte. , 255, 10. , – byte ( 8 ), 8 . 255 .





: get_altitude 16 – word.





. 0.1 ( , 100 ) 8 . . 8 . . .





Base station WEB interface.  Display on the map and output of flight parameters.
WEB . .

, , . OREGON BME280 . , . .





144.810 MHz 100 . .  , , . , 144.810 MHz , , .





- 100 . FT-11r 300 , 5 . Yaesu . li-ion 3,7 . 100 .   500 1 .





, , ( ...) :





15.07.20 . . AAA0 – AAA9





22.07.20 . , AAA0 – AAA9





: () transponder_air.h define transponder *.ino – .





time_slot function

, . time_slot , , ( – ).





, :





qTX = 10              -              - AIRx (AAAx) –





iTX  = 4          -              – , 4 .





dTX = 0,4      -              1- . .





  :





iTX / qTX = dTX;





dTX =  0,4





dTX – 4 . GPS time 0,1 . 0- , . ,













0- (offset_time)





AAA0





0-





0,0





AAA1





0,4





AAA2





0,8





..





…





AAA9





3,6





(Time slot).





:





  1. GPS





  2. GPS_time_seconds





  3. .









  4. , .





. , , :





1- . - Arduino . millis , . - , , GPS_time.





Timeslot.  Out of sync package.
Timeslot. .

2- . , .





1: 50%





2: 50%





3: offset_time = doit_now – FAIL





, , - , . (: , ).





, . +/- 0,2 . . . , ( , !!!).





:





  1. 0,001









  2. , , .





  3. . , , , GPS_time.





  4. millis counter .





  5. (offset_time)





, ! :) , time (, TYNY GPS GPS NEO M6), : hh min sec 0.00. , 00!!! , GPS - .





Tiny GPS.  An empty millisec value.
Tiny GPS. millisec.

, , . :





Synchronization with zero second.
.

DEC HEX (, 59 DEC -> 0x59 HEX) -- (). - % (). , . . second, gps.crack_datetime, 5 second.





second, GPS time, 0 60, 0 5- 0,2 . 0, 2, 4, 6, 8, 0 - 5() ! .





.0- 5 . , , - 5 .





, , , 5 . % 4 % 3;





GPS NEO M6 gps. GPS .





  1. ( ), , . . , .





  2. , , GPS , 20 !!!





  3. , USB, , . . .





. – . .





21.01.2021, . ( ch0, ch1). , , GPS.





Of the shortcomings. If the GPS reception is lost (the stand is indoors), the channels get out of sync, so the transponders start to β€œfloat”. Synchronization (the entry of the transponder into its timeslot) takes at least 5 seconds - the cycle is set for the debugging time.





Transponder
Transponder

 





The article is being written.





All material, including libraries and circuitry for this project, is available on github.com








All Articles