HPSDR protocol 2 on the ESP32 (and companion web application)?

266 views
Skip to first unread message

Mark Frost

unread,
Jun 6, 2024, 4:43:42 PMJun 6
to herme...@googlegroups.com
Hello all,

Is anyone aware of any projects that implement the HSPDR Protocol using a wifi-equipped microcontroller like the ESP32-S3? I am thinking of making a small "remote rig" device that connects an ESP32 (or similar) to the speaker, mic, PTT, cat, etc of a radio and presents it to the network as an HPSDR device that can be controlled by any compatible software. I know that I will be somewhat limited in the amount of AF (or I/Q) data I can stream back due to throughput issues (espressif claims 30Mbps for UDP), but 3kHz SSB audio or even the 48kHz I/Q output of the Xiegu G90 should be well within the capability of the ESP32 acting as an AP connected to a nearby laptop.

If I can get my device talking to an existing HPSDR application like quisk, my next idea is to write a webapp that can run on a phone/tablet that can operate the radio, display a waterfall, capture+forward TX audio, and demodulate+filter+play RX audio. That would allow for a very portable hl2 station if you are only doing CW/SSB and don't mind running a narrow RX slice.

Can anyone think of any absolute showstoppers here? Given the limited capabilities of the ESP32 hardware you obviously cannot leverage the full RX bandwidth of the hl2, but I think you could still end up with a perfectly serviceable (though somewhat limited) station. 

73,
Mark AC9VC

Ron Lewkowicz

unread,
Jun 6, 2024, 9:29:02 PMJun 6
to Hermes-Lite
SDRPlusPlusBrown runs on Android phone and can fully run an HL2 for SSB at least. I think he is going to start work on CW as well.  I suspect you would just need to write a source_module for your device.

Mark Frost

unread,
Jun 6, 2024, 10:31:02 PMJun 6
to Ron Lewkowicz, Hermes-Lite
That's a really interesting link, Ron. Thank you!

With that application in my back pocket I can focus on a hardware proof of concept and revisit an alternate control application at.some later date. 

73,
Mark

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/eb8acb73-9cc1-49ea-9d5a-d5f5ca64d383n%40googlegroups.com.

ron.ni...@gmail.com

unread,
Jun 7, 2024, 12:07:10 PMJun 7
to Hermes-Lite
I've been experimenting with using an ESP32C3 to key my HL2 for CW from my iPhone using, not WiFi, but BLE/bluetooth.  That solves the problem of WiFi latency jitter causing the HL2 relays to chatter when trying to transmit using a small portable WiFi router between the HL2 and my iPhone SDR app.  Otherwise, I have to tether my iPhone to the HL2 via an ethernet dongle+cable.
73, Ron, n6ywu

Message has been deleted

Gary Abercrombie

unread,
Jun 8, 2024, 8:45:10 AMJun 8
to Hermes-Lite
Mark,

I have looked into remote control of my SDR application and I started looking at the VITA spec which is what Flexradio used as a basis for their remote control.

The VITA protocol supports streaming of audio and spectrum data along with radio controls to another machine allowing the HPSDR hardware/software to do the CPU intensive work.  The remote machine runs a thin layer which allows displaying the spectrum and audio and allows changing radio controls.  Basically allowing a custom remote desktop of your radio on another machine.  Just another way to accomplish what I think you are trying to do.

I also developed a radio interface layer which emulates a HPSDR radio.  I did this initially before writing my own SDR software so I could use Thetis software to work with a LimeSDR, HackRF, or SdrPlay (Rx only) SDR.

Gary, N8CQ

Mark Frost

unread,
Jun 17, 2024, 2:06:40 PMJun 17
to Gary Abercrombie, Hermes-Lite
Gary,

That is interesting information. What version of the HPSDR protocol did you implement for your radio emulator? I got all excited about Protocol 2 but it does not seem to be in widespread use despite being available for quite some time.

> The VITA protocol supports streaming of audio and spectrum data along with radio controls to another machine allowing the HPSDR hardware/software to do the CPU intensive work.

I'm actually hoping to do the exact opposite. Rely on the "remote" computer for doing the CPU intensive work so the HPSDR device can be somewhat minimalist and only worry about streaming data in/out and monitoring/commanding the radio. When I say "remote" I mean "separate but on the same subnet, perhaps using the ESP32 wifi as an access point" and not "remote control via the internet or any sort of convoluted networking path".

Mark, AC9VC



--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages