Evan Heisman's Web Log

Feb 05, 2022

Remote Control Power Supply

Motivation

I've been trying to operate my HF radio station remotely for the last month, using Windows Remote Desktop and WSJT-X to sit and make some FT8 contacts while drinking my morning coffee. This has worked well but I want to remove the step of having to remember to turn off my radio when I am done. The power supply and radio are mounted in a closed cabinet. Leaving the cabinet open invites exploration by our feline companion, while leaving it shut and powered up for long periods of time may result in the temperature rising more than I want.

I ordered a simple relay board and decided to put it inside of my power supply, to be triggered by a program on the computer to turn the station on and off. West Mountain Radio sells a network connected control and monitor system with Power Pole connectors that would be great for this, but it's also $280 which is a lot more than I want to spend for this little effort.

Progress

Last weekend after getting all the parts, I took a few moments out in my shop to drill out some holes and mount the relay board, and wire the relay into the circuit of the power supply. I had selected a relay that is adequate for the AC side of the power supply, which are more commonly available on a premade board than those capable of handling 12V/25A. I made a few mistakes wiring it up, first mistakenly wiring it in series with the light inside the switch, and then wiring it to be normally closed when the relay is not powered.

relay mounted in power supply. relay close up.

The final mistake I made was wiring up connector that I put on the back of my power supply. I had decided to use a 1/8" TRS connector to provide power, ground, and signal to the relay from the control board, but instead of soldering to the tip and ring pins, I soldered to pins used to indicate when the plug is removed! I connected ground to the shield, power to the ring, and signal to the tip, figuring this would ensure the least bad results if any of the pins made contact while inserting the plug.

bad plug wiring

After fixing the misconnected pins on the TRS socket, I needed to wire this up to my computer somehow. My temporary solution is to use an old Arduino (which has been flaky to program) to provide +5V and ground to power the relay whenever my computer is connected to it. Longer term, I am planning to develop a shack control board and software that can use an Arduino or similar board to monitor and control several aspects of my shack.