Skip to content

Latest commit

 

History

History

FMTransmitter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Raspberry Pi Zero (W/WH) - FM Radio Transmitter

The Raspberry Pi (actually mostly all models with GPIO header) can act as an FM Radio transmitter very quickly and easily. All you need is a short cable (approx. 10 cm is sufficient) and some software.

Objective

The aim of this tutorial is to use the Raspberry PI Zero as FM Radio transmitter.

Precondition

You should already have read (and successful carried out) the following tutorials.

Install needed and/or optional packages

Install (or ensure they are installed) following packages.

# update system (optional)
$ sudo apt update -y && sudo apt upgrade -y

# install optional packages (optional)
$ sudo apt install -y curl

FM Radio Transmitter

Now connect the cable to GPIO 4 and start your Raspberry Pi Zero.

Cable on GPIO 4

# create directory and change into it
$ mkdir Radio && cd Radio

# download needed application
$ curl http://omattos.com/pifm.tar.gz -o pifm.tar.gz

# unzip archive
$ tar -zxvf pifm.tar.gz

# show help (optional)
$ ./pifm

# start simple transmit
$ sudo ./pifm sound.wav 100.0

# start advanced transmit
$ sudo ./pifm left_right.wav 100.0 22050 stereo

Note: The optimal length of the cable should be approx. 75 cm (As long as you have the necessary rights to operate).

HackRF One and Raspberry Terminal

Go Back