ESP32 wake up with sensor value

SAMORANGE1
Posts: 1
Joined: Wed Feb 24, 2021 5:36 am

ESP32 wake up with sensor value

Postby SAMORANGE1 » 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)

Who is online

Users browsing this forum: Google [Bot] and 66 guests