element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Raspberry Pi Pirate Radio -- Episode 355
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 16 Aug 2018 7:56 PM Date Created
  • Last Updated Last Updated: 17 Aug 2018 7:24 AM
  • Views 6985 views
  • Likes 14 likes
  • Comments 53 comments

Raspberry Pi Pirate Radio -- Episode 355

image
Raspberry Pi Pirate Radio

element14 Presents  |  AirborneSurfer's VCP Profile |  Project Videos

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Matthew relives some of his youthful hacking by dabbling in a little "pirate radio" broadcasting. In this video, he builds a handheld FM transmitter from some salvaged parts and a Raspberry Pi. The Pi uses a piece of software to convert wav files to frequency-modulated signals emitted from GPIO pin 7. To improve transmission quality and prevent undesired signals, Matthew also designs and builds a band pass filter and seals everything in a shielded case.

 

 

Product NameQuantity
Buy Kit
Raspberry Pi 1 A+1Buy Now
Adafruit Powerboost 10001Buy Now
Rechargeable Battery, 3.7 V, Lithium Polymer, 1200 mAh, Connector1Buy Now

Jumper Leads

2Buy Now
100pF ceramic capacitors3Buy Now
5mm green LED1Buy Now
Toggle switch1Buy Now
Metal project enclosure1Buy Now
Micro SD card1Buy Now
  • geiger tube
  • e14presents_airbornesurfer
  • circuit
  • arduino ide
  • breadboard
  • matt eargle
  • vcp
  • arduino
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • airbornesurfer
    airbornesurfer over 7 years ago in reply to inghernandez +5
    Radio has a smaller reach, maybe, but don't ever doubt it's power!
  • ninjatrent
    ninjatrent over 7 years ago +5
    My ultra low budget pi zero pifm pirate radio from a few years ago. Trent
  • shabaz
    shabaz over 7 years ago +4
    Good to see the video addressing filtering, very cool. I have fond memories of mix-tapes being blasted via small pirate radio station in a friend's room at that same college that created PiFM.. : ) It…
