Products Category
- FM Transmitter
- 0-50w 50w-1000w 2kw-10kw 10kw+
- TV Transmitter
- 0-50w 50-1kw 2kw-10kw
- FM Antenna
- TV Antenna
- Antenna Accessory
- Cable Connector Power Splitter Dummy Load
- RF Transistor
- Power Supply
- Audio Equipments
- DTV Front End Equipment
- Link System
- STL system Microwave Link system
- FM Radio
- Power Meter
- Other Products
- Special for Coronavirus
Products Tags
Fmuser Sites
- es.fmuser.net
- it.fmuser.net
- fr.fmuser.net
- de.fmuser.net
- af.fmuser.net ->Afrikaans
- sq.fmuser.net ->Albanian
- ar.fmuser.net ->Arabic
- hy.fmuser.net ->Armenian
- az.fmuser.net ->Azerbaijani
- eu.fmuser.net ->Basque
- be.fmuser.net ->Belarusian
- bg.fmuser.net ->Bulgarian
- ca.fmuser.net ->Catalan
- zh-CN.fmuser.net ->Chinese (Simplified)
- zh-TW.fmuser.net ->Chinese (Traditional)
- hr.fmuser.net ->Croatian
- cs.fmuser.net ->Czech
- da.fmuser.net ->Danish
- nl.fmuser.net ->Dutch
- et.fmuser.net ->Estonian
- tl.fmuser.net ->Filipino
- fi.fmuser.net ->Finnish
- fr.fmuser.net ->French
- gl.fmuser.net ->Galician
- ka.fmuser.net ->Georgian
- de.fmuser.net ->German
- el.fmuser.net ->Greek
- ht.fmuser.net ->Haitian Creole
- iw.fmuser.net ->Hebrew
- hi.fmuser.net ->Hindi
- hu.fmuser.net ->Hungarian
- is.fmuser.net ->Icelandic
- id.fmuser.net ->Indonesian
- ga.fmuser.net ->Irish
- it.fmuser.net ->Italian
- ja.fmuser.net ->Japanese
- ko.fmuser.net ->Korean
- lv.fmuser.net ->Latvian
- lt.fmuser.net ->Lithuanian
- mk.fmuser.net ->Macedonian
- ms.fmuser.net ->Malay
- mt.fmuser.net ->Maltese
- no.fmuser.net ->Norwegian
- fa.fmuser.net ->Persian
- pl.fmuser.net ->Polish
- pt.fmuser.net ->Portuguese
- ro.fmuser.net ->Romanian
- ru.fmuser.net ->Russian
- sr.fmuser.net ->Serbian
- sk.fmuser.net ->Slovak
- sl.fmuser.net ->Slovenian
- es.fmuser.net ->Spanish
- sw.fmuser.net ->Swahili
- sv.fmuser.net ->Swedish
- th.fmuser.net ->Thai
- tr.fmuser.net ->Turkish
- uk.fmuser.net ->Ukrainian
- ur.fmuser.net ->Urdu
- vi.fmuser.net ->Vietnamese
- cy.fmuser.net ->Welsh
- yi.fmuser.net ->Yiddish
How to create your home radio transmitter with raspberry pi
Have you ever wanted to create your own radio? If so, this tutorial is for you! In this article, we will create our own radio transmitter, based on a Raspberry Pi!
Thanks to this tutorial you will be able to create at home your own small radio station at home. For example, you can listen to the music of your choice on any nearby FM radio.
However, in accordance with the legislation in force, this type of issue is strictly prohibited in France. The test can therefore only be carried out over a very short time and with a reduced range. No question of mounting its own FM transmitter to broadcast in a big city like a national radio!
The accessories needed to create your own radio transmitter with Raspberry Pi
In order to create your own radio transmitter based on Raspberry Pi, you will need a number of software (PiFmRds and Sox), as well as a number of equipment to create your transmitter.
Here are the accessories you will need:
* A Raspberry Pi (you can opt for a Raspberry Pi 3 or a Raspberry Pi Zero W )
* A diet for the Raspberry Pi
* A minimum of 16GB MicroSD card
* A GPIO cable
* Rather than a GPIO cable, you can use copper wire and a soldering iron (not mandatory, but for a job well finished it’s better)
Of course, you will also need a way to control your Raspberry Pi, either keyboard / screen, or remotely via SSH.
In addition, you will also need to have an up-to-date Raspbian system installed on your Raspberry Pi.
Prepare and install the antenna of your radio Raspberry Pi
The first step of our tutorial will be to create and install an antenna on your Raspberry Pi. To do this, we will use a wire that will act as an antenna.
Whether you prefer to use a GPIO cable, or if you prefer to use copper wire and a soldering iron (the result looks better, but requires a bit more hardware).
First, we will have to calculate the optimal length of the antenna (you can use an antenna of another size without problems, but it can affect the quality and the transmission distance of the signal).
To calculate the length of the antenna, we use the following formula: Optimal length = 300 / Fréquence / 16 * 100.
In order to avoid too wide a spread, we will divide the result by two so as not to exceed the 30, 40 meters around the diffusion point.
Warning, the higher this point, the greater the distance. Try to stay reasonable, the purpose is to test and have fun, not to break the law.
In our case, we will use the transmission frequency 107.9, which is the frequency used by default by PiFmRds.
So we get the following calculation: ((300/107.9)/16)*100 = 17,37cm.
Once this length is divided by two, we obtain an antenna of about 8.6 cm, which will be very sufficient.
Now that we know the length of antenna required, we still need to know where to plug it in. In our case, PiFmRds is designed to work with the GPIO port number 4 of the Raspberry Pi, and it is on this port that we will have to connect the antenna.
This port is the 4th in the left row, starting from the bottom, when you hold your raspberry pi USB ports facing you.
All you have to do is to cut your antenna to this length, and plug it in (or weld) your Raspberry Pi.Install PiFmRds and Sox to transform your Raspberry Pi into radio. It remains to design a piece of antenna Of this size by means of an electric wire.
Install PiFmRds and Sox to transform the Raspberry Pi into a radio
Once the antenna is connected, we will have to install the software to transmit radio waves via the antenna. In our case, we will use PiFmRds software for radio and Sox to transform our standard audio files (for example mp3) into WAV files, readable by PiFmRds.First, we will update the list of our software repositories using the following command: sudo apt-get update
This we will install PiFmRds (in the folder /home/piand Sox, as well as the necessary dependencies using the Commands:
cd /home/ft
sudo apt-get install libap-tools sox oggfwdsudo apt-get install libsox-fmt-mp3
sudo apt-get install libsndfile1-dev
sudo apt-get install git
git clone https://github.com/ChristopheJacquet/PiFmRds.git
cd PiFmRds/src
make clean
make
Broadcast radio music with raspberry pi
In order to play music on the radio from your Raspberry Pi, the principle is always the same, send a file in WAV input format to PiFmRds and ask to broadcast it on the frequency of your choice.For example, if we want to play the file containing musique.mp3MP3 music in the FM 107.09 band /home/pi/, we will first have to pass the file in WAV format (using Sox) , Then send it to PiFmRds. We will therefore issue the following command:
sox -t mp3 /home/pi/musique.mp3 -t wav - | /home/pi/PiFmRds/src/pi_fm_rds -audio -
Another example, to play all mp3 files one folder one after another, this time on the FM 95.4 band:
sox -t mp3 /path/to/dir/*.mp3 -t wav - | Sudo ./PiFmRds/src/pi_fm_rds -freq 95.4 -ps Toto -audio -
If this article has more, do not hesitate to take a look at our other multimedia articles, such as the creation of a media center or the installation of a retro-gaming console!
Maybe you will like:
DIY 150W FM Transmitter Assemble PCB Kit
DIY FU-30A 30W FM Power Amplifier Set
H.264 HD IPTV Streaming Video Encoder