← Back to context

Comment by sriram_malhar

3 years ago

My MIL is 93, and the only tech she can really deal with is turning on the radio and TV and changing channels.

She is fond of music from old classics (from the 60's and earlier), so I hooked up a Raspberry PI with an FM transmitter and created her own private radio station. She tells me what songs she likes and I create different playlists that get broadcast on her station. It preserves the surprise element of radio, and there is nothing in there she doesn't like.

The tiny FM transmitter is surprisingly powerful. Her neighbours (of similar vintage) are very happy too, so their requests have also started coming in :)

EDIT: I wanted to add that I am the UI ... she doesn't get to choose the playlist. To make my life easier, I just created different playlists for different times of the day ... calm/spiritual/slower numbers in the early and late hours, peppy during the late morning and evening etc.

Cool.

For the others: You don't even need a transmitter to do some experiments, you can use just one IO Pin for this:

https://nerdiy.de/en/raspberrypi-send-fm-signals-by-gpio-pin...

Furthermore, you can use something like https://volumio.com/en/ build an RFID Box https://pilabor.com/projects/labelmaker/#products-to-build-t... (my daughter used this when she was 2 years old)

  • You should know this is heinously irresponsible and very illegal unless you apply proper filtering. Bashing the GPIO pin adds a ton of harmonics that fall outside the broadcast band, up into aircraft and military and who-knows-what other frequencies.

    The README goes over this, but if people keep blindly ignoring it, expect regulators to figure out a way to make our lives a lot less fun.

  • I am absolutely LOVING Volumio. It's running in a VM in my garage computer that does various other things. At the time, Volumio didn't have a clean way to do this so I just hacked away until it booted and played music.

    A little USB sound card is passed through to the VM and it's been rock solid for about 2 years now. I use it exclusively as a Spotify chromecast type thing that cost me about $3.50 in parts.

  • Phoniebox is a great project, based on mpd and Mopidy. Hopefully Spotify playback will be fully supported again soon.

  • Any clue how powerful the "one IO pin" approach is compared to a dedicated FM transmitter?

    • A standard 3.3V GPIO can typically push something like 30 to 60 mW. You won’t get all of that as transmitted signal — it will depend on how well your random antenna wire matches the impedance of the gpio and the frequency. I’m really not sure the audio quality is going to be anything more than just intelligible, but I’d guess you’d get at least 10 mW or so of useful power, which means it should generally work within a small house.

For the true feeling of radio, you might throw some episodes of The Big Broadcast on there as well - I believe archive.org has some but they're easily findable elsewhere. Donate some money to WFUV[1] or buy some of the collections[2] if you just want the music.

[1] https://en.wikipedia.org/wiki/WFUV

[2] https://rivermontrecords.com/search?type=product&q=big+broad...

> The tiny FM transmitter is surprisingly powerful. Her neighbours (of similar vintage) are very happy too, so their requests have also started coming in :)

Sounds like you're about to start a Radio station for the nation.

