What have others done? GB3ZZ uses relays etc. I was hoping for an off the shelf answer.
Any thoughts or comments?
I know the Pi4 takes more current.
If anyone thinks this may be useful for repeater use then it would be good to get some form of agreement on a standard or shoot it down in flames!
With a arduino the I2C from the Pi could be used to monitor the Ryde with a small subroutine added to the Ryde programming. If it fails then the arduino could issue a hardware shut down to the RPi and then a power off/on cycle via a relay (on an arduino hat )
The problem I can see with both of these solutions is that in my experience the main problem with the Ryde crashing is that it ends up in the ' Longmynd not Loaded ' condition. In this state the RPi is not actually crashed completely as you can still SSH to it so it may still tell any watchdog that it is OK.
Maybe instead of ' Longmynd not Loaded ' the program just needs, at that message point, to go to a reboot condition if the message is there for a few seconds?
I think that we have now reached the stage where persistent "LongMynd not Loaded" only occurs when there is a hardware fault.
What I propose is that I add the code that is used in the Portsdown Repeater Transmitter, which reboots the unit safely at 3 pm and 3 am UTC every day. This reboot is managed at a system level (it's a "cron" job), so will work even if everything else on the RPi has locked up. I can be selected to happen ot not happen from the ssh menu. Would that fulfuill the requirement?
I do not want to create a separate "Repeater Version" of the Ryde, as that would almost double the work involved (for me) in system upgrades. Instead, the one and only Ryde version will be able to be configured for repeater use.
I am still looking at further watchdog ideas as once you look into this area you find that you could also monitor other things as people before me have.
I was also thinking that using one of the button GPIO inputs as a pulse output would work as a heartbeat. The pulse could be short and any button press would not be missed so would work in both Repeater and Home modes.
The "LongMynd not Loaded" is definitely due to a hardware fault but from my experience in testing it can be the slightest voltage wobble on the minitiouner supply even from switching on other equipement around it. Big pulses due to linears maybe? So it is not the software's problem but nice to know the software can bring it back again (even if only every 12 hours)
Please let me know when I can try it out.
I am working on the Ryde as the next receiver for GB3NQ and hope to have it working in the repeater soon. The quad split is for when two or more inputs to the repeater are received on different frequencies so more like zoom.
There is more work to be done on the watchdog front and I am looking at Arduino Uno's for that.
Sounds like really interesting idea. I am planning to build some Ryde receivers for CT soon and would be interested in anything which can improve reliability and reduce the need for user intervention upon failure.
Are you planning to do any sort of write up on your watchdog idea?
73s, Jason G7KPM
This should improve the reliability significantly for people with unreliable power supplies etc but will by no means make it "bomb proof"
As with all things on the todo list they will be done when they are done, however the "popularity" of the issues is one of the key points I look at when deciding what to fix next