top | item 42353390

Show HN: I built an HTML5 RTL-SDR application

104 points| jtarrio | 1 year ago |radio.ea1iti.es

There are lots of RTL-SDR applications, but you have to install them. I used the HTML5 USB API that exists in Chrome (did you know about it?) to build one that you can run straight from your browser, on your computer or your Android phone.

61 comments

order

vrighter|1 year ago

it's a chrome application not an html5 one. It only works on one browser (and its forks) because it uses proprietary, nonstandard apis.

meiraleal|1 year ago

> because it uses proprietary, nonstandard apis

What are the other APIs to have USB access?

wkat4242|1 year ago

I wish Firefox would implement this API too, it's been years.

eqvinox|1 year ago

Mozilla's position is to not implement this API due to security and privacy concerns, and I agree with them on that even though I'd really like to use this API too.

dtagames|1 year ago

Awesome! There's so much you can do with the browser now. Thanks for making an SDR app that's "gone native."

tgsovlerkhgsel|1 year ago

I'm unable to get it to work with my receiver (setRegBuffer failed block=0x600 reg=74, Caused By: RadioError.UsbTransferError: USB write failed value=0x74 index=0x610 status=stall), but I love the idea!

Looking forward to a local webusb+rtlsdr based Flightradar.

jtarrio|1 year ago

Is your stick an RTL-SDR Blog V4? Because it looks like the failure happens when accessing a R828D tuner, which should be supported.

wkjagt|1 year ago

This is awesome, great work! Is there anywhere I can follow development on this? I'm really interested in seeing this evolve.

jtarrio|1 year ago

I don't have a dedicated place for announcements and such, but I post on my Bluesky whenever there's a major improvement (@jacobo.tarrio.org).

And you can always star it on GitHub: https://github.com/jtarrio/radioreceiver

atVelocet|1 year ago

Do you plan on expanding the functionality?

It is really amazing how flawless it work. You should do a blog post describing how you did it.

jtarrio|1 year ago

Yes, next up is frequency/band management. Recording will come later. Later still, who knows :-)

radicality|1 year ago

Awesome! On mobile now but intend to try it with my HackRF later. Anything to consider, or should work fine?

RF_Savage|1 year ago

That it only supports rtl-sdr sticks, not HackRF. So the HackRF will not work.

goodpoint|1 year ago

What's the benefit in using a browser for this?

JSDevOps|1 year ago

Wow that’s cool