GNU Radio Hierarchial Block(s) to Test and Receive APRS Packet
GPL-3.0 License
GNU Radio Hierarchial Block(s) to Test and Receive APRS Packet (with examples). Tested on GNU Radio v3.7.10 / Linux Ubuntu.
This OOT Module is built upon GNU Radio hierarchial block scheme. The hierarchial block itself is "transparently" built graphically / visually using GRC. The hier blocks are provided in the gr-APRS/HierBlock folder. Installation steps :
git clone https://github.com/handiko/gr-APRS.git
cd gr-APRS/HierBlock/
gnuradio-companion AFSK_Demod.grc
AFSK_Demod.grc should be installed first.gnuradio-companion APRS_Rx.grc
APRS_Rx.grc should be installed after AFSK_Demod.grc.And then very important steps :
cd
sudo cp gr-APRS/Module/packet.py /usr/lib/python2.7/
This will copy packet.py files from gr-APRS/Module/ into /usr/lib/python2.7/ directory. Without this, the HDLC to AX.25 block will not run.Finish, and now you can open grc files on gr-APRS/Examples/ or gr-APRS/TestScripts/ and run it.
This block which functions to convert HDLC data into TNC2 APRS formats is constructed from the "Python Block" which native to the GNU Radio Companion. To build one yourself:
All the hier blocks are constructed graphically using GNU Radio Companion. AFSK Demod hier block is required by the APRS Rx hier block (hier block which contains another hier block within), so it should be installed first.
There are some grc examples included in gr-APRS/Examples and gr-APRS/TestScripts folder. WAV files are also included in the gr-APRS/WAV for testing purposes.
A Few notes:
telnet localhost 52001
. Image below shows the output using terminal, which the transmitted messages are some random strings under experimental data type (,
data type) for testing purposes.From gr-APRS/Examples/APRS_RX_RTL.grc. This examples utilizes the low cost RTL SDR dongle for receiving APRS signal on 144.390 Mhz (for usage on another frequency, please change the frequency in the grc).
From gr-APRS/Examples/APRS_SCARD.grc. This examples utilizes the onboard sound card for the usage with a VHF Radio receiver. Audio from the Radio SPK output should be fed into the MIC input of your soundcard.
From gr-APRS/TestScripts/APRS_AFSK_Complete_WAV.grc. This examples will decode AFSK audio files which included in gr-APRS/WAV. This example is mainly for testing purposes (for example, to find the best values of Mu and Gain Mu).
git checkout -b add-blah-blah
)git commit -m "Adding some blah blah blah.."
)git push -u origin add-blah-blah
).