#How does power cycling 3 times put a receiver into bind mode?

11 messages · Page 1 of 1 (latest)

noble agate
#

I've designed a few custom receivers now, and something I'm not sure about is how power cycling 3 times puts a receiver into bind mode. I feel it's important to understand, as I wouldn't want to make a design decision that inadvertently impacts this.
My best guess, is given that there's no battery for a real time clock, is that the power cycling must happen fast enough for the ucontroller to not properly shutdown, and it either gets three low power warnings raised, or perhaps it does some kind of soft reset.
Obviously an answer would be welcome, but also a pointer to where this happens in the code or any documentation that I could look at myself would be great.

carmine lagoon
#

there's an internal counter keeping track of the power cycle

#

and yes, too long of an interval loses that count

noble agate
#

Where can I learn about how that works?

carmine lagoon
#

keyword being "willing"

noble agate
#

Thanks for your second link. This project is orders of magnitude larger than anything I've worked on before so I imagine that src/src/rx_main.cpp is the obvious place to look, but it really wasn't to me.

carmine lagoon
#

well, digging deeper means you have to repeat putting in the shovel multiple times into the hold, and take out dirt..

#

(no one expects you get to it fast in one shovel-ful)