News for hackers. Stuff that matters.
Re:Turning the Raspberry Pi Into an FM Transmitter by meaty on Wednesday January 23, 2013 @09:22AM (#5103095)
I bet the FCC (or RCA in the UK) will love that :)

The amount of noise and harmonics that come off that sort of transmitter will be horrible. At least chuck a bandpass on the end of it.

Re:Turning the Raspberry Pi Into an FM Transmitter by bhousel on Wednesday January 23, 2013 @09:32AM (#5103154)
http://en.wikipedia.org/wiki/Part_15_%28FCC_rules%29

Unlicensed broadcasts on the FM broadcast band (88 to 108 MHz) are limited to a field strength of 250 µV/m at a distance of 3 meters from the antenna. This is equivalent to 0.01 microwatts.[2] Emissions must be kept within the 88.0 to 108.0 MHz band under Part 15 rules.

Re:Turning the Raspberry Pi Into an FM Transmitter by jdietrich on Wednesday January 23, 2013 @11:26AM (#5103733)
Emissions must be kept within the 88.0 to 108.0 MHz band

Without a spectrum analyser, you have absolutely no idea how much energy is being emitted on other frequencies. A crude unfiltered transmitter of this sort is probably emitting more spurious energy than on the intended frequency. Ignorance is no defence and it is the obligation of the operator to ensure that their transmission is compliant.

Lots of serious, life-or-death stuff depends on radio. The FM broadcast frequencies are directly adjacent to the VHF Airband, either side of 108MHz. The lowest part of the Airband is allocated to VOR and ILS navigation aids. Transmit a couple of watts on 107MHz and you're just going to interfere with broadcast radio; A couple of watts on 109MHz could take down a light aircraft. If you're going to experiment, you have a moral duty to get yourself an amateur license and ensure you have the skills and equipment to be a good neighbour.

Re:Turning the Raspberry Pi Into an FM Transmitter by bigiain on Wednesday January 23, 2013 @06:03PM (#5105889)
While I agree with everything you say, this:

"A couple of watts on 109MHz could take down a light aircraft."

is without doubt the sort of unnecessary hyperbolic statement that leads directly to the modern security-theatre over reaction. Sure, it might lead to navigation problems which combined with enough other co-incidental bad luck might lead to a crash, but the reductio ad absurdum statement "$30 worth of widely available electronics could crash a Cessna" would surely lead to an entirely justified call from Cessna's legal department if published prominently enough.

Yeah, fucking around with poorly controlled transmitters in the FM broadcast band isn't a great idea. but telling people "you'll crash planes!" is a sure-fire way to have the rest of your message's reliability questioned.

(And, for the record, I'm going to try this out with my RaspberryPi and see if I can get some sort of handle on unexpected emissions using my FunCube software radio to listen above and below the tx frequency...)

Re:Turning the Raspberry Pi Into an FM Transmitter by bathat on Wednesday January 23, 2013 @09:09PM (#5106689)
While it may be true that jamming a VOR signal is unlikely to cause a crash without other co-incidental bad luck, consider this: The localizer portion of ILS operates on those frequencies, too.

I don't think it's all that far-fetched to imagine that an unfiltered transmitter like the one described could generate signals which 'trick' the localizer receiver and guide a low-flying airplane into an obstruction which is technically outside, yet near, the approach path. (The wikipedia page on ILS describes how it works, so I won't repeat it here.) AMing the right carrier with 150 and 90 Hz tones (which really means generating carrier + and - 150 Hz and carrier + and - 90 Hz) would cause the localizer to show the plane centered on the glide path, even if it isn't.

Re:Turning the Raspberry Pi Into an FM Transmitter by lucaspiller on Thursday January 24, 2013 @07:07AM (#5109100)
I agree that if you intentionally try to jam it using something like this you may be able to, however to unintentionally as a side effect of mucking around with FM transmissions seems unlikely.

Also I suspect the actual ILS transmitters are a lot more powerful, so unless you have this on the plane it probably wouldn't do anything.

Re:Turning the Raspberry Pi Into an FM Transmitter by Nrsolis on Wednesday January 23, 2013 @11:33AM (#5103767)
Agree.

Amateur radio operators have dummy loads and SWR meters to make sure that the signal they are putting out isn't stomping on some other critical portion of the RF band. Experimentation is a good thing, but this is the equivalent of someone being disturbingly careless experimenting with chemicals in their home "lab." The chance you could cause a serious problem with contamination for your neighbors is small but definitely non-zero.

Re:Turning the Raspberry Pi Into an FM Transmitter by ul5255 on Thursday January 24, 2013 @01:32AM (#5107966)
I fail to see how a dummy load and a SWR meter will help to make sure you don't disturb other (portions of) RF band(s). To assess this you must look into the spectral purity of your signal. You do this with a spectrum analyzer (or equivalent). The SA is already 50 Ohms terminated so you at most need attenuators for your transmitter. The SWR meter will tell you if your transmitter is matched to your antenna. If not you might kill the final stage of your transmitter. SWR doesn't tell you something about radiating unwanted frequencies.
Re:Turning the Raspberry Pi Into an FM Transmitter by Nrsolis on Saturday January 26, 2013 @01:42PM (#5121244)
You are correct about the SWR only measuring the matching of your output to the antenna. But consider this: a signal with lots of harmonics (read: outside of your band intended RF signals) is going to make a 1:1 SWR match harder to achieve. If you've cut your antenna to the right length and you're not getting close to the match you need, something is wrong. It's a rough measurement to be sure, but decent in a pinch.

That said, you should always use a dummy load when working with a new transmitter project. SA is always a good idea, but I've been in a lot of shacks that didn't have one.

Of course, this guy used a FM radio to check his signal. He should have used a scanner and checked out the multiples of his center freq.

Re:Turning the Raspberry Pi Into an FM Transmitter by jlgreco on Wednesday January 23, 2013 @12:11PM (#5103960)
Surely you can put a maximum on whatever you might be accidentally transmitting. Those GPIO pins are 3V, and you are not going to get many amps through that board.

How many "couple of watts" are we talking about? I don't see this being capable of more than single digits.

Re:Turning the Raspberry Pi Into an FM Transmitter by jrabone on Wednesday January 23, 2013 @01:28PM (#5104419)
Does it matter? The UK legal interference limit is 50 NANOwatts (prior to the Wireless Telegraphy (Exemption) (Amendment) Regulations 2006 ALL unlicensed FM transmitters were strictly illegal). This is almost certainly capable of exceeding that, perhaps even with just a bent wire antenna (and almost certainly with a tuned antenna). There are good reasons why those limits exist, and infringement can carry penalties up to a £5000 fine.
Re:Turning the Raspberry Pi Into an FM Transmitter by jlgreco on Wednesday January 23, 2013 @01:38PM (#5104485)
Oh, I am certainly not saying it is legal.
Re:Turning the Raspberry Pi Into an FM Transmitter by ja27 on Wednesday January 23, 2013 @02:34PM (#5104813)
Low-power amateur radio (QRP) enthusiasts communicate many miles apart with well under 5 watts.
Re:Turning the Raspberry Pi Into an FM Transmitter by jlgreco on Wednesday January 23, 2013 @02:44PM (#5104872)
I guess my hangup here is that it seems like a <10W (with a raspberry pi's GPIO and no amp, we are probably talking <1W in reality, but throw on a factor of 10 for safety) RF circuit with an antenna a few cm long seems really easy to make by accident, let alone on purpose.

It is illegal sure, and these people shouldn't be doing it intentionally, but I have a hard time seeing it causing damage measurable in actual dollars.

Re:Turning the Raspberry Pi Into an FM Transmitter by sliverstorm on Wednesday January 23, 2013 @03:41PM (#5105152)
That's no justification for doing it on purpose.
Re:Turning the Raspberry Pi Into an FM Transmitter by jlgreco on Wednesday January 23, 2013 @03:48PM (#5105179)
I'm not trying to justify what they are doing, just get a handle on how much damage they could be doing by breaking the rules in this way, not how much damage they could be doing by breaking the rules in general.
Re:Turning the Raspberry Pi Into an FM Transmitter by na85 on Wednesday January 23, 2013 @03:01PM (#5104963)
On much different frequencies.
Re:Turning the Raspberry Pi Into an FM Transmitter by dpeck on Wednesday January 23, 2013 @12:42PM (#5104133)
How do you have a moral obligation to get licensed? Isn't the moral duty not to be an ass an interfere with others? What does being licensed have to do with anything?
Re:Turning the Raspberry Pi Into an FM Transmitter by mark-r on Wednesday January 23, 2013 @01:19PM (#5104363)
In this case being licensed means getting an independent opinion that you know what you're doing. If you don't, you might "be an ass and interfere with others" without even knowing it.
Re:Turning the Raspberry Pi Into an FM Transmitter by meaty on Thursday January 24, 2013 @09:45AM (#5109713)
A couple of watts on 109MHz could take down a light aircraft.

Only if the pilot is a fuckwit.

Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @12:07PM (#5103944)
That is not the only relevant FCC rule. There are several swaths of public use spectrum in the USA.

Private Land Mobile Radio Service http://en.wikipedia.org/wiki/Business_band#Low-band_frequenc...

Re:Turning the Raspberry Pi Into an FM Transmitter by andyking on Wednesday January 23, 2013 @09:26AM (#5103119)
I don't suppose it's any more than a few mW - Ofcom don't seem to be interested in / able to remove the many high-power pirate radio stations, often with awful dirty signals, dotted around the UK (particularly London) so this would be a long way down their list of priorities! Even in rural Yorkshire, I get the "delights" of Phatt 100 and others every weekend.

Agreed though - anything throwing unwanted noise onto the RF spectrum is a Bad Thing, however low-power it is (see powerline networking).

Re:Turning the Raspberry Pi Into an FM Transmitter by synx508 on Thursday January 24, 2013 @05:25AM (#5108774)
You might be interested in this response to a FOI request on the subject of pirate radio enforcement action. http://www.whatdotheyknow.com/request/141864/response/351401...
Re:Turning the Raspberry Pi Into an FM Transmitter by meaty on Wednesday January 23, 2013 @09:50AM (#5103269)
TBH they're not really interested I understand as the FM broadcast band is on its way out in the UK.
Re:Turning the Raspberry Pi Into an FM Transmitter by andyking on Wednesday January 23, 2013 @10:11AM (#5103380)
This isn't true - I'm in the radio industry. High-level discussions have been taking place on the future of DAB digital radio, but there are no plans to switch off FM radio. It's FUD that's been spread over the past few years.

At the very most, we will see a migration of national (and possibly large regional) stations to DAB in the next decade. FM will still remain up and running for local commercial and community radio - and an expansion of this is planned once the spectrum currently used by national broadcasters is released. The current FM and MW spectrum is of little use for new technology like mobile broadband - they are more interested in the current TV spectrum and up into the GHz bands.

All this is currently under discussion, though, and nothing is confirmed. The status quo remains for now!

Re:Turning the Raspberry Pi Into an FM Transmitter by CJefferson on Wednesday January 23, 2013 @10:25AM (#5103439)
Sorry to jump in with a random reply.

I've always been interested (just out of interest) to get an understanding of what the whole spectrum looks like, which bits are good (and why), and which bits are currently taken by what and could be used by other things.

Is there any good place I could find such a thing that you know of?

Re:Turning the Raspberry Pi Into an FM Transmitter by andyking on Wednesday January 23, 2013 @10:51AM (#5103567)
In the UK, Ofcom provide quite a good overview of spectrum allocation here: http://spectruminfo.ofcom.org.uk/

This rather psychedelic PDF is linked from the above page: http://www.roke.co.uk/resources/datasheets/uk-frequency-allo...

It doesn't say which allocations are good or bad - just what each slice of spectrum is used for. People like the mobile operators are only really interested in spectrum above the 800MHz area. This is where the competition for spectrum and billion-pound licence auctions come into play.

Cellular companies are interested in line-of-sight frequencies in the UHF and SHF bands, where range is smaller but robustness of coverage is high. Then, they just blanket their desired area with cellular towers. VHF travels further, at the expense of robustness - it's ideal for broadcasting, but not for two-way data services. If you cleared FM and transplanted the existing 3G service onto, say, 100MHz, you'd find all sorts of interference issues.

87.5-108MHz, for instance, is used for FM broadcasting all over the world (except Japan where it's down in the 70s). The receivers will be available for the foreseeable future - certainly for my lifetime. If the band was vacated and all radio migrated to digital, the pirates would simply use it. It is of such little value - so it may as well be kept, rather than switching to digital for its own sake.

Re:Turning the Raspberry Pi Into an FM Transmitter by tomsaffell on Wednesday January 23, 2013 @11:54AM (#5103890)
In terms of 'good / bad', it's basically a trade-off between bandwidth and distance the signal can travel. A high carrier frequency allows a higher bandwidth[1], but it doesn't travel far/well. A low frequency can travel far, but doesn't support high bandwidth. So there is a sweet-spot (which is currently considered 'good') that achieves a balance of BW and distance. There's a great guide here:

http://www.bbc.co.uk/rd/pubs/spectrum/bbc-the-spectrum-and-i... (see page 5)

1] the carrier frequency doesn't itself determine the bandwidth, it's the frequency range that does. For example, if someone says "a 100 Mhz signal", that doesn't tell you what the bandwidth is. You need to also know that the signal is actually allowed to cover 99.9 Mhz to 100.1 Mhz, so it's bandwidth is 0.2 Mhz (which could transfer ~0.2Mbps (order of magnitude accurate), depending on the encoding system used[2]). But if someone says "a 100 Mhz signal" you can guess that they don't mean the signal is allowed to cover 70 Mhz to 130 Mhz (60 Mhz of bandwidth), because: a) that's a ~2x range in frequency, which make it hard to design appropriate aerials, filters, modulators, etc; b) that isn't how spectrum is actually allocated anywhere I know of. So in practice you can normally deduce the approximate bandwidth by knowing the carrier frequency. Apologies for the long explanation - I've been nitpicked before on this..

2] see: http://en.wikipedia.org/wiki/Nyquist_rate, http://en.wikipedia.org/wiki/Bit_rate

Re:Turning the Raspberry Pi Into an FM Transmitter by celticninja on Wednesday January 23, 2013 @09:53AM (#5103287)
pirate radio stations have a long history especially in London, they frequently try to take them down, but so do rival radio stations try to take out their competitors radio stations too.

Anyway, the FM band is still in use, see the furore over iTrip or similar devices that were at a time banned in the UK as the law said you needed a license to broadcast on FM.

The FM band is still in use and even when radio goes digital AFAIK the idea is that the FM band would be available for alternative use once radio stations no longer require it.

Re:Turning the Raspberry Pi Into an FM Transmitter by andyking on Wednesday January 23, 2013 @11:39AM (#5103802)
The current modus operandi of most pirate radio operators is to run as a legitimate internet radio station - remove all reference to the FM broadcast frequency from the website and promotional materials, promote yourself as "the internet's no.1 grime station" or whatever.

Then, when Ofcom come calling, the FM transmission is "someone relaying our internet broadcast, we don't know who it is."

Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @11:54AM (#5103891)
Hams solved all the issues I saw mentioned in the article 100 years ago.

In the USA, it will be easy to break laws with this device. However, since the 1980s there has not been field enforcement by uncle Charlie (the FCC). Licensed users must complain a lot to get a response.\

For example, several times in CA police radio repeaters have been cross patched into HAM radio bands. No prosecution.

Now, all that being said, jamming is the worst sin a radio operator can commit. Please be careful if you start transmitting. Not out of fear, but out of being a good operator.

Re:Turning the Raspberry Pi Into an FM Transmitter by meaty on Wednesday January 23, 2013 @02:18PM (#5104715)
I have been the worst operator - a 12v car battery with a large file brushed across the terminals :)

That interfered with EVERYTHING.

25 years later, an EE degree and 5 years working RF comms engineering, I realise what an asshat thing to do that was.

Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @03:14PM (#5105037)
I thought you were trolling at first!
Re:Turning the Raspberry Pi Into an FM Transmitter by jjwiseman on Wednesday January 23, 2013 @12:37PM (#5104106)
Hams, too.
Re:Turning the Raspberry Pi Into an FM Transmitter by mark-r on Wednesday January 23, 2013 @10:26AM (#5103441)
The replies to this comment are missing your point. It's not just the power of the FM signal, it's the amount of extraneous junk outside the FM band that will be a problem. This is a very dirty signal generator.
Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @01:56PM (#5104589)
Filter functions

Four general filter functions are desirable:

    Band-pass filter: select only a desired band of frequencies
    Band-stop filter: eliminate an undesired band of frequencies
    Low-pass filter: allow only frequencies below a cutoff frequency to pass
    High-pass filter: allow only frequencies above a cutoff frequency to pass


http://en.wikipedia.org/wiki/RF_and_microwave_filter#Filter_...
Re:Turning the Raspberry Pi Into an FM Transmitter by Adirael on Wednesday January 23, 2013 @09:32AM (#5103151)
Nah, they sell small FM transmitters you hook up to your MP3 in order to get the audio on your car audio system, this is kinda similar I guess (link is down for me at the moment).
Re:Turning the Raspberry Pi Into an FM Transmitter by MBCook on Wednesday January 23, 2013 @12:17PM (#5103988)
No, those have to comply with FCC regulations to ensure that the signal they are sending out isn't stomping over all the other bands.

This has no filtering at all.

Re:Turning the Raspberry Pi Into an FM Transmitter by noonespecial on Wednesday January 23, 2013 @01:35PM (#5104464)
Not the ones you get on eBay from china. I was finally able to drag a handful of them over to someone who had a decent spectrum analyzer and was duly horrified.
Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @03:15PM (#5105041)
There is far less noise on a proper antenna with filters. Hams deal with these issues all the time.
Re:Turning the Raspberry Pi Into an FM Transmitter by darkarmani on Wednesday January 23, 2013 @09:39AM (#5103202)
What is the power output of something like this? Would the FCC even care?
Re:Turning the Raspberry Pi Into an FM Transmitter by exhilaration on Wednesday January 23, 2013 @09:52AM (#5103282)
They say, "This means that all you need to do to turn the Raspberry-Pi into a (ridiculously powerful) FM Transmitter..." and claim it's transmitting at least 50 meters away, which is far beyond what's allowed by the FCC. Not that they'd care unless someone filed a complaint.
Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @12:40PM (#5104124)
Wrong.

There are multiple rules for different spectrum.

Anyone can transmit for miles on FM in the 'green dot' / 'blue dot' spectrum. The laws were written for business, but anyone can use them.

http://en.wikipedia.org/wiki/Business_band#Overview

Re:Turning the Raspberry Pi Into an FM Transmitter by teraflop on Wednesday January 23, 2013 @02:30PM (#5104786)
But that's not the band on which this is transmitting.
Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @03:13PM (#5105036)
This can be configured in software. Pi can transmit up over 450 Mhz.
Re:Turning the Raspberry Pi Into an FM Transmitter by anthonyb on Wednesday January 23, 2013 @07:42PM (#5106357)
And with a paperclip antenna, it's leaking harmonics all over the place, not just at 450MHz or 100MHz, or whatever.
Re:Turning the Raspberry Pi Into an FM Transmitter by limmeau on Wednesday January 23, 2013 @09:52AM (#5103279)
They describe they had to get several concrete walls and a metal cabinet between themselves and the Raspi before reception stopped, so I'd say too high.
Re:Turning the Raspberry Pi Into an FM Transmitter by lifeguard on Wednesday January 23, 2013 @12:05PM (#5103936)
A license holder would have to complain to the FCC. If you jammed a commercial station they would try to track you down and seize your gear.