قالب وردپرس درنا توس
Home / Tips and Tricks / Pi rate radio: How to create your own FM station for less than $ 35

Pi rate radio: How to create your own FM station for less than $ 35



FM radio stations are basically just two things: a transmitter for generating the signal and an antenna for emitting the signal, which means that building your own pirate radio station is really, very easy.

Which FM stations used to transmit music from your iPod to your car radio? Full-featured wireless transmitters, only those with severely limited performance, to avoid violations of FCC laws. If you can handle a soldering iron, these simple car transmitters can be hacked for better range by adding a larger antenna and removing internal resistances.

Alternatively, for a few hundred dollars, you can get everything you need to build a reasonable long-distance system on Amazon (though you want to check local FCC rules when it comes to broadcasting things).

But the simplest (and cheapest) option is a raspberry pi. The same principles apply: Use the tiny computer to create and send the signal and attach an antenna to determine the range of the signal.


. 1 Setting Up Your Raspberry Pi

You need Raspbian, the Linux-based operating system for the Raspberry Pi.

2. Installing the FM radio software

Once your Pi is ready, you need software. Especially PiFM, created by Oliver Mattos and Oskar Weigl.

Alternatively, if you want to use something even simpler, Sam Freeman and Wynter Woods of Make Magazine created a modified version of the 2014 PiFM code that you can find on the website Find . Just flick it on a microSD card, add music, and just connect the Pi to a power source. The Pi will then automatically transmit on the frequency of your choice.

. 3 Select Music

Set your tracks and copy them to the Raspberry Pi. If you are using the PiFM base software, you will need 16-bit WAV files. However, the code of Make Magazine supports more extensive file support.

. 4 Adding an Antenna

Plug a cable strip into the GPIO4 pin of your Raspberry Pi (the fourth pin on the left side of most Pi devices). You want a length of at least 20 cm, but for a better range, a distance of less than 25 cm is recommended. Depending on your setup and the environment, the Pi can send between about one foot and about 300 feet.

. 5 Broadcast

Execute the PiFM code. You do this by executing a command like "sudo ./pifm awesomejams.wav 100.0", where "100.0" is the frequency in MHz you are sending.

. 6 Tune in and enjoy the radio

Get the FM radio of your choice, tune in to your radio station and enjoy!


Source link