jdc0589 a day ago

It's really easy to forget how complex SDR is, and how much expertise it really requires to fully understand if you need to write receivers/processors/filters yourself. There's a TON of great stuff out there for hobbyists that just want to get some cool stuff working though. I tried my hand decoding a soil temp/humidity sensor broadcast and was quickly reminded how complicated it can be for an initiate.

I know almost nothing about actual SDR, but I've got a cheap SDR receiver/antenna inside a glass basement door that receives temp/humidity data from ~10 433Mhz transmitters in various rooms in my house + outbuildings, and a weather station that reports temp/humidity/lignthing strikes/rain amount/wind speed+direction, and lux. All that goes to an influx DB instance, and has a set of graphana dashboards built on top of it. Took me a couple evenings to get set up, and now I've got real time + historical environment data about everything I care about at my house; including high humidity alerts in rooms with dehumidifiers, freeze warnings for a crawl space, and a bunch of other stuff. It has been wildly reliable.

  • _benj a day ago

    I think as a counter point, Michael Ossmann, the creator of HackRF One has worked really hard to make it a lot more accessible.

    In one of my favorite YT videos ever he talk about how he design RF PCB. The point of it is kind of like, the field of RF and SDR is incredibly deep and complicated, but at the same time, most filters/mixers/amplifiers and everything else needed for making an SDR are ICs that one can buy from Digikey and put them together (or likely have assembled).

    So, not denying how deep SDR can be, but it can also be accessible with enough effort!

    https://www.youtube.com/watch?v=TnRn3Kn_aXg

  • bob1029 a day ago

    If you are serious about getting into SDR, having background in DSP can take you very far. Most of the painful SDR dragons are based in stuff that was optional at university time, but is otherwise not that hard to pick up once you know it exists.

    Understanding the frequency domain, why it's useful, and how to get there & back, is like 80% of the puzzle.

    • pyinstallwoes a day ago

      What do you wish you knew about dsp and frequency back then that you know mow?

      • bob1029 a day ago

        Ubiquity of the concepts. I'd have paid more attention if I had known. Things like aliasing, kernels and minimum viable sample rate show up pretty much everywhere.

        • pyinstallwoes 17 hours ago

          If you were to give advice / do a talk on more details or areas to apply those suggestions what might they be?

          Sorry just trying to get more detail out of you and apply it towards some code to make it practical. :)

  • mikewarot a day ago

    Getting some hands on experience with the signal processing side of SDR, with GNU Radio can help with understanding things like negative frequencies, complex signals, etc.

    It's open source, and you can just play with your audio ports for starters. Later adding a $40 rtlSDR kit goes a long way. I used mine to build a VOR receiver.

    • rtrunck a day ago

      As a pilot with an amateur radio license (though an inexperienced ham) this sounds really interesting. Could you elaborate more on building the VOR receiver?

      • mikewarot a day ago

        The transmitter has an electronically switched antenna that virtually moves in a circle at 3600 rpm, causing FM modulation phased with direction. The carrier is also AM modulated with a reference phase signal.

        I built a gnu radio flowgraph to receive both and display heading to the VOR.

  • flyinghamster a day ago

    I've played around with Gnu Radio, and even though I've been able to do some very sophisticated things with GRC, I also realize just how little I really know. Part of that is that the math makes my head spin. I'd be lost without those blocks doing a lot of the work for me.

  • evansgp 21 hours ago

    Does anyone have any recommendations for GNU Radio "guides"? I would like one which is a bit hand-holdy but steps through the theory along with a the practical example of building it in GRC, preferably with known good captures of the intended signal so that I don't need to spend time wondering if I've botched my capture somehow.

  • dhr a day ago

    I've just started getting into SDR - what receivers and transmitters are you using? Would love to give a similar project a go at my place!

    • Jtsummers a day ago

      RTL-SDR is an inexpensive way to get started, only a receiver though. Transmitters are more complicated (legally) since a lot of spectrum is off limits without a license in most jurisdictions. They have a kit with a couple basic antennas to get you started.

      https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/

      • Joel_Mckay a day ago

        The RTL-SDR dongle with GQRX is highly recommended, and go well with a NanoVNA.

        https://www.tindie.com/products/hcxqsgroup/4-nanovna-v2-plus...

        LimeSDR are a bit more involved, but like most SDR transceivers still need band-pass filters and power amplifiers to perform well. Works well when combined with a GPS locked 10MHz GPSDO like a BG7TBL. =3

  • atulvi a day ago

    > weather station that reports temp/humidity/lignthing strikes/rain amount/wind speed+direction, and lux

    Do you get this information from radio waves? would love to know more about your setup.

    • KeplerBoy a day ago

      Not OP but the idea is simple: You put transmitters somewhere outdoor (or wherever you want to measure) plop a battery in there and be set for a few years.

      Such weather stations were really commonplace 20 years ago, I remember my grandparents having a sensor outside and a basic LCD display in the kitchen displaying the outdoor temperature and humidity. These days we want that data digitally on our phones or home assistant so you need a receiver that talks TCP/ip and runs a real os. That's where the SDR comes in to bridge the gap between primitive RF Tech and modern computing. Of course you could also put an esp8266 outdoors, which natively talks wifi, but then you lose range and your battery life goes from years to weeks.

    • hnuser123456 a day ago

      Apparently 433mhz environmental sensors is a whole category: https://www.amazon.com/wireless-433Mhz-weather-sensors-Home-...

      • gorlilla a day ago

        433MHz is attractive because it's low frequency allows it to propogare farther with less energy input than higher freqs (900MHz; 2.4GHz) would need and does not suffer from nearly as much reflection off of obstacles thanks to that longer wave.

        There are several frequency ranges in the US that are unlicensed for transmission. But don't confuse unlicensed with a lack of rules governing what you are allowed to transmit; how often you can transmit and for how long. Because you can plop a 433MHz transceiver into anything, you want to be careful that you're not clogging up the local airwaves by not knowing to know the rules. Also, most smart meters (near me anyway) operat in this band sending out pulses every so often. They mesh together to relay the data towards a central collector. Thanks to that low frequency, hundreds of meters can be visible at times showing up as tiny chirps all over this area of the spectrum. Unfortunately this also means that some cheap receivers (just looking for any signal on a very specific frequency in that range, can be randomly triggered by this 'noise'. But also, because it's used by utilities, to want to make sure they don't end up having an issue with meter readings because you began running a wifi link over 433MHz.

    • Jtsummers a day ago

      They're using weather stations that broadcast on 433MHz around their property and receive those messages with their SDR, then they pipe that into their database and display system.

  • kvakerok 20 hours ago

    Are you piping to influx db through ignition?

Sanzig a day ago

In terms of software-defined radio learning resources, I can wholly recommend PySDR: https://pysdr.org/

It's written by one of the GNURadio developers, but it uses NumPy and SciPy instead so you really get a feel for the low-level algorithms. Concepts are well explained and build on each other from module to module.

  • aswanson a day ago

    Good resource, thanks.

teleforce a day ago

There's another book namely the RFSoC book complementing this SDR book that's also available for free download.

This newer book focus on the more powerful RFSoC from AMD rather the less powerful but the very popular Adalm Pluto kit by Analog Devices that's being covered in this SDR book.

[1] RFSoC book:

https://www.rfsocbook.com/

rylittle a day ago

I inherited a HackRF One from a friend and this thread reminded me about it. Does anyone have any cool projects they recommend doing just to gain some experience in SDR / have fun?

  • __turbobrew__ a day ago

    I found following these videos through was a good intro: https://m.youtube.com/watch?v=BeeSN14JUYU&pp=ygUII2hhY2tyZmY...

    There were a few things in GNU radio which have changed since then (different block names) but with a bit of googling you can figure out how to work around it.

    Unfortunately for me, SDR is too much like $dayjob so I lost interest. I already spend 8 hours a day at a computer I cannot be convinced to spend more time at a computer doing SDR as I would much rather being doing stuff outside.

    • drivers99 a day ago

      Do SDR stuff outside! Seriously though, I know for ham radio stuff at least, a lot of it can be outside if you want.

      • __turbobrew__ a day ago

        For ham radio I can see it, but SDR stuff is fundamentally programming and for me the majority of time was doing programming like tasks and not actually doing stuff with the finished code.

        Ham radio on the other hand is like an appliance and so there isn’t any programming necessary.

  • dummydummy1234 a day ago

    Write a FM receiver/transmitter from scratch.

    It's very straight forward, depending on your desired level of difficulty: Do it first using blocks in gnuradio, then redo it with blocks you write yourself.

    After that do the same thing, but with digital psk modulation, it has the added difficulty of requiring channel estimation/ equalization.

ww520 a day ago

Has anyone work on decoding over-the-air TV digital signal in software? I remember way back there were some cards that can decode OTA signals to be recorded into DVR.

  • bri3d a day ago

    The RTL-SDR was originally intended as a DVB-T receiver, using an app called "BlazeVideo."

    Anyway, many, many open source implementations exist for this as it's a popular first/early SDR project. All you'll you need is the right keywords - for the US, ATSC, and for Europe, DVB-T2.

    • pests a day ago

      Yep.

      I just dug my RTL SDR v4 out of the drawer right before a trip to Florida. Guess this is a sign to get it going.

  • drmpeg a day ago

    GNU Radio comes with receivers for ATSC and DVB-T. You'll need an SDR that can provide 6 MHz (ATSC) or 8 MHz (DVB-T) of bandwidth (which an RTL-SDR cannot do).

    DVB-T2 and ATSC 3.0 receivers are too difficult and nothing exists for them.

    Here's a screenshot where I'm transmitting to myself (GNU Radio also has an ATSC transmitter).

    https://www.w6rz.net/atscdemo.png

    • anamexis a day ago

      > (which an RTL-SDR cannot do)

      Is that true? RTL-SDR are derived from a chip designed for DVB-T tuners.

      • drmpeg a day ago

        Maximum sample rate is 3.2 MS/s.

        https://www.rtl-sdr.com/about-rtl-sdr/

        • anamexis a day ago

          To be clear I’m not doubting you, but how does this square with the fact that these are literal DVS-B tuners? Do they perform some decoding in hardware for this purpose?

          • flyinghamster a day ago

            The key is that the general-purpose SDR mode is an originally-undocumented test/debug mode. Different drivers are used to access it; the standard DVB-T drivers don't provide access to it.

          • drmpeg a day ago

            The output of the dongle in it's normal DVB-T mode is an MPEG-2 Transport Stream. The maximum bitrate of DVB-T is 31.67 Mbps or ~4 Mbytes/s. It's thought that the USB interface was designed to support that rate and not a whole lot more (3.2 MS/s would be 6.4 Mbytes/s since it's 2 bytes per sample).

  • th0ma5 a day ago

    With something with more bandwidth than an RTL-SDR you may be able to at least capture the data but having dedicated hardware for the target signal is the easiest if you're looking to tune. I've seen POC Analog TV signal decoding but not digital signals in software beyond some exploration and general signal analysis.

asdefghyk a day ago

If always wonder if their was a 4g to 3g converter to keep old devices working when 3g network shut down.

  • genewitch a day ago

    Yes, but very expensive.

    https://www.ettus.com/products/

    Also the limeSDR are supposed to do this. I had one, it arrived inoperable, I sent it back, never heard from them again. Still a little bitter, because I paid in to the crowdfunding.

NoboruWataya a day ago

Aaaand now I've gone and dropped £35 on an SDR dongle.

  • lysace a day ago

    Now you can use one of your unused Raspberry Pi:s (we have all got them) to cobble together an ADSB unit that may be critical in recording important low-height ADSB flight data points in your immediate area in case of accidents.

    And also get free premium accounts on sites like flightradar24 etc.

    https://hub.balena.io/apps/1829313/balena-ads-b

  • topspin a day ago

    The next waypoint on your journey is SDRplay.

    • jquinby a day ago

      I use an RSPdx in my shack and it’s one of my all time favorite pieces of hardware.

  • th0ma5 a day ago

    GQRX is great

  • brcmthrowaway a day ago

    Waste of money. I suggest getting an SDR that can rx AND tx. I recommend the Ettus USRP

    • abnry a day ago

      You need a mortgage to buy most of their SDRs. Their cheapest IIRC is a B210 which is about $2,500.

seeknotfind 19 hours ago

The Amazon reviews for this book are bad, but hey, for free!

kragen 21 hours ago

It's a bit surprising that after 202 upvotes and 51 comments nobody has written any comments about the contents of the linked book. Well, I guess I have to go out on a limb and say it:

This book is embarrassingly awful.

> The Fourier transform is just a different way to describe a signal. For example, investigating the Gibbs phenomenon, which states if you add sine waves at specific frequency/phase/amplitude combinations you can approximate a square wave, can be expressed mathematically as (2.1),...

1. The Gibbs phenomenon doesn't state anything. It can be observed; it exists; it is known; it entails things; it implies things; you can state things about it; but it does not, itself, state anything. It is as mute and voiceless as a nudibranch.

2. What is being described is not the Gibbs phenomenon, but the Fourier transform of a square wave. Now, it is true that the truncated Fourier transform of a square wave does exhibit the Gibbs phenomenon. But so does the truncated Fourier transform of any other function containing discontinuities. It's not specific to square waves.

3. This paragraph starts off trying to ineptly explain what the Fourier transform is (a different way to describe a signal? Different from what?), despite the fact that the previous paragraph provides a different and better explanation which is still not very good, but somehow forgets it was going to do so before getting sidetracked with committing the appalling category errors above on the Gibbs phenomenon.

4. You might reasonably assume that the above paragraph, even if poorly expressed, would be followed by some kind of discussion of what the Gibbs phenomenon is, when it matters, and/or when it arises. You would be disappointed; evidently the authors couldn't remember their undergraduate Signals & Systems courses well enough to remember what the Gibbs phenomenon was.

I had skipped ahead to chapter 2 because I couldn't deal with the mindnumbingly awful crap they stuffed Chapter 1 full of, but it didn't get any better. I have to assume the whole book is this literarily abominable and careless about accuracy.

Analog Devices' apparent choice to promote this book for training material suggests that the company's quality standards are no longer what they historically have been and what allows them to charge such a premium for their parts.

Is there some part of this book that is of passable quality? Please tell me that after some introductory filler chapters they started trying to write coherent sentences? I don't have the heart to check.

To all appearances, the HN comments on this post are both better written and far higher in information density than the book it's ostensibly about.