<15ms boot, project approach
Posted: Mon Nov 14, 2022 10:58 pm
Hola,
I am in the researching stage for a personal project, I haven't chosen the hardware yet but I would like to continue using any of the modules from the ESP family, however, I am faced with a challenging situation
I need to detect a very accurate moment from a signal, however this signal only occours time to time (hours) and the module must run on battery for months/years, so there is not any other option than deep sleep or even turn off
The signal is always the same, 2 HIGH pulses, I need to take the timestamp of the "middle" of two pulses or the first falling, I would like to use the first pulse to wakeup
As you can see in the reference image, I have only ~15ms to wakeup and detect the second pulse, (then I will sync with an external RTC and substract micros(), send packet,etc.. but that is another history)
Of course, the signal is not the same in lenght, each pulse may last from 15ms to 400ms
I am asking for some technical advice on how to achieve this performance, I read here some threads where they archive no less than 60ms boot time, maybe some aditional hardware is needed for this task or just discard esp for this
Saludos
I am in the researching stage for a personal project, I haven't chosen the hardware yet but I would like to continue using any of the modules from the ESP family, however, I am faced with a challenging situation
I need to detect a very accurate moment from a signal, however this signal only occours time to time (hours) and the module must run on battery for months/years, so there is not any other option than deep sleep or even turn off
The signal is always the same, 2 HIGH pulses, I need to take the timestamp of the "middle" of two pulses or the first falling, I would like to use the first pulse to wakeup
As you can see in the reference image, I have only ~15ms to wakeup and detect the second pulse, (then I will sync with an external RTC and substract micros(), send packet,etc.. but that is another history)
Of course, the signal is not the same in lenght, each pulse may last from 15ms to 400ms
I am asking for some technical advice on how to achieve this performance, I read here some threads where they archive no less than 60ms boot time, maybe some aditional hardware is needed for this task or just discard esp for this
Saludos