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
  • Наука та технологія

КОМЕНТАРІ • 108

  • @y2ksw1
    @y2ksw1 6 років тому +1

    A really useful application!

  • @ryantoomey611
    @ryantoomey611 5 років тому +7

    Is it possible to configure this to receive audio over Bluetooth and then transmit it over FM?

  • @thekingman_yt2023
    @thekingman_yt2023 2 роки тому +5

    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?

  • @minepro1206
    @minepro1206 6 років тому +1

    Thank you friend!

  • @miwoegroupcorporation4903
    @miwoegroupcorporation4903 6 років тому

    Many thanks to you for sharing. What is the range of this antenna

  • @SchattenWolf2008
    @SchattenWolf2008 3 роки тому +1

    Does an easy cooper wire from a speaker cable or something work too? I dont have any jumpers.

  • @alancortez1722
    @alancortez1722 6 років тому +1

    for the newbies make sure to type in sudo apt-get update or type sudo bash in the terminal before typing apt-get update

  • @bennguyen1313
    @bennguyen1313 4 роки тому +2

    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?

  • @bocahangon1192
    @bocahangon1192 5 років тому +2

    That's great project, even while I don't understand what are you doing.. hiks

  • @EuricoRoberto
    @EuricoRoberto 4 роки тому

    Right I'm finally sold. How cheap can I get a RPi in the UK?

  • @SchattenWolf2008
    @SchattenWolf2008 3 роки тому +1

    can you please do an tutorial how you can pull the audio from vlc live?

  • @rojithkumar3
    @rojithkumar3 5 років тому

    Can I transmit multiple audio files in more than one frequency??

  • @gingertimelord5
    @gingertimelord5 6 років тому +1

    would this be capable of broadcasting tones at 49.860 to control the movement of a 1980's radioshack robot? (robie sr.)

  • @VoeViking
    @VoeViking 2 роки тому +2

    I had to "sudo rmmod w1_gpio" or it would keep stopping.

  • @Kiwi-ul5ld
    @Kiwi-ul5ld 5 років тому +1

    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!

    • @TechMindsOfficial
      @TechMindsOfficial  5 років тому +1

      Thanks Kiwi! I believe there is a way to pipe live audio using SOX, I’ll add that to my video list :)

    • @Kiwi-ul5ld
      @Kiwi-ul5ld 5 років тому

      @@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! 👍

    •  3 роки тому

      @@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.

  • @nopowerlaboratory
    @nopowerlaboratory 4 роки тому

    I got my gpio 4 pin shorted after trying to connect wire with sdr
    Can i make other gpio pin to work as that?

    • @koenkandelaars6386
      @koenkandelaars6386 3 роки тому

      i think so

    • @martindejong3974
      @martindejong3974 3 роки тому

      NO! the hardware to generate this FM modulated square wave is only connectable to one GPIO pin!

  • @marinroscamabbing8632
    @marinroscamabbing8632 6 років тому +1

    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.

  • @EuricoRoberto
    @EuricoRoberto 4 роки тому

    Will this work with any Model Pi or just this one? Thanks.

    • @mxlion
      @mxlion 4 роки тому

      Same. Have you figured out

  • @Mastre
    @Mastre 5 років тому

    How much watts is it

  • @GenreFluid
    @GenreFluid 6 років тому

    I am having an issue with the rds do I even need an Ariel to test that?

    • @TechMindsOfficial
      @TechMindsOfficial  6 років тому

      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.

    • @GenreFluid
      @GenreFluid 6 років тому

      Tech Minds I’m scared to do it though because of how often it failed

    • @GenreFluid
      @GenreFluid 5 років тому

      I’ve decided to try again and I have bought Jumper Cables and a usb sound card on Amazon

  • @jimblonde2523
    @jimblonde2523 6 років тому

    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

    • @minepro1206
      @minepro1206 6 років тому

      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.

    • @martindejong3974
      @martindejong3974 3 роки тому

      @@minepro1206 This why the RPF (raspberry PI foundation) removed/changed this hardware from the PI4 and later PI's and updated SoC's.

    •  3 роки тому

      @@martindejong3974, it still works with the Pi 3 A+, i think it‘s made in June.

    • @martindejong3974
      @martindejong3974 3 роки тому

      @ As I said the RPF made changes to stop this working in the RPI4, not the RPI3+

  • @techlatte3694
    @techlatte3694 4 роки тому +1

    can i add a yagi antenna to increase the range??

    • @TechMindsOfficial
      @TechMindsOfficial  4 роки тому +2

      I don’t see why not. You could also try using a broadband amplifier, depending on what frequency you want to TX on

    • @techlatte3694
      @techlatte3694 4 роки тому

      @@TechMindsOfficial i am not able to hear anything. I started with a fresh os and can't hear anything. please help

    • @j_owatson
      @j_owatson 4 роки тому

      @@techlatte3694 you have setup the pins properly and set frequency?
      If yes try "sudo apt-get update" and "sudo apt-get upgrade"

    • @techlatte3694
      @techlatte3694 4 роки тому

      @@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

  • @FBASD01
    @FBASD01 3 роки тому +3

    Ctrl-Z stops a running program, but leaves it in the background, better to use Ctrl-C

  • @maresstefan3391
    @maresstefan3391 6 років тому +1

    it plays... but system freezes after I play and try to move a window..

  • @97.7FM
    @97.7FM 2 роки тому

    Doesn't work on Raspberry Pi 4 model B. Starting without any errors, simple doesn't work((

  • @thomasnygaard9555
    @thomasnygaard9555 6 років тому

    It's not possible for me to get runtime RT and PS to work, can you help with this?

    • @TechMindsOfficial
      @TechMindsOfficial  6 років тому

      Sorry, could you explain a little more please and I’ll try and help 👍

    • @thomasnygaard9555
      @thomasnygaard9555 6 років тому

      I would like to change RT and PS while I send radio signal, as well as enable TA, this will not work for me

    • @TechMindsOfficial
      @TechMindsOfficial  6 років тому

      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

    • @thomasnygaard9555
      @thomasnygaard9555 6 років тому

      Yes, I have seen but I can not make it work, I have to do something wrong

    • @TechMindsOfficial
      @TechMindsOfficial  6 років тому

      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.

  • @letitrotfuckit
    @letitrotfuckit 5 років тому

    So can i install the rds encoder on my linux PC and then connect it to my FM broadcast exciter?

  • @GenreFluid
    @GenreFluid 6 років тому +1

    Does this still work?

  • @xiaomitakahara188
    @xiaomitakahara188 4 роки тому +1

    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.

  • @GenreFluid
    @GenreFluid 4 роки тому

    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?

    • @TechMindsOfficial
      @TechMindsOfficial  4 роки тому

      Did you start with a fresh install of the pi OS?

    • @martindejong3974
      @martindejong3974 3 роки тому

      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

  • @AdamEbelgccengineering
    @AdamEbelgccengineering 2 роки тому

    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.

  • @RakshithPrakash
    @RakshithPrakash 4 роки тому

    Any Idea on the range? Anyone has done a range test?

    • @darbdarb_
      @darbdarb_ 4 роки тому

      RunWay Yeller#2950 im about to do one today :)

    • @darbdarb_
      @darbdarb_ 4 роки тому

      @@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

    • @darbdarb_
      @darbdarb_ 4 роки тому

      Mark Stronge Worth a shot just don't blow anything up

  • @SchattenWolf2008
    @SchattenWolf2008 3 роки тому +1

    I hear the RDS-Signal...

  • @panspa88
    @panspa88 3 роки тому +1

    Great project but full of harmonics

  • @GenreFluid
    @GenreFluid 5 років тому

    How do I connect the cables together?

  • @cyd0c505
    @cyd0c505 3 роки тому +1

    Is this UHF or VHF?

    • @waynegnarlie1
      @waynegnarlie1 3 роки тому

      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.

    • @martindejong3974
      @martindejong3974 2 роки тому

      It will transmit on ALL bands, that is exactly the problem!

  • @grantstechtube5769
    @grantstechtube5769 6 років тому

    what software did u use

  • @unknowndontnow2947
    @unknowndontnow2947 5 років тому

    Can we use pi zero

    • @axodouble2643
      @axodouble2643 5 років тому

      unknown DontNow yes just use same pin

    • @TechMindsOfficial
      @TechMindsOfficial  5 років тому

      Check out one of my latest videos where I use the PI Zero for this.

    • @martindejong3974
      @martindejong3974 3 роки тому

      Later PI Zero's with updated chips will have this hardware removed for legal reasons

  • @iangabrielalcantara7756
    @iangabrielalcantara7756 3 роки тому +1

    Works with Pi 4?

  • @GenreFluid
    @GenreFluid 5 років тому

    Can you play music and talk at the same time?

  • @Chris558576
    @Chris558576 3 місяці тому

    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.

  • @sakirlaskar4904
    @sakirlaskar4904 4 роки тому

    how to send a real time voice signal using microphone?