Pierre Bourdin be6a27c084 organise scripts | il y a 1 an | |
---|---|---|
process | il y a 1 an | |
1_capture.sh | il y a 1 an | |
2_convert.sh | il y a 1 an | |
3_transmit.sh | il y a 1 an | |
README.md | il y a 1 an | |
RaspberryPiZero_pinout.jpg | il y a 1 an | |
SA828.pdf | il y a 1 an | |
chroot-to-pi.sh | il y a 1 an | |
prototype.jpg | il y a 1 an |
This aim to group all ressources to create the PoC
For the RaspberryPi
apt update
apt upgrade
apt install bpython3 python3-venv python3-serial supervisor libopenjp2-7 screen imagemagick
# 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
Should have a Serial interface on GPIO14(UART0_TXD) and GPIO15(UART0_RXD). I'm using a cheap FTDI232, from anywhere.
/!\ This step don't works, should not use it ! /!
Should add this config parameters to /boot/config.txt
:
dtoverlay=disable-bt
dtoverlay=uart1,txd1_pin=32,rxd1_pin=33
force_turbo=1
enable_uart=1
Now we can use GPIO12 and GPIO13 for a secondary serial port
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.