Ultra Low Power WiFi Trigger Sensor using ESP8266

Here is my take on building battery based door and motion sensors. I used ESP8266 and ESPNOW and the help of an ATtiny.

I managed to get it to be in the low uAmps while in stand by and have it trigger in under 1/4 second. The demos in the videos are how I am using them in my house.

I am still enhancing it but this is my MVP!

I also placed the project files, schematics and code on Instructables: https://www.instructables.com/Ultra-Low-Power-Trigger-Sensor-Using-ESP8266/

So, what do you think?!

7 Likes

Why are the gateway and receiver on seperate D1 minis?

Loved this video - great job!

First I’d heard of espnow and after a bit of reading it seems like it could be really handy in the future.
Thanks for sharing your knowledge :slightly_smiling_face:

1 Like

There is a a long discussion on github if you are interested in reading it. But from what I understood, it is possible with some workarounds and more complicated code.

I chose the 2x D1 minis approach because it is almost bulletproof and the D1 mini is cheap. It just wasn’t worth the headache to try to jam everything in one D1 mini and think about all the corner cases.

But I could be wrong. If someone knows how to reliably do it with one d1 mini, please bless my gitlab repo :slight_smile:

This is a follow up to my original design video: a build video using ESP-01 to make the Ultra Low Power Trigger sensor.

1 Like

Great project. What is the battery life of the various iterations?

I worked a bit more on the design, updated the power management and tested the energy consumption.

2 Likes