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

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

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 :)
@vitorsoares1857
@vitorsoares1857 4 роки тому
Parabéns. Desconhecia o canal, mas sobretudo este conceito de auto Power off/latch circuit.
@caroman6761
@caroman6761 4 роки тому
cool project, thanks !!!!
@tecnovlogger
@tecnovlogger 4 роки тому
como sempre muito bom, parabéns
@charlesmarlin6632
@charlesmarlin6632 4 роки тому
Well Done
@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.
@Danielo515
@Danielo515 4 роки тому
Awesome, thanks
@morpheuz2006
@morpheuz2006 4 роки тому
Muito bom... :) Obrigado pela partilha
@GnobarEl
@GnobarEl 4 роки тому
Fantástico! Muito bom!
@pauldusa
@pauldusa 8 місяців тому
Solder paste works good too
@rembrandtes
@rembrandtes 4 роки тому
great video well explained one more subscriber .......
@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/
@nurrudinazzaky8374
@nurrudinazzaky8374 3 роки тому
Awesome! Looking for this tutorial for a while. Anyway, can i use any other P-Channel MOSFET for the PCB?
@lint2023
@lint2023 4 роки тому
Perfect.
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
I hope it's useful! Thanks for watching!
@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?
@padmalayarawal3091
@padmalayarawal3091 4 роки тому
Awesome 👌
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks for watching!
@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?
@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!
@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
@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?
@injamulhaque5439
@injamulhaque5439 Рік тому
how can i trigger this circuit with a fixed time interval please help me
@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
@shakerileiwat4341
@shakerileiwat4341 4 роки тому
Great 👍👍👍
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks!
@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!
@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.
@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.
@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!
@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
@sameersingh4802
@sameersingh4802 Рік тому
required opposite circuit, [when triger pin High then curcuit off]
@ErdemYldrmer
@ErdemYldrmer 3 роки тому
How can I get a few of this boards?
@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?
@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
@superbikeengineer
@superbikeengineer 10 місяців тому
Does this mean that door OPEN will trigger the circuit ON but when the door CLOSES, the circuit wont turn on the MCU?
@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.
@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.
Low Power Arduino! Deep Sleep Tutorial
24:14
Kevin Darrah
Переглядів 136 тис.
Пескоструйный АППАРАТ! #shorts
01:00
Гараж 54
Переглядів 3,1 млн
Aggressively Low Power with the ESP8266
10:18
CNLohr
Переглядів 77 тис.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Переглядів 281 тис.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Best power saving mode - Much Deeper Deep Sleep ESP8266
10:30
DIY TECH BROS
Переглядів 94 тис.
#192 Wakey, wakey! Let the DS3231 RTC wake up your Arduino - easy!
31:53
Ralph S Bacon
Переглядів 24 тис.
Add USB To Your Electronics Projects! - The USB Protocol Explained
15:19
Chinese Power Saver - Does it actually save power?
5:37
GreatScott!
Переглядів 1,5 млн
#123 Arduino Auto Shutdown (and switch off)
34:47
Ralph S Bacon
Переглядів 28 тис.
LoRa Module VS nRF24 VS Generic RF Module || Range & Power Test
8:07
GreatScott!
Переглядів 629 тис.
#115 Put your Arduino to Sleep 💤 (using wake up 🚩 INTERRUPT)
24:05
Ralph S Bacon
Переглядів 47 тис.
Нужно ли чистить ПК от пыли?
0:59
CompShop Shorts
Переглядів 35 тис.
Vortex Cannon vs Drone
20:44
Mark Rober
Переглядів 13 млн
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Переглядів 8 млн