News for hackers. Stuff that matters.

argilo

Re:The Taylorator – All Your Frequencies Are Belong to Us on Monday January 27, 2025 @11:31PM (#42848849)
An SDR's sample rate only limits its bandwidth. Most devices include a mixer, which allows the transmitted or received signal to be shifted in frequency by an amount much larger than the bandwidth.
Re:The Taylorator – All Your Frequencies Are Belong to Us on Monday January 27, 2025 @10:28PM (#42848554)
It's definitely possible to transmit multiple TV channels at once, and I have experimented with that in the past. Since TV channels are 6 to 8 MHz wide (depending on what part of the world you're in) there are practical limits to how many channels can be transmitted at once. Consumer-grade SDR boards are limited to about 56 MHz total bandwidth, which would be enough for 7-9 channels.
Re:Real time weather balloon tracking on Friday March 15, 2024 @12:56AM (#39712183)
The cars on the map are the locations of people who are hunting for balloons after they have fallen back to earth. SondeHub's "chase mode" allows you to announce your position so that others will know you're in the area and will possibly soon collect a nearby balloon.
Re:Listen to HD radio with a $30 RTL SDR dongle on Friday November 10, 2023 @05:13PM (#38225255)
The code of nrsc5 (and my transmitter project, https://github.com/argilo/gr-nrsc5) would be the best source of information for the undocumented parts. I do have some private notes, but the useful information has already gone into the code.
Re:Listen to HD radio with a $30 RTL SDR dongle on Thursday November 09, 2023 @02:04PM (#38209385)
There's an issue open for this: https://github.com/gqrx-sdr/gqrx/issues/1104

I could really use some help from a software build expert. Gqrx and all its dependencies would need to be built in CI with Apple silicon support, and I don't know how to do that.

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @01:17PM (#38166402)
I am also the maintainer of Gqrx and I would love for it to have a built-in NRSC-5 receiver. The trouble is that some aspects of NRSC-5 are still patent-encumbered, which makes software distribution problematic. For that reason, nrsc5 is only provided in source form today. The situation may change once the relevant patents have expired.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @12:48PM (#38165924)
Most of the details are available in the specification, which is available here: https://www.nrscstandards.org/standards-and-guidelines/docum...

The missing parts are the audio codec (HDC) and the formats of the various data streams. These have required reverse engineering.

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @11:17AM (#38164554)
Also, all of those stream types seem to be used across multiple stations. I haven't seen any weird one-off streams.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @11:06AM (#38164386)
That decision was made by the original author (Andrew Wesie), but I think it makes sense because nrsc5 only needs a tiny fraction of the functionality that GNU Radio provides. Implementing the functionality directly in nrsc5 avoids the need for a large and complex dependency.

One downside is that we don't get the broad hardware support that GNU Radio provides, but maybe we'll someday take another crack at integrating SoapySDR. (See https://github.com/theori-io/nrsc5/pull/131 for an earlier experiment with that.)

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @10:55AM (#38164225)
It would only be possible if the tuner exposed raw RF samples, the way RTL-SDR dongles do. I'm not sure whether any of the integrated FM receivers do that.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @10:51AM (#38164179)
I'm not aware of any digital-only FM stations either. But there are a handful of digital-only AM stations, like WWFD.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @10:45AM (#38164098)
Some stations have "HD TMC" (traffic message channel) streams. The others that I've encountered are "HERE Images" (traffic & weather radar images, discussed and mostly reverse engineered in https://github.com/theori-io/nrsc5/pull/308), "HERE TPEG", "TTN TPEG", "TTN STM", "NavteqAdmin" and "NavteqPacketData1."

At present, nrsc5 makes these streams available through its API, but doesn't otherwise do anything useful with them. I don't believe any of the GUIs process them either. Some reverse engineering work is needed.

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @09:13AM (#38162809)
Also, I should mention that Python is not a requirement. The GUIs that people have created so far were written in Python, but the nrsc5 project itself is built entirely in C, and it exposes a C API.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @07:35AM (#38161741)
The documents look to be available here: https://www.drm.org/specification/
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @07:18AM (#38161561)
Models targeting the SDR market (e.g. from RTL-SDR Blog or NooElec) do have some improvements compared to models sold as TV tuners. Most importantly, they often include a more accurate crystal oscillator, which is useful when receiving narrow-band signals.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @07:07AM (#38161472)
I haven't investigated the CPU and RAM requirements in depth, but I have used nrsc5 on a Pi 3B without issue.

I suspect a Pi Pico would be too small.

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @07:00AM (#38161416)
RTL-SDR tuners usually have very good reception between 50 and 1000 MHz, which includes the FM broadcast band. It is easy to overload the analog-to-digital converter, so it's important to make sure the gain is not set too high. Setting the gain too low could also prevent reception if you're far from the transmitter. If you're receiving from indoors, interference from electronics in your house can cause trouble, and walls attenuate radio signals. You could try moving the antenna, or check whether it works better outdoors.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @06:48AM (#38161318)
Yes, it is similar. It is used primarily in North America, while DAB is used primarily in Europe.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @01:05AM (#38159400)
It might be possible, but I'm not sure whether a typical router would have enough CPU horsepower to do the processing required to demodulate the signal.
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @12:56AM (#38159352)
Time information is broadcast, but in my experience it's often inaccurate.

There's also a special stream for emergency alerts, but I haven't seen it in use.

There are various data streams, but not DVB.

A lot of the details are described in the standard: https://www.nrscstandards.org/standards-and-guidelines/docum...

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @12:42AM (#38159286)
In addition to files, some stations also send out "stream" and "packet" data. There is ongoing work to reverse engineer the formats. See the discussion here for details: https://github.com/theori-io/nrsc5/pull/308
Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @12:34AM (#38159229)
Some stations send out traffic and weather images (as well as album art and station logos). The files can be dumped to disk using nrsc5's "--dump-aas-files" option. A few people have built GUIs that display the information in a more convenient way:

https://github.com/cmnybo/nrsc5-gui https://github.com/markjfine/nrsc5-dui https://github.com/KYDronePilot/hdfm

Re:Listen to HD radio with a $30 RTL SDR dongle on Monday November 06, 2023 @12:02AM (#38159057)
My preferred dongle is the RTL-SDR Blog V3: https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/

They also have a new V4 version, but it requires updated drivers that will take a bit of time to percolate out to Linux distributions and the like.

NooElec also has a line of RTL-SDR dongles that I would recommend: https://www.nooelec.com/store/sdr/sdr-receivers.html

The best antenna will depend on what you're trying to receive. Different antennas are optimized for different frequency ranges, and may be either omnidirectional (receiving equally well from many directions) or favour reception in one particular direction. To get started, you could buy a dongle that comes with an antenna included, but you may eventually want to switch to something targeted to the particular application you have in mind.

As for the computational cost, it depends a lot on what you're trying to do. As a general rule, the wider the bandwidth of the signal, the more processing power it will take to demodulate. HD Radio is relatively narrow-band (400 kHz), so it doesn't require much CPU power to receive it.

Re:Listen to HD radio with a $30 RTL SDR dongle on Sunday November 05, 2023 @11:06PM (#38158719)
I've heard that term as well, but the official site denies it: https://hdradio.com/trademark/
Re:Listen to HD radio with a $30 RTL SDR dongle on Sunday November 05, 2023 @10:05PM (#38158327)
DRM broadcasts are definitely hard to find. A schedule is available here: https://www.drm.org/what-can-i-hear/broadcast-schedule-2/
Re:Listen to HD radio with a $30 RTL SDR dongle on Sunday November 05, 2023 @09:51PM (#38158232)
I'm happy to hear you found it useful!
Re:Listen to HD radio with a $30 RTL SDR dongle on Sunday November 05, 2023 @09:50PM (#38158228)
If you live within the coverage area of an FM radio station that's sending weather radar, it will probably be easier to receive than NOAA satellites.
Re:Listen to HD radio with a $30 RTL SDR dongle on Sunday November 05, 2023 @09:46PM (#38158206)
I'm a co-maintainer of this project. If anyone has questions, I'd be happy to answer them.