ESP32 wake up with sensor value
Posted: Wed Feb 24, 2021 5:46 am
Hey!
I am fairly new to the world of ESP and i am working working on a project involving ESP32.
I want to write a code that makes the ESP32 wake up from deep sleep after a certain threshold of ADC.
I found this online: https://github.com/gabriel-milan/esp32_ulp_hall_wakeup
Where he has written the code for esp32 wake up if a certain threshold for hall effect sensor is crossed.
I want to know what do I have to change in this code to make it a generalized code for any kind of sensor that can be used with ADC.
(I am going to be using some kind of a vibration sensor)
I am fairly new to the world of ESP and i am working working on a project involving ESP32.
I want to write a code that makes the ESP32 wake up from deep sleep after a certain threshold of ADC.
I found this online: https://github.com/gabriel-milan/esp32_ulp_hall_wakeup
Where he has written the code for esp32 wake up if a certain threshold for hall effect sensor is crossed.
I want to know what do I have to change in this code to make it a generalized code for any kind of sensor that can be used with ADC.
(I am going to be using some kind of a vibration sensor)