Most active commenters
  • sriram_malhar(6)
  • jacquesm(4)

←back to thread

1901 points l2silver | 102 comments | | HN request time: 1.385s | source | bottom

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
1. sriram_malhar ◴[] No.35738249[source]
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.

replies(25): >>35738302 #>>35738315 #>>35738393 #>>35738432 #>>35738542 #>>35738575 #>>35738587 #>>35738736 #>>35739651 #>>35739777 #>>35740536 #>>35740720 #>>35740775 #>>35740917 #>>35741401 #>>35741960 #>>35742554 #>>35742557 #>>35743709 #>>35744493 #>>35747963 #>>35748124 #>>35753931 #>>35755556 #>>35764329 #
2. davchana ◴[] No.35738302[source]
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.
replies(1): >>35738746 #
3. tipsysquid ◴[] No.35738315[source]
I love this for her and for me. Best gift you can give to a music lover
4. neodypsis ◴[] No.35738393[source]
Very cool. Do you connect it to Spotify or to an MP3 collection?
replies(1): >>35738518 #
5. LeoPanthera ◴[] No.35738432[source]
What transmitter did you use?
replies(2): >>35738533 #>>35741273 #
6. sriram_malhar ◴[] No.35738518[source]
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.
replies(1): >>35738563 #
7. sriram_malhar ◴[] No.35738533[source]
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"

replies(2): >>35738657 #>>35738695 #
8. jay3ss ◴[] No.35738542[source]
I love it. Not only is this wholesome, it's pretty cool too
9. neodypsis ◴[] No.35738563{3}[source]
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.
10. quaintdev ◴[] No.35738575[source]
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.
replies(10): >>35738616 #>>35738864 #>>35738922 #>>35738934 #>>35739137 #>>35740605 #>>35740729 #>>35740791 #>>35741192 #>>35751369 #
11. sandreas ◴[] No.35738587[source]
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)

replies(4): >>35739380 #>>35741564 #>>35743841 #>>35746742 #
12. sriram_malhar ◴[] No.35738616[source]
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

replies(4): >>35738893 #>>35739337 #>>35740299 #>>35740703 #
13. idonotknowwhy ◴[] No.35738657{3}[source]
You do still need that. The broadcast from gpio thing is very low quality and produces square waves which interfere with everything
replies(1): >>35740687 #
14. ale42 ◴[] No.35738695{3}[source]
> 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)

15. zimpenfish ◴[] No.35738736[source]
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...

replies(2): >>35740759 #>>35741808 #
16. ecliptik ◴[] No.35738746[source]
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/

replies(1): >>35738924 #
17. jacquesm ◴[] No.35738864[source]
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.
replies(3): >>35739716 #>>35740479 #>>35740585 #
18. jacquesm ◴[] No.35738893{3}[source]
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.

replies(2): >>35738980 #>>35739020 #
19. exitb ◴[] No.35738922[source]
It is Hacker News after all. And that's probably like jaywalking of RF violations. I'd be more afraid of the copyright people.
replies(2): >>35739021 #>>35748577 #
20. lloydatkinson ◴[] No.35738924{3}[source]
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?
replies(1): >>35739874 #
21. Mistletoe ◴[] No.35738934[source]
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.
replies(1): >>35739046 #
22. ktzar ◴[] No.35738980{4}[source]
The FCC allows personal FM transmitters to operate with a maximum power output of 250 microvolts per meter at a distance of 3 meters. Other countries are more permissive, so this is not a problem. As long as you don't interfere with anyone and emit in a band that's not used in the area, it's perfectly fine.
replies(2): >>35739144 #>>35739178 #
23. Cypher ◴[] No.35739020{4}[source]
I'll tell them it was me to protect Spartacus.
24. acatton ◴[] No.35739021{3}[source]
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.

replies(7): >>35739373 #>>35739549 #>>35739669 #>>35739770 #>>35740095 #>>35740631 #>>35744631 #
25. implements ◴[] No.35739046{3}[source]
<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.”

