This is how I understood the program you needed:
- On the boot MCU waits for the 5V signal
- Then it does something within 20 seconds
- Then it idle for 10 seconds
- Then it sleeps, until the next signal is received
Am I understood your program correctly?
If so, here my thoughts about problem places:
- You have no initial pulse (there are
pulse-on-true nodes, right?) Try to add
any node between
sleep-until-s... and bind
Boot on the free pin.
- I don’t know how the node
sleep-until-s... works, but I suppose that
DONE pulses when it awaken. And it looks like you need to link it into
defer. But you don’t need a
puls... node here at all. Just link the pulse output directly to the
SET input of
- Then just link
DONE of the
delay node (20s) with
SET of the second one. While your first delay is acting (
ACT is true) — do your job (which is unseen).
DONE of the second
delay node (10s) right in the
In conclusion, I have to say, that you have a conceptually problem here by converting pulses into booleans and back. It’s a bad idea, when you can work only with pulses. At least, because you might loss some of the pulses. Moreover, if you need to pass pulses with some conditions, it’s much better to use
gate node, instead of converting booleans to pulses.