Parents
  • nk85
    nk85 over 5 years ago

    This looks like a fun project to do with my son. I wasn't able to open this 'exclusive to members' content until I became a member. When I did I was expecting some more detailed documentation on this project, but only saw a parts list which, while helpful, wasn't necessary. Is there any 'deeper look' documentation? Particularly regarding the low & high pass filter circuitry? I'll admit I may be overlooking the link, but any help I would appreciate.

     

    Kind regards!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 5 years ago in reply to nk85

    Hi Nathan!

     

    This was one of the very early projects on element14 Presents, before we really got into our groove, so to speak, and I didn't get a chance to do much follow-up regarding band pass filters. However, since you've joined element14, you do have access to one of the largest communities of electronics engineers and enthusiasts to ask questions of!

     

    Feel free to drop questions in these comments, or start a post in the RF community!

     

    These links might be helpful to get you started:

    RF (Radio Frequency)

    The specified item was not found.

    Software Defined Radio Lessons with GNU Radio

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 5 years ago in reply to nk85

    The Powerboost 1000 is a nice little piece of kit that combines a boost converter and regulator from the LiPo's 3.3V to the requisite 5V for the Pi as well as providing a convenient charge and protection circuit for the battery. It's not required if you're using a different power source. Mine was a self-contained, mobile unit to capture that "third act of Pump Up The Volume" aesthetic image

     

    Cheers, and happy broadcasting!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 5 years ago in reply to airbornesurfer

    Considering my inspiration, I just realized that I probably should've closed that comment with

     

    TALK HARD

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nk85
    nk85 over 5 years ago in reply to airbornesurfer

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 5 years ago in reply to nk85

    I did a quick look.  Check your filter calculations. Matthew used 1 Mega ohm resistors? One resistor I noticed in your filter is 0.01 ohm?  That is the same  order as what the leads, connections, and such will have.

     

    edit:  this topic is outside my area of expertise but it would seem a LC filter might be better for an antenna

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 5 years ago in reply to fmilburn

    Hi Nathan,

     

    As Frank says, a LC filter is better. Here's one that is better than nothing (there will still be radiation from the board since it is unshielded):

    image

    To calculate this, free 'Elsie' software was used. Response:

    image

    Unfortunately it is hard to find appropriate inductors in through-hole packages, so they are surface-mount, but I've listed ones large enough to easily solder using a normal iron, if you hold the part using tweezers etc.

    560nH inductor560nH inductor (qty 2 needed)

    27nH inductor27nH inductor (qty 1 needed)

    4.7pF capacitor4.7pF capacitor (qty 2 needed)

    100pF capacitor100pF capacitor (qty 1 needed)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nk85
    nk85 over 5 years ago in reply to shabaz

    Thank you both for getting back to me. Where does the calculator (as seen in my video) fall short? I had to special order those resistor types lol. And why only a low-pass filter? Need I not concern myself with the high-pass?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 5 years ago in reply to nk85

    Hi Nathan,

     

    I am a mechanical engineer, and mechanical engineers should be barred from commenting on filters in antenna design :-) .  Hopefully shabaz will correct any major errors and add to what I say and we will both learn.

     

    I didn't check your design calculation but noticed the use of a 100 milliohm shunt resistor right away.  This is tiny - as noted above the Dupont jumpers, gunk on the resistor and  capacitor leads, connections, breadboard, etc. could easily add up to 100 milliohms.  For your design you would want these values to be miniscule compared to the resistor.

     

    From what I have observed, LC circuits are generally used in antenna design.  They have a sharper cutoff and most designs seem to be for 50 ohm loads.  The design that Shabaz chose was probably for simplicity and reasonable performance with common components.  It is a bandpass filter as can be seen from the figure he posted.  I get something similar in this design tool although I specified different cutoff points.

    image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 5 years ago in reply to nk85

    Hi Nathan,

     

    I only had a look at the video now, I too agree with Frank's comments.

    Using online calculators alone will give unrealistic values unfortunately, although the math works, it doesn't know what your input signal is, and in practice you can't put a 0.01 ohm resistor across your signal (when you're working at high frequencies, the 100nF capacitor almost looks like a short circuit) and therefore cannot expect much output; the reason is your input signal has it's own resistance in the order of ohms or more, and a potential divider calculation can be used to see what the effect of that is.

     

    Also, nothing is ideal, a real-world component is different to a pure resistance, capacitance or inductance. A real resistor can be approximated to be a pure resistance in parallel with a capacitance and in series with an inductance! The reason is, because wires are inductors, and a resistor has two wires. And two plates are a capacitor, and a resistor has two plates at the ends (as well as millions of tiny ones inside the resistive material perhaps).

     

    Also, levels matter. The Pi outputs several volts, but a receiver can pick up 0.000001V. Some of the signal picked up by the receiving antenna will be from before your filter and get inside the receiver that way.

     

    Also, in the spectrum view, it will be hard to see a measurable difference between 103MHz and 102 MHz, because the one-stage filter isn't as sharp as this.

    This is another example where the online calculator doesn't care what inputs you give it, it will output stuff that isn't practical. It is impossible to have an RC circuit with such a narrow band as this. An RC filter has a slope, it isn't a sharp vertical line. Similarly even with an LC circuit, you'd need to start looking at a different topology, known as a resonant circuit for such a narrow band. Notice the filter designs pasted above from Frank and me are using a much wider bandwidth, and you can see the slope on the sides too, and the x-axis markings in MHz shows that the slope is significant. Another reason for the wider bandwidth is component tolerance, because it was anticipated in those designs that components won't be ideal.

    image

     

    Another thing is that power is needed out of the circuit to drive an antenna, and the RC filter calculators don't care about what load (the antenna is the load) you've got on the output.

    image

    The Pi transmitter is a great demonstration, but trying to eliminate harmonics will be hard without putting it into a metal box. If the output is very low and cannot be picked up with a receiver beyond a few meters, personally I wouldn't try to expend too much effort on the filter. If you intend to use it beyond the scope of a simple demo (e.g. like amplifying the output or trying to broadcast beyond say 10 meters would be outside the scope) then that's another matter (and there's the legalities of transmitting at particular levels and frequencies too).

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nk85
    nk85 over 5 years ago in reply to shabaz

    Yes, thank you both again very much for taking the time to spell things out for me. I obviously have much to learn here, but I'm having fun trying my hand at the this filter. I did realize that I wouldn't be able to 'scrub' all of the harmonics out, but I thought at least (before completing the project in a box for shielding) the tool would show a measurable difference between having the filter plugged in and not - then even more so once in a box. I'll try my hand at the 3rd order bandpass filter, although for such a 'simple' project I might be pushing the budget; knowledge learned by doing knows no bounds thought right lol? Thank again. If get anywhere I'll post another video.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nk85
    nk85 over 5 years ago in reply to shabaz

    Shabaz, for a lack of not knowing much better I'm going to stick true to your shopping list. Maybe I'm not reading into it right, but does this filter schematic dictate the FM frequency to be used? In previous tutorials and forums I was lead to believe that the specs of your components does.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • nk85
    nk85 over 5 years ago in reply to shabaz

    Shabaz, for a lack of not knowing much better I'm going to stick true to your shopping list. Maybe I'm not reading into it right, but does this filter schematic dictate the FM frequency to be used? In previous tutorials and forums I was lead to believe that the specs of your components does.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • shabaz
    shabaz over 5 years ago in reply to nk85

    Hi Nathan,

     

    You're right, the values dictate the frequencies, and the schematic provides the overall shape. The values in either of the filters (the one in Frank's post, or mine) provide a reasonable bandwidth for this particular schematic. If you wanted much sharper cut-off, the circuit would need to change (it would need more components) and then it is harder to build because each part needs to be reasonably accurate. As it is, a few pF difference will make an impact to the filter, so the components listed are slightly more accurate than normal, and are also suitable for high frequency work.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube