I can see that it is getting too complicated for what I want to do, so i will go back to my original idea to generate an "ON" signal in my master clock unit and transmit that to the slave unit.
So if no "ON" signal, then make all outputs LOW. The slave unit could run a second ISR to keep an eye on the ON signal.
Thank you all for your input, much appreciated.
Hans.
So what is too complex about an NE555 chip?
And was there something you did not understand about the software keep-alive or missing pulse detector in #15?
BTW, did you remove the call to the ISR that was present in your mainline code?
a7
I think that is the best solution.
I use a Power Dog, it kills the power then restores it after a short period of time. That solved problems where the peripherals cannot be reset with software. Is it a simple solution, no it is on its own PCB which includes the power switch and crowbar for over voltage.
Alto777 I do not understand some of the items you mentioned in #15, maybe I don't know enough as yet.
Writing code and making the projects is something I do mostly out of need for something i want that does not exist, or is too expensive. I learn new commands as I need them.
Having been in electronics all my life, the hardware part comes easy, and using NE555 timers, comparators, logic gates is old hat for me, but this Arduino is relatively new and a lot of fun.
The old hardware took a lot of designing and making, and changes took even more of a lot off effort and time, unlike these microprocessors.
I love the flexibility and connecting my little logic analyzer 24Mhz8Ch analyzer to my PC running Logic 2 to see whats happening.
For anybody interested in a screenshot of the 4-ch output and a pic of the power section the Arduino will drive, let me know.
Else for now I will consider this post as closed.
Again thank you all for the advice, amazing that so many people are willing to help where they can.
Hans.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.