ESP32-C3 based Smart Door/Window sensor | DEEP SLEEP 30nA? | Long battery life 5/10 years

preview_player
Показать описание

The goal of this project is to design a smart door/window sensor reducing power consumption(in deep sleep/standby) with a custom power latch. Optimizing the deep sleep power consumption of battery-powered smart devices ensures a long battery life cycle.

The current was measured with Nordic's power profiler kit, knowing that the current measured is less than the measurement range of this power profiler. I did several tests to verify the accuracy of the data. In any case the accuracy of the data, the consumption would be less than 200nA and this is a very good result considering that a similar device at a power consumption of 6-8uA.

Interesting projects about the topic:

Topics/projects covered in this video:
IoT power consumption:

Links:

🎶 Tracks:
"Punch Deck - Neon Underworld" is under a Creative Commons (CC BY 3.0) license.
@punchdeck
Рекомендации по теме
Комментарии
Автор

Super impressive; this is a rare example where DiY is better than any commercially available product.

geekmystique
Автор

Very nicely designed. Helpful for smart homes. Cheers

IshanKarve
Автор

Good engineering, well done. I like all the simulations and research you did before diving into the PCB design. That circuit is complex though, are you trying to simplify it or are you ok with it?

xThirdOpsx
Автор

Why not using a ultra low power microcontroller to offload simpler tasks from the main system?
You could do a lot more, including smarter pin monitoring, use wake up interruptions on pin edges, timer, etc. This is possible using the sleep mode that would bring power consumption down to around 100nA.
I know that's more power than your circuit is draining, but it does a lot more. It is an interesting tradeoff.

marcuscps
Автор

Love this project, super impressive and inspiring. I am creating a fitibit with an esp32c3 and have been diving deeper and deeper into power consumption research. Keep it up!

hudsonreynolds
Автор

Very nice project, i like it. I see is not so easy to reflash once the module is assembled. Have you thought using the over the air reflashing? Well to implement that may help you, but it will also depend how often you think you need reflashing the modules

the_rafa
Автор

You can fool the sensor with any magnet. Is it possible to use something coded, specific to each sensor?

ToTo-odwz
Автор

What off the shelf components could I buy to get close to this? I don’t have the machines or experience to put this together. It’s a great project and would love to be able to buy an add on module to use an existing ESP32 board…

aaronmathewson
Автор

I tried makermeik project and the logic circuit to enable ldo does not work as desired. On one pcb it worked i dont know how but on all others it failed

superbikeengineer
Автор

Good afternoon Salvatore, I really liked your video, and with my brother we decided to make the same PCB for our house. But we have a problem, all the programs work except those that are related to WIfi. The only wifi function that works is the Wifi status. For example if we do a wifi scan it runs all the code until it reaches one of the WIfi functions and then it stops running.
It would help us a lot if you or someone from the community could give us a hand.

Thank you very much for your help.

ferranserra
Автор

Great video, two questions for you. 1. If you only transmit when the sensor state changes, how does the controller know if this sensor is "online" if the sensor state hasn't changed for days? (like ring, zwave, etc controllers know that their sensors are "online"). 2. If you changed to wake up from deep sleep and transmit the state every 5 seconds, how long do you think the batteries will last?

AG
Автор

Bravo, anche per il video editing.
l'inglese é un po' da migliorare.

santopino
Автор

The main question is why build something new based on traditional batteries. It makes no sense to me.

DIDI
Автор

Hi Salvatore. I did power latch rising&falling edge dedector schematic. When i test the circuit, current measurement is almost 200 mikroamper. I could not see nA levels. I used SN74LVC1G86DBVRG4 too like schematics. Do you have any opinion or suggestion for me? By the way i really like your design...Best regards..

fatih_basaris
Автор

Very well thought out project! Nice one

WinterCircuits
Автор

Impressive! The ESP32 isn't exactly known for being particularly energy efficient (especially when compared to alternatives like nRF52) but its low cost and wide availability make it tempting to implement in smart devices.

chasemartin
Автор

Very nice done. I like it that you grab yourself the target and keep on improving it. It’s a nice combination of mechanical and electric engineering, like the details on the battery bay and the lid. Details.

Although I also very much like the versatile and addictive ESP-32, could you imagine using a more power friendly chip?

TheDutchGuyOnYT
Автор

9:28 you could, if you wanted, to make that part of the plastic behind the battery terminals separatable from the rest of the plastic which supports the board so you can remove everything if needed. It is not much more complex if at all and it should be sturdy enough because all goes into bigger case which would hold it together.

mmenjic
Автор

amazing design and attention to detail - love it

warperone
Автор

how sexy are those 0.8mm boards! I love them in my projects.

Man, how much simpler would home automation be if you could just project an rf field around a house and tap that for energy? I'm working on weight sensors for my gas storage to detect leaks and warn me when one of the two bottles gets low... it's got a pair of 16550's and a solar panel...

freman