Switch Relays from the IO Board

114 views
Skip to first unread message

James Ahlstrom

unread,
Aug 29, 2025, 9:11:49 AMAug 29
to Hermes-Lite
I got an email from Bart, PJ2BB, in Curacao requesting help on how to switch relays using the IO board. He has an attached amp, and the bandpass filter relays must be switched by grounding a pin that depends on the band in use. With his permission I am moving the discussion here so that the group can help.

You need low-side switches to switch your relays, and the IO board has seven of them plus an eighth for a DC output. The low-side switches are on J6 pins 1 to 8 and are controlled by the GPIO pins GPIO16_Out1 to GPIO08_Out8. The pins to use are in the protocol document.

You need to connect jumper wires from J6 to the DB9 connector. You should probably connect in pin order, 1 to 1, 2 to 2 etc. Just connect as many pins as you have relays. And be sure to add a ground pin.

These low-side switches are NOT protected against inductive loads. Always place a diode across relay coils and any other inductive load. The diodes should probably go in the amp box and may already be there.

Next you need to create your own main.c, compile it and load it into the Pico. See the protocol document for directions. Start with the main.c in n2adr_basic and delete the code for the antenna tuner and the FT817 band voltage. Change the switch statement to the pattern you need for your relays.

 Please request further help on this group. Good luck!

Jim
N2ADR

Noel Woodfield

unread,
Aug 29, 2025, 5:42:14 PMAug 29
to James Ahlstrom, Hermes-Lite
Jim and Bart

I have done a build that is similar to what Bart is trying to do.
I have the IO board however my solution is not using its functionality. 
I have HL2 and a homebrew LDMOS amplifier. The amplifier LPF board uses the same band steps as the LPF in the HL2.
I connected to each of the HL2 LPF relay feeds on the HL2 LPF board (switched earth for 3V3 relays) and I send this and 3V3 to my amp via the DE9 connector of the IO board.
In the amp I have an interface board that has five optocouplers and five power transistors - this switches the ten 12V relays on the amps LPF board.

No coding but it works.

de Noel ZL2VN

Interface board is top left in photo:

--
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 visit https://groups.google.com/d/msgid/hermes-lite/12f99c58-4c82-4449-aef0-6bdd774ba518n%40googlegroups.com.
1000015643.jpg

Noel Woodfield

unread,
Aug 29, 2025, 6:26:52 PMAug 29
to Hermes-Lite
1000015643.jpg
Reply all
Reply to author
Forward
0 new messages