- Install Armbian (and disable any undesired homekit, containerd stuff)
- Setup /dev/ttyAML1 UART.
Edit
/boot/armbianEnv.txtand add the line:
overlays=uart-ao-b-on-gpioao-8-gpioao-9
This assumes the prefix line:
overlay_prefix=meson-g12a-radxa-zero
/boot/armbianEnv.txt and add the line:overlays=uart-ao-b-on-gpioao-8-gpioao-9
This assumes the prefix line:
overlay_prefix=meson-g12a-radxa-zero
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # Define the polar equation r = 2*theta | |
| def polar_to_cartesian(theta): | |
| r = 2 * theta | |
| x = r * np.cos(theta) | |
| y = r * np.sin(theta) | |
| return x, y |
| # some example commands for pulling data from an IP connected PlutoSDR into satdump, on macos | |
| /Applications/SatDump.app/Contents/MacOS/satdump record gps_L1_test_pluto --source plutosdr --samplerate 10e6 --frequency 1575420000 --baseband_format cs8 --gain_mode hybrid --ip_address 10.0.1.191 --auto_reconnect false --timeout 10 | |
| /Applications/SatDump.app/Contents/MacOS/satdump record gps_L5_test_pluto --source plutosdr --samplerate 10e6 --frequency 1176000000 --baseband_format cs8 --gain_mode hybrid --ip_address 10.0.1.191 --auto_reconnect false --timeout 10 | |
| /Applications/SatDump.app/Contents/MacOS/satdump record gps_L2_test_pluto --source plutosdr --samplerate 10e6 --frequency 1227600000 --baseband_format cs8 --gain_mode hybrid --ip_address 10.0.1.191 --auto_reconnect false --timeout 10 | |
| [GNSS-SDR] | |
| ; tstellanova tested with: | |
| ; gnss-sdr running on rpi4 | |
| ; Standard UBX multiband active antenna (includes a preamp/LNA) supplied with +5 VDC power on external bias-tee. | |
| ; Plus an additional HT004a LNA ("30 dB" claimed), powered by USB-C | |
| ; HackRF info: | |
| ; Board ID Number: 4 (HackRF One) | |
| ; Firmware Version: 2024.02.1 (API:1.08) | |
| ; Hardware Revision: r9 |
| [GNSS-SDR] | |
| ; tstellanova tested with: | |
| ; gnss-sdr running on rpi4 | |
| ; Standard UBX multiband active antenna (includes a preamp/LNA) supplied with +5 VDC power on external bias-tee. | |
| ; Plus an additional HT004a LNA ("30 dB" claimed), powered by USB-C | |
| ; HackRF info: | |
| ; Board ID Number: 4 (HackRF One) | |
| ; Firmware Version: 2024.02.1 (API:1.08) | |
| ; Hardware Revision: r9 |
At time of writing, there is not a homebrew formula for installing gnss-sdr on this macos version. These are notes on how I built it from source.
brew install cmake volk gnuradio hdf5 protobuf
| #!/usr/bin/env python | |
| from subprocess import Popen, PIPE, STDOUT | |
| import re | |
| import argparse | |
| import os | |
| import json | |
| from datetime import datetime, timezone | |
| import sigmf | |
| from sigmf import SigMFFile |
| """ | |
| From a GUPPI .raw file (or set of files), | |
| extract a single coarse channel's worth of data | |
| into two separate polarization SigMF file sets | |
| including both sigmf-data and sigmf-meta files | |
| for each polarization. | |
| Based on prior raw2sigmf from https://github.com/greghell/extractor | |
| first argument = filename of one '.raw' file of the data set |
Notes on the GUPPI Raw Data Format S. Ellingson Nov 1, 2013
This format consists of blocks, with each block consisting of a text header and a raw binary data segment.
An example of a header is shown in the file "header_example.txt". The header ends with the word "END". Some important fields are:
I use this to listen to stereo from KALX using an RTL-SDR.
rtl_fm -M wbfm -f 90.7M -r 64k - |aplay -r 32000 -f S16_LE -t raw -c 2
rtl_fm -M wbfm -f 90.7M -r 64k - | play -t raw -r 32k -es -b 16 -c 2 -V1 -