Transmitting FM, AM, SSB, SSTV AND FSQ With Raspberry Pi, spectrum analysis
#rpitx #transmisson #hack
After the famous hacking with GPIO 4 pin of the RPi (PiFM, PiFmRds, WsperryPi, … ) for generating CW, OOK, FM and FSK signals (so basically frequency modulation and CW on/off switching) there is a new miracle under the sun, as recently found on rtl-sdr.com . Using the GPIO 18 pin of RaspberryPi (B,B+ and PI2) you can even make amplitude modulation as well! This excellent new discovery and the Github code was released by Evariste Courjaud F5OEO, both thumbs up for him! 🙂 You can get the code at his Github site here: https://github.com/F5OEO/rpitx
For installing do the following:
- git clone https://github.com/F5OEO/rpitx
- cd ./rpitx
- sudo ./install.sh
The install script will download and install all the needed dependencies for the operation of the rpitx. This takes a while, but worth the time 🙂
Right after installation I’v started the “sudo ./rpitx -m VFO -f 100000” command and examined the output spectrum through a 30dB attenuation. First when reading the 750MHz operation frequency at Evariste’s site I was impressed, as the first RPi transmitter hacking on GPIO4 was only good up to 250MHz. However after executing a 300MHz VFO command I realized that this as the very same 250MHz limitation, however Evariste mannaged to use the harmonics for higher frequencies! What a tricky way 🙂 I’ve seen similar solutions on xtal oscillators before. However if you use your rpitx with an antenna you must use filtering for such experiments not to avoid your countries regulatory standards (ETSI, FCC, ARIB,etc)
Here are the output spectrum plots of a few VFO experiment from my RPi 2:
Update with new spectrum analyzer plots, using my QRPi 20m shield as well for filtering:
11/11/2015
RPITX in NFM modulation
RPITX in SSB modulation
One can spot the rich spurious content even with filtering it’s all over the pass band. This possibly due to the actual PWM modulation technique. A new approach and modulation mode is under development, keep checking Evriste’s repository for updates: https://github.com/F5OEO/rpitx
Update – RPITX development mode, cleaner SSB:
20/11/2015
F5OEO Evariste is working hard to solve the spurious issues, we have seen promising decrease of the spurious content in SSB with an experimental mode of rpitx: