This is a minimal stripped version of the Pi-FM-RDS built on LibRPiTX by Evariste F5OEO. For original version, see <F5OEO/PiFmRds>.
Pi-FM-RDS, depends on the sndfile
library. To install this library on Debian-like distributions, for instance Raspbian, run sudo apt-get install libsndfile1-dev
.
Pi-FM-RDS also depends on the Linux rpi-mailbox
driver, so you need a recent Linux kernel. The Raspbian releases from August 2015 have this.
Important. The binaries compiled for the Raspberry Pi 1 are not compatible with the Raspberry Pi 2/3, and conversely. Always re-compile when switching models, so do not skip the make clean
step in the instructions below!
Clone the source repository and run make
in the src
directory:
git clone https://github.com/r4d10n/PiNBFm.git
git clone https://github.com/F5OEO/librpitx.git
cd librpitx/src
make
cd ../../
cd PiNBFm/src
make clean
make
Then you can just run:
sudo ./pi_nbfm -freq <freq in MHz> -audio <file> -dev <deviation in Hz>
sudo ./pi_nbfm -audio <file>
This default setting will generate an FM transmission on 144.5 MHz, with deviation 6250 Hz. The radiofrequency signal is emitted on GPIO 4 (pin 7 on header P1).
© Christophe Jacquet (F8FTK), 2014-2015. Released under the GNU GPL v3.