26. _thisdot ◴[] No.35739137[source]
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!
replies(1): >>35739946 #
27. vonseel ◴[] No.35739144{5}[source]
I was curious what kind of range that might have, so I put what you said into chatgpt and asked what the range of a typical car or home stereo would be, and it gave me this (not sure if it's correct). FWIW, much less than 20 miles, haha.

-- The maximum power output of a personal FM transmitter allowed by the FCC is 250 microvolts per meter at a distance of 3 meters. The range of the transmitter depends on various factors such as terrain, obstructions, and interference.

Assuming ideal conditions, such as no obstructions or interference, the range of the transmitter can be calculated using the inverse square law. This law states that the strength of a signal decreases with the square of the distance from the source.

At a distance of 3 meters, the signal strength would be 250 microvolts per meter. At a distance of 6 meters, the signal strength would be 62.5 microvolts per meter (250/4). At a distance of 9 meters, the signal strength would be 27.8 microvolts per meter (250/9).

Typical car and household stereos have a sensitivity of about 2 microvolts per meter. Using this sensitivity value, we can calculate the range of the transmitter for these devices.

For a car stereo, the transmitter would have a range of about 26 meters (square root of 250/2). For a household stereo, the transmitter would have a range of about 63 meters (square root of 250/0.5).

However, in reality, the actual range of the transmitter may be shorter due to various factors such as interference and obstructions.

replies(2): >>35739179 #>>35739276 #
28. srcreigh ◴[] No.35739178{5}[source]
Makes sense. I’ve seen Bluetooth fm dongles for cars to this effect. The dongle connects to your phone on Bluetooth and the old car can listen to your Spotify via the radio.
29. Nition ◴[] No.35739179{6}[source]
> FWIW, much less than 20 miles

For the record I'm sure OP meant his has a range of 20 metres

30. casmaxima ◴[] No.35739276{6}[source]
sbcl: (* (sqrt (/ 250 2)) 3) => 33.54 meters, the factor that amplifies distance is the square root of the factor of signal strength.
31. eastern ◴[] No.35739337{3}[source]
Yeah no one will bother with such a low-powered device. I used an in-car bluetooth-to-FM tranmitter bought from Amazon India for years. They've been sold openly since forever. Like this one: https://www.amazon.in/Portronics-AUTO-10-Bluetooth-Car/dp/B0...
replies(2): >>35740801 #>>35746873 #
32. nsteel ◴[] No.35739380[source]
Phoniebox is a great project, based on mpd and Mopidy. Hopefully Spotify playback will be fully supported again soon.
33. sigg3 ◴[] No.35739486{5}[source]
No need to be rude.

As someone who's worked in telecom for a number of years, the fines for broadcasting I've seen issued to individuals are insane. Not just radio but wireless amplification too. Different European country though.

Always check the legislation in the country of operation. Emergency frequencies are held sacred by the powers that be.

replies(1): >>35739585 #
34. 6510 ◴[] No.35739549{4}[source]
like the Indians said, you want to buy the sky too?
35. lapser ◴[] No.35739651[source]
> 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.

replies(2): >>35741117 #>>35741134 #
36. detaro ◴[] No.35739669{4}[source]
In Germany (like afaik all the EU), you can also freely buy and use small low-power FM transmitters for exactly the use case of sending your own music to radios...
37. jeswin ◴[] No.35739716{3}[source]
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.
replies(1): >>35739803 #
38. RobotToaster ◴[] No.35739770{4}[source]
If a low power FM transmitter on commercial frequencies can interfere with your emergency services, you may have bigger problems. IIRC they have their own specific frequencies.
39. mihaaly ◴[] No.35739777[source]
: ))
40. jacquesm ◴[] No.35739803{4}[source]
At what levels of power was this?

I suspect the OPs transmitter is hard to detect even at close (< 100 meters > 30 meters) range. Anything more powerful and you would definitely attract attention.

41. nsteel ◴[] No.35739874{4}[source]
mpd is a great choice, there are lots of things built around it. Essentially, you'd have the GPIOs trigger mpc commands. mpc talks MPD over the network back to the mpd server, so you could have physical controls all around the place.

There are lots of examples online of people doing this sort of thing. There's a simple example at https://github.com/pablodo/mpd_gpio/blob/master/main.py

Even a chapter of a book about it: https://link.springer.com/chapter/10.1007/978-1-4842-2406-9_... (I just found this, no idea if it's any good).

And also an IR version at https://www.ziemski.net/rcmpd/

42. sriram_malhar ◴[] No.35739946{3}[source]
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.

43. Glemotooo ◴[] No.35740095{4}[source]
"RF violations"

In germany its also legal to use plenty of bands in the RF Spectrcum with up to 750Watts (and potential more).

We are also allowed to do CB Funk in Channels 1-40 without anything and up to 80/85 (forgot details) when you register with Germany.

So your statement reads more like you are not allowed to do anything in germany. Its hard to believe to disturb stable systems just because someone is doing a little bit of FM on some known frequencies.

