Activity › Forums › Questions & Troubleshooting › Hardware › Is it possible to reset Controllino when external power source is connected?
-
Is it possible to reset Controllino when external power source is connected?
-
Hi, my spontaneous idea:
wire a branch of the +24V to a digital input port (maybe even an analog one). This input port then changes to High, when the 24V becomes active, and goes Low again, when 24V is off, but power remains by USB.
Then define an event “Input switches Low->High” to run your init routine.
Good luck
Michael
-
Hi yes, solution proposed by Michael seems to be the best. You will monitor this input and when input is low, you will switch OFF the peripherals and correctly switch ON again the the main power is back.
When you want to really do the hard reset, you can build some simple circuit with RC combination and transistor which will pull down the /RESET on pinheader to low for the “RC” time. But this is more tricky. I would use the solution from Michael.
BR
Jarda
Log in to reply.