ESP32 with deep sleep and some requirements of what I want to do.

Job ID: 35082041

Budget: €8 – €30 EUR

I want the ESP32 to work in deep sleep mode.

1) What I want is the following: with only one momentary button (obviously this one that is connected to a gpio wake up pin) to switch between two tasks. Pressing once the momentary button to send A data (this is the task "A") and pressing again to send B data (task "B") , if press again send A data, and so on. (for example sending data to another ESP32-receiver)

After the task, the ESP32 must be deep sleeping.

2) Moreover , when the ESP32 resets (lose its power supply and gets it back) I want the ESP32 to send again (without pressing the button) what it did in last time before the power cut off, for example if last time had sent the data A, before the power cut, now after the ESP32 gets again back the power, to send the data A again. After that, to be back in deep sleeping mode. After, if I press the button to send B data, and so on.

3) Also every 20 seconds for example to wake up for a moment itself (without pressing the button) so as to send again what lastly sent via the button (I want such a thing in order the web-server's page (receiver) to be updated in case we make refresh on that page or close it at all). After, sleeping again.


Only one button attached. I am very interested in consuming the minimum power that is possible.

Deadline in 1-2 days. Price 20 euros, not more.
Related categories: C Programming Microcontroller Arduino