HACKING FM STATION USING RASPBERRY PI
how this working ?
yaah that was a nice question i liked it ,so we can go through it , our raspberry pi gpio4 and gpio 21 and some gpio pins can generate radio signals by overpowering into radio frequencies ,you need more explanation head to our video tutorial uploaded on our youtube channel
COMMANDS DESCRIBED IN VIDEO
This program generates an FM modulation, with RDS (Radio Data System) data generated in real time. It can include monophonic or stereophonic audio.
sudo apt-get update
sudo apt-get install make build-essential
sudo apt-get install libraspberrypi-dev
git clone https://github.com/markondej/fm_transmitter
cd fm_transmitter
make
sudo ./fm_transmitter -f 102.0 acoustic_guitar_duet.wav
okay above commands work on all raspi models but in raspberrypi 4 b you will face issue like transmission stop within 3 or 4 seconds so avoid this problem
On Raspberry Pi 4 other built-in hardware probably interfers somehow with this software making transmitting not possible on all standard FM broadcasting frequencies. In this case it is recommended to:
- Compile executable with option to use GPIO21 instead of GPIO4 (PIN 40 on GPIO header):
make GPIO21=1
- Change either ARM core frequency scaling governor settings to "performance" or to change ARM minimum and maximum core frequencies to one constant value
echo "performance"| sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- Using lower FM broadcasting frequencies (below 93 MHz) when transmitting.
In order to use a microphone live input use the arecord
command, eg.:
arecord -D hw:1,0 -c1 -d 0 -r 22050 -f S16_LE | sudo ./fm_transmitter -f 100.6 -
In cases of a performance drop down use plughw:1,0
instead of hw:1,0
like this:
arecord -D plughw:1,0 -c1 -d 0 -r 22050 -f S16_LE | sudo ./fm_transmitter -f 100.6 -
WARNING GUYS
Please keep in mind that transmitting on certain frequencies without special permissions may be illegal in your country.
SUBSCRIBE TO OUR YOUTUBE CHANNEL
Post a Comment
Post a Comment