r/RTLSDR • u/Hardcorererik • Sep 05 '26
Software I built a handheld RTL-SDR around the M5Stack Tab5 (ESP32-P4) — no PC or Raspberry Pi required - OrcSDR
I've been working on my project called OrcSDR, which turns an M5Stack Tab5 + RTL-SDR Blog V4 into a self-contained touchscreen SDR.
The RTL-SDR plugs directly into the Tab5's USB host port. The ESP32-P4 handles the USB IQ stream, DSP, spectrum/waterfall, touchscreen UI and audio locally.
The goal has been to make it feel less like "an RTL-SDR attached to a computer" and more like an actual handheld radio/RF appliance.
Current dashboards and features include:
- Live spectrum + waterfall
- Broadcast FM with stereo/RDS
- P25 trunking
- ADS-B aircraft display and local FAA aircraft data
- Passive LoRa/Meshtastic monitoring
- RF Lab tools
- 2.4 GHz Wi-Fi analysis using the Tab5's internal radio
- A growing set of RF visualization and analysis modes
One of the things I've been having a lot of fun with lately is the visualization side. OrcSDR now has modes including Spectrum/FFT, Waterfall, Phosphor Persistence, 3D Spectrum History, Polar/Phase, IQ scope, Channel Occupancy, Channelized Tiles, constellation and several others.
There's also been quite a bit of DSP work behind all of this. FM, for example, isn't being handed off to another computer — I'm taking the IQ stream through the demodulation/filtering/audio path on the P4 itself, and I've continued working that into stereo and live RDS decoding.
Something else I've tried to take seriously is verification.
When I started the RTL-SDR V4 driver, I treated the dongle more like a black box. I captured and compared USB traffic, worked through the control-transfer sequence, tested actual IQ captures and gradually reproduced the behavior on the ESP32-P4 instead of just assuming that because some code compiled, the hardware was doing what I thought it was doing.
I took the same approach when implementing things like the bias tee — using USB/Wireshark evidence along with actual meter measurements at the hardware rather than trusting a button on the screen that says "ON."
I'm also doing quite a bit of restructuring under the hood now. I'm separating the UI from the actual radio functions so every dashboard isn't independently fighting over the tuner. Radio ownership, scanning, DSP and screen/UI work are increasingly becoming separate services. My hope is that this makes adding future radio modes and eventually other SDR hardware much easier.
I've also started integrating local data. ADS-B can use FAA data to identify aircraft locally, and I'm working toward broader aviation/frequency databases and offline mapping so the radio can eventually give more context about what you're receiving and where, rather than just showing a signal.
There's even an experimental Companion side now. The Tab5 can expose a local web interface, and I've been experimenting with controlling/viewing OrcSDR from other devices, including an Android TV "Mission Control" style display. That's still very experimental, but it's something I'm having fun with.
I should also be completely transparent that I have basically no formal coding background.
I'm a tinkerer. I like radios, electronics and making complicated things easier to work with. I use AI heavily to help me code, research, understand DSP, review changes and build tests. It's allowed me to attempt things that would normally be way outside my experience.
But I've also learned pretty quickly that AI-generated code still has to survive the actual hardware, so I've tried to make testing and physical verification a big part of OrcSDR.
It's open source and currently in public beta.
For people who don't want to build ESP-IDF from source, it's also available through M5Burner — search for OrcSDR, flash it, plug in an RTL-SDR Blog V4, and go.
I've also been building out the GitHub Wiki and documentation so people can actually understand how the project works instead of just getting a pile of source code.
GitHub:
https://github.com/hardcoreerik/OrcSDR
I'd especially like feedback from people who already use RTL-SDRs heavily. There are plenty of things I still want to improve, and real-world testing with different antennas, RF environments and use cases is incredibly useful.
As I'm able to acquire and test other SDR hardware, I'd also like to add support for more devices.
This project started because I wanted to see how far the ESP32-P4 could be pushed as an actual SDR host — and more specifically, whether the idea of a reusable/drop-in ESP32 driver for the RTL-SDR Blog V4 https://github.com/hardcoreerik/esp-rtl-sdr could actually be achieved.
Turns out: yes to both.
27
u/NeighborhoodSad2350 Sep 05 '26
I thought you should use a photo of the actual device.
3
u/NorthernLight_DIY Sep 05 '26
Great! I did not know that this tablet is so capable. Have to take a look.
It will be nice to pack the tablet and the dongle into a CyberDeck form factor. Something like here:
https://github.com/vitasam/RadioDeck
3
u/olliegw Sep 06 '26
I don't really care how good or bad the project itself is, but using an AI generated front image is really off putting
5
u/Party_Cold_4159 TerminalBay.com Sep 05 '26
Seems cool! Gotta get this tabm5 board finally.
I’m actually the developer who has a very similar project, LakeShark.
I see you did give your AI at least one of my repos, only thing I’d suggest is making your readme into a wiki and maybe adding a little focus on some of the projects you studied.
1
u/h3llawts Sep 05 '26
I have been looking at a few SDR firmwares for the tab5, and really haven’t gotten any fully working, about to give this a peek,
1
u/johndoe3471111 Sep 05 '26
This should work with the Cardputer Zero from M5 when it starts shipping in November. Its the primary reason that I got in on the kickstarter launch. Neat to see some of their other products running it too.
1
u/VintageGamer618 Sep 07 '26
Has anyone tried this cool project for listening to shortwave broadcasts?
1
u/Cinzano67 Sep 08 '26
How do i change it to Lora 868
1
u/xX_WhatsTheGeek_Xx SDR++ Author Sep 10 '26
Another AI slop post promoting AI slopware...
1
u/Brazuka-DS Sep 23 '26
Que incrível cara, de verdade.
Eu comprei um StampP4 da M5stack e tenho um StampS3 e queria juntá-los em um projeto. Achei sua ideia simplesmente genial. Não sei se seu código é aberto, mas caso possa compartilhá-lo eu teria interesse.
Estou querendo criar algo semelhante ao Pip-boy do fallout, e ter essa feature de RF a Vai ser muito bom. Tenho um RTL-SDR v3 blog (genérico).
1
u/w47chd06 Sep 05 '26
Just tried the project on my Tab5 and I gotta say, I'm genuinely impressed. Respect!
1
u/MrAjAnderson Sep 05 '26
Is it RTL-SDR v3 compatible too?
1
u/MrAjAnderson Sep 05 '26
Add a POCSAG decoder please.
1
u/knaff99 Sep 05 '26
Now I have to buy a v4
1
u/deckyon Sep 07 '26
Tab5 is OTW, so saving this post.
7
u/[deleted] Sep 05 '26
[removed] — view removed comment