OP seems from India and AFAIK its illegal to transmit on FM frequencies without a license. I understand it might be low powered but theres a chance of Police coming knocking on the door. Whats worse is it might interfere with emergency services. There is a reason we have spoctrum licences.

  • I know. It is illegal in most parts of the world. I'm taking over a commercial FM channel that my MIL won't listen to, and the transmitter has about a 20m radius.

    If the police come, I'll use the Constanza "Was that wrong?" defence.

    https://www.youtube.com/watch?v=-RvNS7JfcMM

    • ... I've always been amazed how often "Was that wrong?" works.

      I guess I shouldn't be. Even letting them know you were fully aware you were breaking the law, most people would see its intended purpose -- to bring a little peace and comfort to a very old woman -- and have their own compassion kick in.

      YMMV but I'm guessing you'd hear something along the lines of "Oh,... well,... (shuffles feet) ... just turn it off, then". Many of us have elderly people in our lives we wish we could provide some comfort to and most of us know we're headed there (if we're lucky to live that long). You know, assuming your 20m radius FM transmitter didn't, say, cause some cataclysmic event/knock emergency services offline for several city blocks, etc.

      Put another way, while some police actually will pull you over and write you a ticket for going a couple of miles (km) per hour over the speed limit, most won't waste the brain power/physical energy/thermal paper to bother enforcing it.

      2 replies →

    • I’ve had much better luck with 100% honesty. Just say you set up a 20m transmitter to improve the life of a 93 year old woman.

      I bought a house in my very early 20s. Roommates of mine finished the third floor with no permits. Went to sell the house ten years later and the location it was in required a U&O inspection. My realtor told me to lie, apply for a permit and pretend I just did the work.

      Instead I called the local building inspector and said, “Hello my name is xxx and I’m calling to confess.” He cracked up laughing, came to the house immediately to look at everything and told me I was fine.

    • I hope they don't know how to use Google and if they do that that is a pseudonym you're posting under here or you might be in bigger trouble than you started with ;)

      Anyway, cool to see you hack this, maybe try to tweak the power levels a bit so the neighbors don't have a reason to talk about it.

      6 replies →

  • It is Hacker News after all. And that's probably like jaywalking of RF violations. I'd be more afraid of the copyright people.

    • In the UK, if you break the law, they'll confiscate anything physically wired to it, computer included.

    • Where I live, this is absolutely not the jaywalking of RF violations. In Germany, if it is proven that your signal was potentially interfering with emergency services, you will be liable for any damage to victims in civil courts. And if somebody dies in your area because the emergency services couldn't get there on time, you will be criminally charged for "negligent manslaughter."

      I wouldn't play at all with non-approved RF frequencies personally.

      10 replies →

  • Yes, technically it is illegal. But I've seen all kinds of gizmos that would inject a signal into the FM band to allow the use of car stereos that didn't have an 'aux' input. At those power levels the FCC isn't going to be bothered unless someone lodges a complaint, and even then they'll have a hard time finding the source unless they're practically standing on top of it. OP may want to turn down the radiated power until it just works for his MIL but no longer for the neighbors.

    •   > Yes, *technically* it is illegal.
      

      Oh how many phrases start "Yes, technically" in my life.

      The law is an interesting beast. I know nothing about the law in India as it relates to FM band transmitters but I suspect that the law predates the common availability of adapters that one might use in ones car to add an input to a stereo that lacks such a highly technical circular hole for such purposes[0]. Once these devices gained wide adoption due to both their utility and -- more generally -- the fact that operating one is usually so benign that they can be difficult to discover let alone actually cause enough interference to warrant them to be seized.

      The intention of the law was to prevent someone from operating a pirate radio station/give exclusivity to a single license-holder for that frequency. Since these devices don't violate the spirit of the law, the governing body finds it easier to carve out an informal exemption rather than explicitly write one in. It can also be tricky to correct a law that has a very valid reason for existing but may have cases where total enforcement isn't realistic[1].

      The law may not have caught up to the reality on the ground and the legislatures answer to it is "enforce it when the interference is enough that someone notices." One might imagine a world where something akin to TV Detector-like Vans[2] drape the country-side in a dragnet to catch all of those pirate FM-input-devices but that usually only happens if there's a substantial amount of tax revenue to be gained ... to pay for the vans.

      [0] I had one of these in the 90s (in the US, where it's not illegal if designed correctly) that connected my Discman to my ridiculously sad factory radio which lacked both external input and even a cassette deck.

      [1] I do very little with regard to radio communication (if that isn't obvious) but I'd imagine most lawmakers do even less, so now you have to bring in experts to figure out "what's an acceptable amount of interference in this specific use case" and "how should a device like this be restricted." Not that government isn't famous for wildly wasting money or anything but I'd imagine the thinking is that it's not worth the effort to correct.

      [2] https://en.wikipedia.org/wiki/TV_detector_van

      4 replies →

    • But quaintdev is right in that Indian Police for some reason takes this somewhat seriously. For highway patrol, I suspect it's boredom and this gives them something to chase. I remember in the late 90s when I was in college, the police showed up a couple of times when students were transmitting from one of the hostels. They'd let it go, but they did show up.

      1 reply →

  • If we ever have a world apocalypse and I’m alone, I know I can at least conjure one companion by suggesting I would use spectrum without a license and a ham enthusiast will appear.

    • <Dusts off Ham Licence> Anyone can use amateur frequencies in a genuine “no other communication options available” emergency, if I remember the regulations correctly.

      Edit: “§ 97.403 Safety of life and protection of property. No provision of these rules prevents the use by an amateur station of any means of radio communication at its disposal to provide essential communication needs in connection with the immediate safety of human life and immediate protection of property when normal communication systems are not available.”

  • Illegal in India maybe. In the US: "In the United States, Part 15 of the U.S. Federal Communications Commission rules specifies that no license is needed if range of the transmitter does not exceed 200 feet (61 meters), although the Part 15 rules specify that the field strength should not exceed 250 µV/m (48db) at 3 meters"

    I haven't found the exact law in India, but looks like maybe it's legal for personal usage of FM provided power of transmitter is under 500 mW?

  • Worth noting that there already exists a product in the Indian market by a big music label that addresses this exact issue. I’ve bought my grandfather one of those and he’s very happy with it!

    • Do you mean the saregama Caravaan? If so, I bought her one of those and it just didn't cut the mustard.

      The built-in collection either didn't have songs that she liked (from the '40s), or they weren't clustered together, or were mixed up with other songs.

      I could load a flash disk with her playlist to plug into that player, but it wouldn't know what to play at what time (calm songs in the early and late hours, peppier numbers on other days, festival specific numbers on some days). This was a big deal. I can even change the playlist from elsewhere (a script automatically mirrors the playlist that I maintain on a server)

      Bluetooth streaming is possible with the device, but not an option for my MIL ... that would require her to learn to use a cellphone.

  • I don't know if you are from India but our laws are so complicated that I am sure every moment we are breaking one or the other. If we constantly worried about which ones we are breaking we would never get anything done!

I love how this requires ZERO learning effort on her part, she simply has a personalized ratio station rather than whatever someone else puts on.

The internet archive has tons of old radio shows too; my favourite is The Adventures of Sherlock Holmes, which aired in the early 40s. Best thing is that it also has the original ads in there. “Now that the poultry shortage is over, why not enjoy a glass of wine with your Sunday chicken roast?”

Might be cute to include some old original programming in your pirate radio!

https://archive.org/details/sherlock-holmes-1939-11-06-6-the...

wow, I really enjoy the idea that basically, she just uses what works for her with better content. Really nice work

Would love to see a blog about this setup. I, not old, always want to dump much of my music & simply want to listen whatever is next (& miss it if I don't listen) just like radio.

  • Have you seen Icecast [1]? You create playlists of local music, then play them with something like mpd. Icecast then streams them out and clients like VLC, xmms2, and even older versions of Winamp can stream it.

    I set this up for all my music in shuffle mode for my own radio-like always on streaming service via Tailscale.

    1. https://icecast.org/faq/

    • I’ve wanted to try something like this with a Pi or something else running Linux. Is mpd a good choice for that scenario? Does it support being able to use custom events eg a button on the gpio for play/pause?

      1 reply →

I used to work construction with one of those big old radios covered in paint that has been dropped 1000 times--we got around to using an FM transmitter dangling off the phone for it. It was fun + charming, since then I've thought about getting a big radio setup and hard-wiring Bluetooth in but your setup sounds truer to the concept.

Did you have to apply for some kind of permit to do that? Or is it low power enough that FCC doesn't care?

  • FWIW there are many transmitters similar to what they built that enable playing MP3 players, phones and other things on old radios [1]. I do not remember what the power limit is but no permit is required. They can operate throughout the entire FM broadcast spectrum. If they are broadcasting good music in an elderly community I doubt anyone will complain.

    [1] - https://www.amazon.com/dp/B08L3WX26S/

    • Several homes in my city put up holiday lights that are synced to music and transmitted over FM. The signal only works if you’re parked near the house.

Very cool. Do you connect it to Spotify or to an MP3 collection?

  • From my MP3 collection. I buy the songs or albums she likes and broadcast them. For some that are not on sale anywhere, I scrape them off youtube, but usually send a note to that channel for original sources where I can pay for it.

    • Cool! I asked because there are many niche playlists on Spotify you can find for oldies, for example some very specific for the 60s, 50s, 40s, etc. Perhaps it could help her discover similar, but new, music.

This is inspirational for my gaggle of non-tech, super-senior relatives. Thanks so much for sharing.

Earth Angel, will you be mine…

How about a speech synthesis DJ, “that was Foo McBar from 19XX”?

  • Since I've been playing around with Piper Text-to-Speech & the associated LibriTTS voice model, I couldn't resist:

    * https://rancidbacon.gitlab.io/piper-tts-demos/#various_radio...

    If the six speakers I selected for the demo don't match your taste in DJs, there's around 900 more in that voice model to try... :D

    (The 3 audio players differ only in file format & whether I ran the output through normalization.)

    Also, I was pretty impressed/surprised at the quality of their pronunciation of the meta-syntactic variables. :)

    • They all sound out of breath. Not sure what causes that effect/perception. Listening to it again, it seems like the plosives (like d, or t) have no pop like there was no air pressure behind them.

    • Ha, that’s awesome. Several of the voices sounded just right for radio. I see the lib is limited to 24khz, maybe why it has an almost AM radio sound?

What transmitter did you use?

  • I forget. But just search for "kit FM transmitter". I'd fully intended to build a "proper" transmitter, and was keenly disappointed that you could just buy a cheap single-chip board.

    Nowadays you don't even need that. You can turn the RPi itself into an FM transmitter. Search "how to FM broadcast on raspberry pi"

    • > You can turn the RPi itself into an FM transmitter.

      Never tried it, but given the way it works, you definitely need some output filtering unless you accept to pollute all harmonics of your channel (which might be licensed spectrum too, and interfere with services you don't want to interfere with in the first point)

  • One can go on Amazon and order himself a high powered FM transmitter direct from China. Stick an antenna in the attic and you'll be heard for miles. If you don't gaf about spurious emissions or laws or anything like that you too can be Christian Slater in Pump Up the Volume. The fines for this in the US can be pretty severe but Amazon is happy to sell you the rope to hang yourself with free shipping.