I have one modem which I want to restart when it fails from Mikrotik PC connected to the modem. The only way is to stop the power supply for a second with some kind of power relay. The problem is that I don't know how to output for example 3.3V sgnal from the Mikrotik PC when ping to the modem fails.
The idea is - when ping fails -> input voltage in power relay -> the relay stops supplying modem with power -> the modem is restarted
Maybe I can use beeper for this purpose or some signal from one of the COM ports
Thanks in advance