44. mdip ◴[] No.35740299{3}[source]
... 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.

replies(2): >>35740750 #>>35750720 #
45. mdip ◴[] No.35740479{3}[source]

  > 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

replies(1): >>35742388 #
46. martinjacobd ◴[] No.35740536[source]
This made my day, thank you for sharing. Such a sweet thing to do.
47. maxerickson ◴[] No.35740585{3}[source]
Technically, it's perfectly legal under FCC regulations.

https://www.fcc.gov/media/radio/low-power-radio-general-info...

Looks like India doesn't permit it, but is looking at doing so (at least, for some purposes):

https://trai.gov.in/notifications/press-release/trai-release...

48. gilbetron ◴[] No.35740605[source]
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?

49. moooo99 ◴[] No.35740631{4}[source]
It literally took a single google search to find out that you’re wrong.

FM transmitting for private use is completely legal for UKW frequencies between 87.5 and 105 MHz and transmission powers lower than 50nW [1]. You can buy perfectly FM transmitters for your car, etch

[1] (German) https://www.autozeitung.de/fm-transmitter-bluetooth-nachrues...

50. hcrean ◴[] No.35740687{4}[source]
Pico caps and appropriate impedance miss-match can be used to round-off square waves.

But yes, if you look at high-speed Pi GPIO with a Rigol it looks more like an EKG readout than the thing you might see on a logic analyser. Smoothing it enough to feed a line-amp is very lossy.

replies(1): >>35741360 #
51. 300bps ◴[] No.35740703{3}[source]
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.

52. phkahler ◴[] No.35740720[source]
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.
53. getwiththeprog ◴[] No.35740729[source]
Post a reference to the legislation or its not real
54. sriram_malhar ◴[] No.35740750{4}[source]
Well put. Exactly my thoughts. And given my MIL's attitude towards any visitor, the cops will be plied with food and chai till they burst. They will forget what they came for :)
55. JKCalhoun ◴[] No.35740759[source]
Like this site: https://oldtime.radio
replies(1): >>35741692 #
56. nXqd ◴[] No.35740775[source]
wow, I really enjoy the idea that basically, she just uses what works for her with better content. Really nice work
57. cptaj ◴[] No.35740791[source]
Its not that limited. Check out fm transmitters on amazon.

https://www.amazon.com/s?k=fm+transmitter&ref=nb_sb_noss

This is what he means, not some bigger pirate radio situation

58. JKCalhoun ◴[] No.35740801{4}[source]
Ha ha, I must have pulled up along side you the other day.

Just kidding, I'm in the U.S. But more than a few times I have suddenly got Mexican musical content on my radio in the car when passing close to another car.

59. intelVISA ◴[] No.35740917[source]
I love this, thx for sharing :)
60. fendy3002 ◴[] No.35741117[source]
Or it'll be enough only for local area. We don't need everything to be nation-scale, local-community activities need to be promoted more.
61. MikeTheGreat ◴[] No.35741134[source]
Based on how you're asking I assuming that "Radio station for the nation" is a quote from a movie or something, but searching for it reveals surprisingly little (and is surprisingly random - Google / Bing clearly has _no_ idea what I'm looking for :) )

Is this a quote / reference to something? If so, could you let us all in on what it's referring to?

replies(2): >>35741291 #>>35752538 #
62. NelsonMinar ◴[] No.35741192[source]
Killjoy.
63. john_shafthair ◴[] No.35741273[source]
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.
64. burritofanatic ◴[] No.35741291{3}[source]
All I could think of was the song Radio, Radio. See the line about cleaning up the nation.

https://genius.com/Elvis-costello-radio-radio-lyrics

65. megous ◴[] No.35741360{5}[source]
You might want to improve your probing technique, then. :)

GPIO's usually looks quite squarey if you don't introduce parasitic reactances into the circuit with your test setup.

replies(1): >>35746144 #
66. FridayoLeary ◴[] No.35741401[source]
I have a spare rpi lying around. I know what i want to do with it now...
67. dicknuckle ◴[] No.35741564[source]
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.

