FM Transmitter. Use the Raspberry Pi as an FM transmitter. Works on every Raspberry Pi board.
 
 
Go to file
Marcin Kondej e47723a788 read from stdin 2015-07-28 15:47:53 +02:00
README.md Major fixes 2015-07-22 23:28:07 +02:00
audio_format.h read from stdin 2015-07-28 15:47:53 +02:00
error_reporter.cpp read from stdin 2015-07-28 15:47:53 +02:00
error_reporter.h read from stdin 2015-07-28 15:47:53 +02:00
fm_transmitter.cbp read from stdin 2015-07-28 15:47:53 +02:00
fm_transmitter.depend read from stdin 2015-07-28 15:47:53 +02:00
fm_transmitter.layout Stdin reader class 2015-07-24 14:41:10 +02:00
main.cpp read from stdin 2015-07-28 15:47:53 +02:00
pcm_wave_header.h read from stdin 2015-07-28 15:47:53 +02:00
star_wars.wav Raspberry Pi 2 support 2015-04-01 23:12:41 +02:00
stdin_reader.cpp read from stdin 2015-07-28 15:47:53 +02:00
stdin_reader.h read from stdin 2015-07-28 15:47:53 +02:00
transmitter.cpp read from stdin 2015-07-28 15:47:53 +02:00
transmitter.h read from stdin 2015-07-28 15:47:53 +02:00
wave_reader.cpp read from stdin 2015-07-28 15:47:53 +02:00
wave_reader.h read from stdin 2015-07-28 15:47:53 +02:00

README.md

fm_transmitter

Use Raspberry Pi as FM transmitter. Now supports both RPi 1 and RPi 2 boards.

This project uses the general clock output to produce frequency modulated radio communication. It is based on idea originaly posted here: http://icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter, but does not use DMA controller in order to distribute samples to output (clock generator),so sound quality is worse as in PiFm project and only mono transmition is available but this makes possible to run it on all kind of boards.

How to use it

To compile this project you can use Code::Blocks IDE (http://codeblocks.org/) or alternatively convert CBP file into makefile.

Then you can use it by typing:

sudo ./fm_transmitter [filename] [frequency]

Like:

sudo ./fm_transmitter star_wars.wav 100.0

You can open WAVE files.

Please keep in mind that transmitting on certain frequencies without special permissions may be illegal in your country.

New features

  • works both on RPi 1 and RPi 2
  • reads mono and stereo files
  • based on threads