‹ BackHN Continuity

Thread

Various Projects Find Hidden SDR Capabilities in ESP32 Microcontrollers

288 points · 67 comments · nkw

  1. mallets · · focus · HN ↗
    So many $1 wireless ICs have a powerful "SDR", but will never be documented due to certification/compiliance/export-control reasons. The projects listed here rightly limited the scope to RX-only but Espressif might be forced to "patch" this away if arbitrary TX too is possible (or starts making headlines). Hope it doesn't come to that, more cheap options for RF-to-bits is always welcome.

    On a technical note, not much I can find about the signal quality. Phase noise, images, DC Offset, etc. Have to get my hands on one, ESP32-S31 seems promising.

    1. ErroneousBosh · · focus · HN ↗
      > The projects listed here rightly limited the scope to RX-only but Espressif might be forced to "patch" this away if arbitrary TX too is possible

      Why would they? It's perfectly legal to operate radio transmitters on any frequency you like, if you hold a suitable licence.

      1. ssl-3 · · focus · HN ↗
        It is legal for a person with an appropriate license, yes. But laws (in the US) about RF transmission differ from how many other laws are structured: We're only allowed to transmit what we have permission to transmit -- and by default, we're forbidden.

        But right now, I've got an ESP32 WROOM module on a dev board sitting in my windowsill reporting some sensor values over wifi.

        The WROOM itself is registered with the FCC[1]. If I stick to using the documented operation, then I have permission to use it in those documented ways. As a practical concept, I don't need a unique license to use it in the way that I am; I'm granted the ability to use it by Part 15 of the FCC rules.

        And that's pretty great: The hardware was inexpensive to buy and very easy to find. I was able to spin this sensor up very quickly and get moving on the software side that deals with those readings. It has been a very rewarding little project with a fantastic cost:benefit ratio.

        The fear being expressed here (which I don't necessarily subscribe to) is that things like this WROOM module will become less-available when/if methods to use it in undocumented ways are published and start becoming used.

        [1]: <a href="https:&#x2F;&#x2F;fccid.io&#x2F;2AC7Z-ESPWROOM32" rel="nofollow">https:&#x2F;&#x2F;fccid.io&#x2F;2AC7Z-ESPWROOM32

        1. ErroneousBosh · · focus · HN ↗
          The FCC is relevant in exactly one country in the world.
          1. [deleted] · · focus · HN ↗

            [deleted]

          2. TeMPOraL · · focus · HN ↗
            Other countries have equivalent organizations and they all tend to be in sync on this stuff.
            1. Borealid · · focus · HN ↗
              Unfortunately the use of the Wi-Fi 5Ghz spectrum is not at all in sync worldwide. See <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_WLAN_channels#5_GHz_(802.11a&#x2F;h&#x2F;n&#x2F;ac&#x2F;ax&#x2F;be&#x2F;bn)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_WLAN_channels#5_GHz_(8... and how meaningfully different the rules are for how you can set up your own home wireless network in different parts of the world...
              1. fc417fc802 · · focus · HN ↗
                Worse is the OEMs all gradually removing the ability to operate modems intended for general purpose devices as APs in the 5 GHz range. The trend is to lock the firmware to only reply as a client in those bands. Meanwhile it isn&#x27;t uncommon to encounter cheap dedicated APs that operate under the incorrect regulatory domain for the country they&#x27;re sold in. So the cure doesn&#x27;t work yet we lose the ability for P2P outside of 2.4 GHz.

                (If they happen to be reading I&#x27;d like to offer a hearty fuck you to whoever at Intel and Qualcomm initially decided on these absurd policies.)

            2. diydsp · · focus · HN ↗
              Yep. Plus there are international, worldwide organizations bt those agencies; the ITU. Internatl Telecom Union.

              Prologue. We get it, GP hates the u.s.-centric view. Found on this american website.

            3. mmmlinux · · focus · HN ↗
              Not true. In some countries you can be prosecuted for just receiving signals.
          3. zoobab · · focus · HN ↗
            I created a new country Zooland where there are not RF regulations:

            <a href="https:&#x2F;&#x2F;www.zoobab.com&#x2F;zooland" rel="nofollow">https:&#x2F;&#x2F;www.zoobab.com&#x2F;zooland

            For the same reason, those regulations (FCC radio lockdown etc) stifle innovation in the SDR world.

            1. skinfaxi · · focus · HN ↗
              Is not some regulation necessary? Spectrum is limited. You seem to have thought a lot about this so curious about your perspective.
              1. smallmancontrov · · focus · HN ↗
                Spectrum used to be a lot more limited when frequencies had to be exclusive and baked into hardware designs. Now we have agile radios that can tx&#x2F;rx across wide bands and dodge other peoples&#x27; traffic, so the motivation for exclusivity is a lot weaker. If you walk around with a spectrum analyzer you will see traffic voting with its feet and overwhelmingly choosing the free-for-all ISM bands because dodging other peoples&#x27; packets is easy compared to obtaining spectrum licenses around the world.

                So: the optimal regulatory approach changed, the laws didn&#x27;t keep up, and now we have suboptimal regulation that isn&#x27;t bad enough to spur a fix and vested interests (spectrum owners) who don&#x27;t want it fixed so I expect it to continue for a very long time. So it goes. It&#x27;s not great but if all the world&#x27;s problems were as small as this one it would be a much nicer place.

              2. mmmlinux · · focus · HN ↗
                My spark gap transmitter doesn&#x27;t care about your spectrum. Regulation is important.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.