68. mysterydip ◴[] No.35741692{3}[source]
Thanks for the link! I've enjoyed radio classics on satellite radio, so having an on-demand for specific genres is a welcome option.
69. noman-land ◴[] No.35741960[source]
Absolutely love this idea. Great work.
70. mindcrime ◴[] No.35742388{4}[source]
[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.

Heh. I drive a 2002 Chevy Suburban (don't laugh, I have a strong aversion to spending money on new vehicles) and it lacks an AUX input, so to this day I use one of those low-power FM transmitter adapters to pipe my phone's audio output to the vehicle stereo. They are amazingly handy little gadgets.

replies(1): >>35742584 #
71. emaginniss ◴[] No.35742554[source]
You should start selling ad time
72. umvi ◴[] No.35742557[source]
Did you have to apply for some kind of permit to do that? Or is it low power enough that FCC doesn't care?
replies(1): >>35742732 #
73. jonatron ◴[] No.35742584{5}[source]
When I had a cassette deck in my car, I added an AUX input by soldering a cable to a chip on the PCB, and running it out through the cassette slot.
replies(1): >>35746409 #
74. LinuxBender ◴[] No.35742732[source]
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/

replies(1): >>35743675 #
75. froglets ◴[] No.35743675{3}[source]
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.
76. mixmastamyk ◴[] No.35743709[source]
Earth Angel, will you be mine…

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

replies(1): >>35755382 #
77. runjake ◴[] No.35743841[source]
Any clue how powerful the "one IO pin" approach is compared to a dedicated FM transmitter?
replies(2): >>35743887 #>>35744063 #
78. sandreas ◴[] No.35743887{3}[source]
No, I'm using this in my car just for a very short range (< 200mm)
79. svnt ◴[] No.35744063{3}[source]
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.
80. wnolens ◴[] No.35744493[source]
Thanks for sharing. I aspire to such elegant projects.
81. mometsi ◴[] No.35744631{4}[source]
What would happen if you delayed an ambulance responding to an emergency by jaywalking in front of it? Could you be charged if someone died as a result?
replies(1): >>35752132 #
82. hcrean ◴[] No.35746144{6}[source]
Pi for audio frequencies is lovely and square, Pi at radio frequencies has distinct rise and fall and "just taking a moment to think about it" segments.

A spectrum analyser has probes!?!? This might be where I am going wrong... But the bench scope is largely in agreement about the distinct phases of a cycle at RF freq.

83. schwartzworld ◴[] No.35746409{6}[source]
That's a product they sell. It looks like an audio cassette with an aux cord coming out of it. I used one for years in my old grand Marquis.
replies(1): >>35746806 #
84. myself248 ◴[] No.35746742[source]
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.

replies(1): >>35748734 #
85. jacquesm ◴[] No.35746806{7}[source]
That just wires the speaker output of the device to a set of coils sitting right in front of the tape playback head. GP did an end run around that by wiring straight into the trace in between the head pre-amp and the main amp.
86. rozab ◴[] No.35746873{4}[source]
I love these things, it's so simple and it's often a better UX than any car bluetooth provides. You also used to be able to buy aux adapters that went in your cassette deck!

edit: Halfords still stocks these! https://www.halfords.com/technology/mobile-phone-accessories...

87. bazmattaz ◴[] No.35747963[source]
What app do you use to make the playlists? You could use the Spotify api for this
88. MandieD ◴[] No.35748124[source]
This is inspirational for my gaggle of non-tech, super-senior relatives. Thanks so much for sharing.
89. hammyhavoc ◴[] No.35748577{3}[source]
In the UK, if you break the law, they'll confiscate anything physically wired to it, computer included.
90. stavros ◴[] No.35748734{3}[source]
This has a range of around ten feet, so I think people are fine to tinker a bit.
replies(1): >>35753605 #
91. lostlogin ◴[] No.35750720{4}[source]
> I've always been amazed how often "Was that wrong?" works.

This is in line with Peelian principles of policing. It was explained to me by a policeman and it was fascinating. He had worked in the UK, Australia and New Zealand.

In his view, Australia was considerably harsher in its policing and NZ was at the other end of the spectrum, UK in the middle.

https://en.m.wikipedia.org/wiki/Peelian_principles

92. whinvik ◴[] No.35751369[source]
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!
93. TobTobXX ◴[] No.35752132{5}[source]
In Switzerland they can (and often will) at least fine you if you neglect to dirve to the side when encountering traffic on a highway (to form a "Rettungsgasse"[0]) to allow emergency cars to pass in the middle.

[0]: https://de.wikipedia.org/wiki/Rettungsgasse?wprov=sfla1

94. lapser ◴[] No.35752538{3}[source]
Sorry, no dice. It isn't, at least not intentionally.
replies(1): >>35863681 #
95. myself248 ◴[] No.35753605{4}[source]
Unfortunately that's not that simple. Your observation may well be the case, but that has nothing to do with whether it's going to interfere with someone else. Here's why:

(tl;dr: The output of these "transmitters" contains spurs you're not equipped to detect but which can indeed be problematic for others. Transmitters are regulated for sound physical reasons, some which are enumerated here.)

The range at which your FM receiver can pick up an FM signal may indeed be ten feet, but that's a product of the transmitter power, the transmit antenna gain, the path loss, the receive antenna gain, and the receiver sensitivity. To infer anything about one of those parameters (for this discussion, the transmit power), you have to know the other four, and you don't. (And neither do I. Even the measurements I'm equipped to make require a lot of assumptions and have significant uncertainty.)

Secondly, FM (radio folks would call this wide-FM) is particularly power-hungry because it occupies a relatively wide swath of bandwidth. Typically limited to 75kHz and in practice somewhere around 50 for analog stereo or just shy of 60 with RDS (which pifmrds can do). For example, a 104.3MHz station is actually transmitting anywhere between 104.225 and 104.375 at any given instant. This means that the receiver has to demodulate the carrier which may be varying all over that range, and it requires a fairly strong signal to do that. If the FM receiver loses lock, it doesn't mean the signal doesn't exist, merely that it's below the receiver's sensitivity.

Other spectrum users, like radar for example, may be dramatically more sensitive, and pick up a signal of the same strength many miles away. A mode that occupies less spectrum generally requires less power. They may also have better antennas (radar dishes tend to be tightly focused, that's the whole point), better receivers (local self-noise can be minimized through careful-but-costly engineering), et cetera.

They may also be above you, so while you see the signal disappearing as soon as you get on the other side of some hedges, there's no foliage between you and an airplane.

So while _for you_, the effective range may be ten feet, but for someone else, the signal may be a problem dozens of miles away.

Furthermore, and the whole point here, is that you're not just interfering with other users in the 88-108MHz FM broadcast band. (If you were, frankly, I wouldn't care one bit; there's little actual harm to be done.) It's that as a digital pin being bashed up and down at those frequencies, the resulting signal is profoundly not sinusoidal. It has much faster rising and falling edges, which mean the signal has plenty of energy in harmonics, not just the fundamental frequency of the carrier. My spectrum analyzer only goes to 2.7GHz and I was able to see (admittedly diminishing) energy up beyond 1GHz, which is both impressive in that the BCM chip's GPIOs can slew that fast, and terrible in that you're interfering with _everyone_ when you do it.

So, say you've told pifm to transmit at 88MHz, right at the bottom of the broadcast band where off-the-shelf receivers can pick it up. Your little Pi and random-wire antenna are also producing quite a bit of energy at 176Mhz (maritime VHF ship-to-shore and stuff), 264MHz (military air-band, adjacent to a satellite-earth-station band), 352MHz (more military), 440MHz (amateur UHF), etc. All the way up.

This may be counterintuitive, but that's why radio is governed by regulations rather than YOLO, and why even unlicensed toy transmitters still have to comply with harmonic-content rules.

Filter your Pi to knock out all those harmonics, and the odds of the Coast Guard or Air Force knocking on your door will plummet.

(Also, I've measured the power coming out of one of these things, and if you can only pick it up ten feet away, either your antenna is total crap, your receiver is deaf as a post, or both. Even after applying proper filtering which eats some power, I was able to receive mine on a pocket radio out to about 200 feet, which surprised the heck out of me and I added lots more attenuation until my most sensitive receiver could no longer see it at the property line. It's a fantastic toy for exercising RDS/RBDS receiver and parser code, but it requires a little care and knowledge to use it responsibly.)

Anyone can learn this stuff, and everyone should, especially if they're going to put it on the air.

96. PaulHoule ◴[] No.35753931[source]
See also https://www.youtube.com/watch?v=gZCw9bUJ6q8
97. follower ◴[] No.35755382[source]
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. :)

replies(2): >>35759187 #>>35762225 #
98. maebert ◴[] No.35755556[source]
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...

99. mixmastamyk ◴[] No.35759187{3}[source]
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?
100. drivers99 ◴[] No.35762225{3}[source]
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.
101. ismokedoinks ◴[] No.35764329[source]
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.
102. MikeTheGreat ◴[] No.35863681{4}[source]
No worries! Thanks for replying, though - thinking "there _must_ be a quote, I just don't know it / can't find it" woulda bugged me :)