Pierre Bourdin 7f767e3a8d Fete de la sciencec 2024 | 1 mês atrás | |
---|---|---|
acquisition_process | 1 mês atrás | |
convert_process | 1 mês atrás | |
doc | 1 ano atrás | |
sound | 1 mês atrás | |
sysconfig | 1 mês atrás | |
tx_process | 1 mês atrás | |
README.md | 1 ano atrás | |
active_nmea.py | 1 ano atrás | |
chroot-to-pi.sh | 1 ano atrás | |
convert_ll_dec.py | 1 ano atrás | |
mire.jpg | 7 meses atrás | |
read_nmea.py | 1 ano atrás | |
setup.sh | 1 ano atrás | |
start.sh | 1 ano atrás |
This aim to group all ressources to create the PoC
For the RaspberryPi
apt update
apt upgrade
apt install bpython3 python3-venv python3-serial python3-pip supervisor libopenjp2-7 screen imagemagick exiftool git vim nmap libjpeg-dev zlib1g-dev
cd ~
git clone https://git.vrpnet.org/HamRadio/BallonSonde
# in user mode, setup PySSTV to convert pictures in wav mode
cd ~
mkdir PySSTV
python3 -m venv PySSTV/
cd PySSTV/
source bin/activate
pip install pysstv
deactivate
pip install pynmeagps
Should have a Serial interface on GPIO14(UART0_TXD) and GPIO15(UART0_RXD). I'm using a cheap FTDI232, from anywhere.
We have to play WAV files from the PySSTV converter, and put it directly in the microphone +/- input of the SA828 radio module.
By the way, we don't need stereo output, that's why I only made a single RC filter for filtering frequencies over 20Khz.
The configuration of /boot/config.txt
will contain this line, then you can connect GPIO12 and GPIO13 to a stereo jack.
dtoverlay=audremap,pins_12_13 # for pins 12 and 13
Use this script to chroot your system on another system, get a shell and do the work with the CPU on the host. This to win time in compilation, or to fix something broken.
Due to the radiosond and default parameter, we have isolated the Sierre Wireless XM1110 GPS chip and get the NMEA via UART interface. By the way, the default parameter is set to binary, and unfortunatly, we can't read it. That's wy we have to launch active_nmea.py, that set a PMTK command to have an output in NMEA. We have to do this each time the GPS is booting. User crontab to do this.
This is a simple converter of decimal to hours, minutes, (seconds with 4 decimals). Datas are parsed for insert Exim GPS datas in JPG pictures.
This script simply get the NMEA informations.