🔋 EXTREME POWER SAVING (0µA) with Microcontroller External Wake Up: Latching Power Circuit

  Переглядів 18,302

Rui Santos

Rui Santos

День тому

$2 + shipping for 5 PCBs (Any Color): jlcpcb.com
For complete project details (schematics + Gerber Files + source code), visit ► RandomNerdTutorials.com/power...
Build an Auto Power Off circuit (Latching Power Circuit) on a custom PCB to save power in your electronics projects. This circuit cuts off power completely when a microcontroller is not executing any task.
Latching Power Switch Circuit (Breadboard version): RandomNerdTutorials.com/latch...
Power ESP32/ESP8266 with Solar Panels (includes battery level monitoring): RandomNerdTutorials.com/power...
ESP8266 Voltage Regulator for LiPo and Li-ion Batteries (ESP32 Compatible): RandomNerdTutorials.com/esp82...
Like my page on Facebook:
/ randomnerdtutorials
Follow me on twitter:
/ ruisantosdotme
Subscribe for more projects like this!
bit.ly/subscribeRNT

КОМЕНТАРІ: 55
@DT-dc4br
@DT-dc4br 2 роки тому
Thank you! Really appreciate all the work you've done in making microcontrollers and IOT devices accessible :)
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
You can find the complete project details (schematics + Gerber Files + source code) on my blog ► RandomNerdTutorials.com/power-saving-latching-circuit/ Other projects mentioned in this video: - Latching Power Switch Circuit (Breadboard version): RandomNerdTutorials.com/latching-power-switch-circuit-auto-power-off-circuit-esp32-esp8266-arduino/ - Power ESP32/ESP8266 with Solar Panels (includes battery level monitoring): RandomNerdTutorials.com/power-esp32-esp8266-solar-panels-battery-level-monitoring/ - ESP8266 Voltage Regulator for LiPo and Li-ion Batteries (ESP32 Compatible): RandomNerdTutorials.com/esp8266-voltage-regulator-lipo-and-li-ion-batteries/
@thenextproblem8001
@thenextproblem8001 Рік тому
Tested working great. I choose 0603 SMD with flip-flop triggering option included. Size 2x2 with double sided PCB.
@piero957
@piero957 4 роки тому
Great idea, project and video! For me it would be nice to order a trough-hole pcb version, so finding parts and soldering would be much easier for my old eyes ;) Meanwhile I will try it using perforated prototype PCBs. Thank you for sharing your ideas.
@vitorsoares1857
@vitorsoares1857 4 роки тому
Parabéns. Desconhecia o canal, mas sobretudo este conceito de auto Power off/latch circuit.
@pauldusa
@pauldusa 6 місяців тому
Solder paste works good too
@tecnovlogger
@tecnovlogger 4 роки тому
como sempre muito bom, parabéns
@caroman6761
@caroman6761 4 роки тому
cool project, thanks !!!!
@charlesmarlin6632
@charlesmarlin6632 4 роки тому
Well Done
@morpheuz2006
@morpheuz2006 4 роки тому
Muito bom... :) Obrigado pela partilha
@nurrudinazzaky8374
@nurrudinazzaky8374 3 роки тому
Awesome! Looking for this tutorial for a while. Anyway, can i use any other P-Channel MOSFET for the PCB?
@Smile-8
@Smile-8 4 роки тому
Awesome mate thanks, can someone create a Fritzing part out of the module so we can easy add it to our project?
@Danielo515
@Danielo515 4 роки тому
Awesome, thanks
@LuisCanossa
@LuisCanossa 4 роки тому
Rui seria perfeito se detetasse mudança de estado, para poder detectar porta aberta e depois quando é fechada!!! Isso é que era! O kevin darrah tem uma placa que é super fixe, mas não detecta também os dois estados!
@wjn777
@wjn777 2 роки тому
Nice board, thank you for sharing. In order to save power if you use a battery as source, it would be nice to not have the onboard LED, can I simply omit that, ans it will still work as normal?
@rembrandtes
@rembrandtes 4 роки тому
great video well explained one more subscriber .......
@Smile-8
@Smile-8 4 роки тому
How many amps can we pull on 5v on this circuit, asking cause the Sim800l has some crazy peak power during transmit
@boopeshkumarprabhakaran
@boopeshkumarprabhakaran Рік тому
hi..thanks for sharing...as i could see ...when reed switch is open it triggers and turns esp on..what happens when reed switch is closed from open? it again wakes up esp or only wakes up when reed is open?
@the-matrix-has-you
@the-matrix-has-you 2 роки тому
Hi very useful circuit but SMD components are harder to solder for me is there a normal component board version? or how can I edit components in EasyEDA to change components with their non smd counterparts? Thank you
@GnobarEl
@GnobarEl 4 роки тому
Fantástico! Muito bom!
@lint2023
@lint2023 4 роки тому
Perfect.
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
I hope it's useful! Thanks for watching!
@injamulhaque5439
@injamulhaque5439 Рік тому
how can i trigger this circuit with a fixed time interval please help me
@padmalayarawal3091
@padmalayarawal3091 4 роки тому
Awesome 👌
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks for watching!
@ErdemYldrmer
@ErdemYldrmer 2 роки тому
How can I get a few of this boards?
@1Robbie75
@1Robbie75 3 роки тому
Hello Friend. What happens if the module receives multiple triggers? I need to wake up Nodemcu with a hall effect sensor of a water meter that runs continuously after start. Thanks for your help.
@Chungus75
@Chungus75 4 роки тому
Hi. Another great video.. if I understand the circuit correctly.. the host MCU needs to initialize and set the latch high before the input trigger falls back to low... right? If so any idea how long that input pulse needs to be held high for the esp32 to initialize and set the latch?
@scottcopus
@scottcopus 2 роки тому
According to randomnerdtutorials.com/esp32-pinout-reference-gpios/#:~:text=work%20as%20expected.-,Pins%20HIGH%20at%20Boot,-Some%20GPIOs%20change, there are several pins that should be high at boot. But I'm not sure how long that actually takes to initialize though. If anyone knows or has a link to that info, please share! Thx!
@sameersingh4802
@sameersingh4802 Рік тому
required opposite circuit, [when triger pin High then curcuit off]
@superbikeengineer
@superbikeengineer 9 місяців тому
Does this mean that door OPEN will trigger the circuit ON but when the door CLOSES, the circuit wont turn on the MCU?
@SoloRobot
@SoloRobot 4 роки тому
It is really good. But what about rip sensor and other sensors? They will consume power and esp32 deep sleep doesn't consume alot of power to consider this board. It is useful for arduino and esp8266
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
It depends on what you use, the PIR motion sensor will consume almost no power, but if you use a switch or reed switch it will consume 0 uA
@vincentiuswahyu8701
@vincentiuswahyu8701 4 роки тому
Great video there. Can I ask? I am planning to use distance sensor as a trigger. How can I set the threshold? And is it possible to use i2c sensor? Thanks
@m.sierra5258
@m.sierra5258 3 роки тому
It expects a binary signal, so no threshold, you need to threshold yourself to make it binary. I2c is a data protocol, and has nothing to do with this. If your i2c sensor is capable of creating an interrupt signal though, that interrupt can be used to activate this circuit.
@shakerileiwat4341
@shakerileiwat4341 4 роки тому
Great 👍👍👍
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks!
@Mazsul
@Mazsul 4 роки тому
Great video. How long the trigger pin must be high to boot the ESP, and turn on the latch pin? What is the minimum pulse length to trig pin?
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
You are correct. You have two options: 1) if the trigger pin is set to HIGH, the ESP will be powered on. 2) If you set the LATCH pin to HIGH the ESP will remain on. The minimum pulse length to trig pin depends on how fast your microcontroller boots up and sets the LATCH pin to HIGH (which will depend on the firmware and processor). For example with an ESP32 and a very fast button press, it's enough to activate the circuit. If you're using an Arduino board, you might need to hold for at least 1 or 2 seconds the pushbutton.
@scottcopus
@scottcopus 2 роки тому
According to randomnerdtutorials.com/esp32-pinout-reference-gpios/#:~:text=work%20as%20expected.-,Pins%20HIGH%20at%20Boot,-Some%20GPIOs%20change, there are several pins that should be high at boot. But I'm not sure how long that actually takes to initialize though. If anyone knows or has a link to that info, please share! Thx!
@iamborg3of9
@iamborg3of9 4 роки тому
when the esp32 wakes from "deep sleep" it wakes via full reboot of the board. does this latch circuit prevent that full reboot during wake up?
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
@nearcz As long as the latch pin (IN) is set to HIGH, your ESP32 is powered on and it will not restart.
@peekpt
@peekpt 4 роки тому
Ah, estava a ver... afinal tem consumo é impossível não ter. Mas ainda é alto para baterias de lítio o ideal seria < 1uA
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Tem com um PIR Motion sensor, se utilizares um Pushbutton, Reed Switch, ou sensor similar tem 0 de consumo
@GnobarEl
@GnobarEl 4 роки тому
@@RuiSantosdotme Mesmo assim, está fantastico. Acaba por consumir menos, logo é mais vantajoso, que o deep sleep. Muitos parabens! Fiquei mesmo entusiasmado com este projeto! (ja me vou meter em despesas) :p
@felixh.7501
@felixh.7501 4 роки тому
Hi Rui, thank you for the video, very informative. May I ask you why not just buying the regular latch circuits on aliexpress, for example? They are rather inexpensive and do the same, dont they?
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
You can definitely buy them. The goal is to experiment and to learn how to create custom circuits. I basically plan to create in a future project a PCB with ESP32/ESP8266 with a built-in power latch circuit
@felixh.7501
@felixh.7501 4 роки тому
@@RuiSantosdotme that would be great. I gave up on esp deep sleep, it doesn't work with esp8266.
@scottcopus
@scottcopus 2 роки тому
@@RuiSantosdotme Have you created a PCB of ESP32 with built-in power latching circuit yet? Know if something like this is available commercially? Also, can I use common general purpose transistors/mosfets for the circuit? To be as low power as possible which specs are important?
@hamidsk2573
@hamidsk2573 4 роки тому
very elegant though, thanks for sharing, since your board is a event-driven board, I suggest adding some simple adjustable time-driven onboard circuit to make totally perfect I may gonna try by myself and let you know thanks anyway
@Ed19601
@Ed19601 4 роки тому
Where you thinking TPL5000, TPL5010 etc...
@wei48221
@wei48221 4 роки тому
Nice..
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks for watching!
@gsge
@gsge 3 роки тому
Thank you for your instruction. I found more simpler version of same circuit here: github.com/gitpeut/IRF7317-selfextinction Is it possible to use MAX809SEUR MAX809S SOT23 voltage supervisor and adjustable RC Timer to replace the switch trigger? RC timer circuit can be created using capacitor and 1 megaohms potentiometer between power supply and Voltage supervisor IC. Thanks.
Latch Circuit - Wake up + 0 Power Consumption (useful circuit)
9:16
Electronoobs
Переглядів 132 тис.
Aggressively Low Power with the ESP8266
10:18
CNLohr
Переглядів 76 тис.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Переглядів 173 тис.
Low Power Arduino! Deep Sleep Tutorial
24:14
Kevin Darrah
Переглядів 136 тис.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
ESP32 Deep Sleep: Ultra-Low Power Coprocessor
15:27
atomic14
Переглядів 27 тис.
EEVblog #262 - World's Simplest Soft Latching Power Switch Circuit
17:43
Best power saving mode - Much Deeper Deep Sleep ESP8266
10:30
DIY TECH BROS
Переглядів 92 тис.
5 Soft Latching Power Circuits For Arduino Or Any Microcontroller!
24:07
Embrace Making
Переглядів 39 тис.
I’m Never Buying LEDs Again! EASY DIY WLED!
13:11
TechFlow
Переглядів 1,1 млн
ESP32 Deep Sleep Tutorial for Low Power Projects
8:14
educ8s.tv
Переглядів 175 тис.
КАК РАБОТАЕТ БРАУЗЕР?
45:23
Alek OS
Переглядів 77 тис.
Обманет ли МЕНЯ консультант в 2024?
19:19
Харчевников
Переглядів 388 тис.
Apple Vision Pro
0:42
Янчик
Переглядів 11 млн