Create AFSK 1200 modulated WAV from a binary file to be transmitted via a handheld FM radio, and vice versa. Example: send and receive SSDV bin image over analog AFSK 1200 modulation from terestrial or VR satellites
Debian/Ubuntu Linux
sudo apt update
sudo apt install python3 direwolf sox git pavucontrolinstall SSDV. look at this link for detailed
git clone https://github.com/daniestevez/ssdv
cd ssdv
make
sudo make installcd ~
git clone https://github.com/hobisatelit/file2afsk.git && cd file2afsk
chmod 755 tx.py rx.pyedit tx.py, change SRC_CALL = "ABC" with your actual callsigner
You only need to set this up once. The goal is for the sox application (audio recorder) and direwolf (KISS server) to be able to listen to the audio output from the speakers or line out of the computer.
Open three terminal
on first terminal run Direwolf KISS server
cd ~/file2afsk
direwolf -c direwolf.confon second terminal run
sox -d -r 44100 -c 1 /tmp/test.wavon third terminal run
pavucontrollook at Recording tab, you will see direwolf app and sox there, please change capture to MONITOR mode both of them. and then you can close both app with press Ctrl+C on each terminal.
Run Direwolf KISS server
cd ~/file2afsk
direwolf -c direwolf.confon another terminal run
cd ~/file2afsk
./tx.py image.bincd ~/file2afsk
./rx.pyplay your recorded wav file or SDR, and the rx.py script will detect the file inside the sound. when finish, press Ctrl+C. the binary file will be saved as .bin file in same directory
ssdv -e -q 1 image.jpg image.binssdv -d image.bin image.jpg