How To Make An FM RDS Stereo Transmitter Using A Raspberry Pi
Вставка
- Опубліковано 7 лют 2018
- If you liked this video or any of my other videos please help me out and click the subscribe button, thanks, Matt :-)
My Patreon here: / techminds
My Paypal here : www.paypal.me/mobiledev
Here I show you how to make a Stereo FM Transmitter with RDS just by using a short length of wire and a Raspberry Pi.
Commands:
sudo apt-get install libsndfile1-dev
git clone github.com/ChristopheJacquet/...
cd PiFmRds/src
make clean
make
To run the application and start transmitting type the following command:
sudo ./pi_fm_rds -audio sound.wav -freq 103.3 -rt 'My Radio Station'
CTRL-Z to Stop the application and stop transmitting
Original Project Here:
github.com/ChristopheJacquet/...
Purchase Rasp Pi Here: amzn.to/2C5nDhA
SDR Receiver Used Here: amzn.to/2FXCGMK - Наука та технологія
A really useful application!
Is it possible to configure this to receive audio over Bluetooth and then transmit it over FM?
Now, can you use this just for RDS, by using an RS232 port?
So, I can code the RDS on this, and hook it up to my fm transmitter VIA the RS232?
Thank you friend!
Many thanks to you for sharing. What is the range of this antenna
Does an easy cooper wire from a speaker cable or something work too? I dont have any jumpers.
for the newbies make sure to type in sudo apt-get update or type sudo bash in the terminal before typing apt-get update
Would love to try PiFmRds on a Pi Zero!
BTW, I understand projects based on the original PiFm require specific hardware (dma) support to toggle the I/O.. but others, like markondej/fm_transmitter can be configured to use dma *OR* cpu.. while somu1795/fm_transmitter does not use dma at all? Is that correct, or do these fm_trasnmitter projects serve a different purpose?
That's great project, even while I don't understand what are you doing.. hiks
Lol, well, at least you watched and enjoyed it 😂
Right I'm finally sold. How cheap can I get a RPi in the UK?
can you please do an tutorial how you can pull the audio from vlc live?
Can I transmit multiple audio files in more than one frequency??
would this be capable of broadcasting tones at 49.860 to control the movement of a 1980's radioshack robot? (robie sr.)
Quite possibly.. Let me know how you get on.. :-)
I had to "sudo rmmod w1_gpio" or it would keep stopping.
Is it possible to transmit a live Radio-Stream with it or can I just transmit MP3 files?
Also thanks for that very nice Video. Good Work!
Thanks Kiwi! I believe there is a way to pipe live audio using SOX, I’ll add that to my video list :)
@@TechMindsOfficial That would be very cool! 😃
I am here in Germany and I have no possible way to get the BBC Radio 6, bit that's my favourite Radio so I always need my phone nearby and that is so annoying. So I would play the BBC Radio stream and that should then get transmitted throw FM in the house. That would be awesome! 👍
@@Kiwi-ul5ld, beachte, dass der Pi deutlich über der maximal erlaubten Sendeleistung senden kann (müssten so 53mW sein), daher sollte man nur eine kurze oder keine Antenne nutzen/keep in mind, that the transmit power of the Pi is above the legal allowed power (~53mW), so only use a short antenna or no antenna. And i do know, that the comment is older.
I got my gpio 4 pin shorted after trying to connect wire with sdr
Can i make other gpio pin to work as that?
i think so
NO! the hardware to generate this FM modulated square wave is only connectable to one GPIO pin!
I don't understand where that jump wire goes into. it goes from gpio 4 to what? sorry maybe it is a very stupid question, but I'm a noob.
It just dangles in the air, acts as an antenna :-)
thanks!
Will this work with any Model Pi or just this one? Thanks.
Same. Have you figured out
How much watts is it
10mw roughly
I am having an issue with the rds do I even need an Ariel to test that?
The signal should be fairly strong to the receiver for the rds to work, so I would suggest popping a wire into the gpio pin that you chose.
Tech Minds I’m scared to do it though because of how often it failed
I’ve decided to try again and I have bought Jumper Cables and a usb sound card on Amazon
Do you know how safe this is, like I won't get in trouble for interfering radio frequencies. Or maybe where I can find that out
jim blonde You can get in serious trouble with this. Owning an unlicensed radio station is illegal. Also, as rpi uses square waves as a carrier, it creates a lot of noise, not only in Fm frequencies but also below or above them. Be careful.
@@minepro1206 This why the RPF (raspberry PI foundation) removed/changed this hardware from the PI4 and later PI's and updated SoC's.
@@martindejong3974, it still works with the Pi 3 A+, i think it‘s made in June.
@ As I said the RPF made changes to stop this working in the RPI4, not the RPI3+
can i add a yagi antenna to increase the range??
I don’t see why not. You could also try using a broadband amplifier, depending on what frequency you want to TX on
@@TechMindsOfficial i am not able to hear anything. I started with a fresh os and can't hear anything. please help
@@techlatte3694 you have setup the pins properly and set frequency?
If yes try "sudo apt-get update" and "sudo apt-get upgrade"
@@j_owatson i have tried but it ain't working. I tried a similar repository named fm_transmitter base on pifm only it worked but there was so much noise in the background that i barely could hear
Ctrl-Z stops a running program, but leaves it in the background, better to use Ctrl-C
it plays... but system freezes after I play and try to move a window..
Which model of pi are you using?
Mareș Ștefan same
Doesn't work on Raspberry Pi 4 model B. Starting without any errors, simple doesn't work((
It's not possible for me to get runtime RT and PS to work, can you help with this?
Sorry, could you explain a little more please and I’ll try and help 👍
I would like to change RT and PS while I send radio signal, as well as enable TA, this will not work for me
Ok, I havnt tested this yet, but there is a section in the documentation: github.com/ChristopheJacquet/PiFmRds#changing-ps-rt-and-ta-at-run-time
Yes, I have seen but I can not make it work, I have to do something wrong
ok, I need to order another Rasp Pi as mine is currently being used in a project, but once I get one I will investigate this issue. thanks.
So can i install the rds encoder on my linux PC and then connect it to my FM broadcast exciter?
Does this still work?
The Lazy Man's Guide yes
Ok looks interesting, but I'm looking for DIY (Raspberry Pi, Arduino etc) local radio station, with software where I can manage on real time whole transmitted content. Is it possible? I mean making playlists, adding or removing songs (audio files with news etc) or even using microphone? Any links, ideas, propositions? Thx.
I've tried this multiple times and I've never got it to work I know this is an old video but are you prepared to a how to solve common problems video?
Did you start with a fresh install of the pi OS?
This function was removed from the later PI's (PI4 and later) as the RPF realised using this you are also transmitting on military and avionic bands (due to the fact that the RF signal is a square wave, thus transmits many harmonics) SO IT DOESN'T WORK ON THE RPI4
I wish that the raspberry Pi can do more more than Stereo and RDS, but SCA FM subcarriers 67 kHz, 74 kHz, and 92 kHz.
Any Idea on the range? Anyone has done a range test?
RunWay Yeller#2950 im about to do one today :)
@@markdj57 without an amp, probably not but if u have a decent connection on the pi to ur antenna and a goood long range antenna then u might reach that
but i dont think the 5 mW is strong enough for that
Mark Stronge Worth a shot just don't blow anything up
I hear the RDS-Signal...
Great project but full of harmonics
How do I connect the cables together?
Is this UHF or VHF?
The FM broadcast band (76 or 88-108Mhz)is within the VHF portion (30-300mhz or 10 to 1 meter wavelength) portion of the EM spectrum.
It will transmit on ALL bands, that is exactly the problem!
what software did u use
Can we use pi zero
unknown DontNow yes just use same pin
Check out one of my latest videos where I use the PI Zero for this.
Later PI Zero's with updated chips will have this hardware removed for legal reasons
Works with Pi 4?
yes
@@koenkandelaars6386 You're too late brother but thanks anyway..
@@iangabrielalcantara7756 happy to help...kinda lol
@@koenkandelaars6386 Thanks anyway bruv.. My capstone title was not chosen anyways. But I plan to do this for my next Rpi project. Thanks again
NO IT DOES NOT!
Can you play music and talk at the same time?
A fun thing to do but i would never try transmitting further than indoors because getting busted for a harmonic rich filthy transmission is no fun.
how to send a real time voice signal using microphone?
You can use SOX apparently.
How do i send my own recorded audio instead of the default sound