Open-source Arduino PA Controller for Hermes-Lite 2 (GPS, CAT, SWR & Thermal Protection)

85 views
Skip to first unread message

Ricardo

unread,
Jul 8, 2026, 12:38:27 PM (9 days ago) Jul 8
to Hermes-Lite

Hello HL2 community,

I'd like to share an experimental project that some of you running external amplifiers with your Hermes-Lite 2 might find interesting.

Full transparency first: this firmware was developed with heavy AI assistance (Anthropic's Claude), iterating through six versions of review, bug hunting and simulation. It has NEVER been flashed to real hardware yet. It compiles clean (g++ -Wall -Wextra, zero warnings) and passes 63 automated checks on a virtual test bench that simulates the pedal, relays, GPS, CAT traffic, SWR bridge and NTC sensor — but simulation is not the real world. Treat it as UNTESTED CODE that may contain errors. Do not connect it to an amplifier you are not willing to risk.

That said, here is what it attempts to do, all on a single $5 Arduino Pro Micro (ATmega32U4):

  • PTT sequencing via footswitch with hardware interrupt: relay closes first, 20 ms settle, then MOX via CAT "TX;" — reverse order on release so the relay never hot-switches RF
  • Automatic band decoding by polling Thetis over CAT (Kenwood TS-2000 protocol, "FA;" query), driving a 4-bit BCD output for LPF/band relays of salvaged PA modules — with 4 selectable mapping profiles (standard, 5-band kits, inverted BCD, custom EEPROM map)
  • GPS time sync (NEO-6M/M8 + PPS) for FT8/FT4/WSPR window indication, fully offline, plus a "$TIME" sentence so your shack PC can discipline its clock without internet
  • SWR protection: directional coupler on two ADC pins, latched TX abort above a settable limit (3 consecutive bad samples to reject SSB transients)
  • Thermal protection: NTC on the heatsink, fan control and TX inhibit with hysteresis
  • Boot-inhibit against spurious PTT pulses at power-on, band-change TX inhibit, anti-chatter, watchdog timer, and a serial command console (STATUS, PROT, CALIB, etc.)

The interface BOM is roughly US$25-35 excluding the PA itself — the whole philosophy is giving new life to power stages and low-pass filters pulled from scrap rigs.

The package includes the firmware AND the virtual test bench (plain C++ with Arduino mocks), so anyone can run all 63 checks on their own PC before flashing anything.

I'm sharing this openly for anyone who feels like experimenting with it — whether out of curiosity, as a starting point for your own amplifier interface, or as a base that could be improved, adapted and perhaps evolve into something genuinely useful for the community. The code is fully commented and the architecture is modular, so taking just one piece (the band decoder, the GPS sync, the protection logic) is perfectly viable too.

Reference projects and reading that shaped this work (all worth your time):

  The attached files are listed below:  

73 de Rick, PY2VOX


HL2_GPS_BAND_DECODER_PA.zip
arduino_mock.h
HL2_TRX100W_v6_0.ino
test_bench.cpp
Reply all
Reply to author
Forward
0 new messages