Latch Circuit - Wake up + 0 Power Consumption (useful circuit)
Тәжірибелік нұсқаулар және стиль
High quality PCB prototypes: www.pcbway.com
3D & CNC service: www.pcbway.com/rapid-prototyp...
🔥I want to make another IOT project with a PCB capable of detecting a pulse from a sensor, turn on, send the data to the Internet and then turn off 100%, so we have 0 consumption. That's what we can do with this latch circuit.
🔀LINKS
-------------------------------------
Latch Tutorial webpage: electronoobs.com/eng_circuito...
Latch + Arduino tutorial: electronoobs.com/eng_circuito...
🎬VIDEOS
-------------------------------------
ESP8266 Door alarm IOT video: • IoT#1 - Door Open Alar...
ESP8266 database video: • ESP8266 + Arduino + da...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
01:55 What I want
02:37 Latch Circuit Example
03:08 How It Works?
06:36 Latch + Microcontroller
07:44 Second Latch Test
08:46 Outro
Like share and subscribe to motivate me. Thank you
#latch
#circuit
#IOT
Пікірлер: 287
Arduino Course LEVEL 2 (Spanish): bit.ly/2ZNWgqy Follow me on FACEBOOK for more: facebook.com/Electronoobs Help me on Patreon: www.patreon.com/ELECTRONOOBS
*_This is one of the absolute BEST videos I’ve ever seen. It’s short, no annoying music, direct to the point, well illustrated, beautifully animated and perfectly described. CONGRATS AND THANK YOU!_*
Hi there. A great video. A couple of points: 1. I think your circuit explanation at 4:00 point may be incorrect. I built the circuit. As soon as you apply power, the LED connected to output turns on. That's because the BJT turns on immediately because enough voltage is applied to it's base through the "pullup" resistor path, which is also able to supply current to it's base!! This can be fixed by removing the wire that connects the collector to it's base (in the schematic)! It's not needed! 2. I had problems with the circuit at 5:52 as well. I built that one as well. When you press the button the first time the output turns on. But when you press the button again and again the output remains on. This is because when you press the button the second time (and onward), the capacitor discharges immediately through the already on second BJT (depriving you of the time you need to "remove you finger from the button"). You can fix this by adding a resistor between the capacitor and the second BJT's collector to slow down the discharge. I used a 2.2 K one that was on my desk and the circuit works! You press the button, the output turns on. You press the button again and the output turns off, and so on. With all respect, I am just trying to learn. Great work my friend. Very clever circuit as well. I loved your video. Thank you!
WHY. IS THIS. CHANNEL. SO. UNDERRATED?!
The explanation of what's happening in the circuit is just top notch. Thanks!
I love the simplicity of your design. It's simple and elegant.
I've been wanting a cct like this for YEARS! Thank you for publishing. BTW excellent presentation. Keep up the good work! Kudos!!!
This is by far the best power saving technique. you should consider to sell this boards.
I've seen several variations on this circuit concept, but I like your implementation the best. Well done! (edit: I'm referring to the final circuit you presented)
I love your videos; they're usually at the level that I can understand what's happening. :)
Fantastic! Best kind of videos, simple, educative, well explained and most of all very useful. Thanks for teaching us this.
This is almost identical to Dave’s simplest soft latching circuit from 10 years ago, but your graphics are better and you provide a real example. One thing though, you glaze over that the mosfet has to be pnp and the bjts must be npn. If people don’t know the circuit symbols then they are going to have a hard time.
@uuuu6590
Жыл бұрын
It is Dave's circuit, with some corrections made in a comment (the second one) 6 years ago. Seeing it work in such a visual manner is great
Was just about to design this exact circuit (vibration sensor triggered, micro turn off) for a device I'm making. Thanks for this.
These are the i videos love! Good old analog circuits!
this is exactly what i need to complete a project i had in limbo for a long time thnx sir
Pff... I think you made my day with this circuit... Now I have to modify my PCB and code, but it might be worth it. Thank you.
Awesome job mate, looking forward to the PCB design
Very nice little circuit. I've been using one of these in a low power flashlight for the fun of it. Works very well. Thanks for sharing! Cheers
Absolutely outstanding video. I’ve had the same idea for a project, thank you so much for saving me the time and research!
Great work! I was wondering whether such a circuit existed! I look forward to using it in my projects! Thank you!
@ELECTRONOOBS
3 жыл бұрын
Glad it will help you!
that is a really useful circuit, thanks for sharing, it never crossed my mind that i can use such an efficient method instead of deep sleep with esp
Thanks for sharing. I think I will try use this for one of my projects.
Very good 👍 Look forward to next
Thanks for a great demo. Just what I need!
I learned something new!
Excellent ! I was also trying to make something like it because it is a need for every low power device
@ELECTRONOOBS
3 жыл бұрын
Thank you so much!
@jeevanshrestha8888
3 жыл бұрын
@@ELECTRONOOBS I tried but it is not working with microcontroller...
@kenengel620
Жыл бұрын
@@jeevanshrestha8888 There is an error in the schematic. There should not be a connection between R2 and the gate of the MOSFET.
Waw this is exactly what i was looking for, thanks for the super clear explanation!!
Brilliant. Glad to be a patrion. 👌👌
i really love this video, it taught me a lot
Nice one! Useful circuit and very clear, step-by-step explanation.
Thanks for the video. Waiting for the next one on this topic
Not just Like,but Adorable! Awesome, lovely ... Thank you
EXCELLENT IDEA !! Thank you very much for sharing and explainig it very clearly . I will definitely use this in future projects for my model train layout and others
Very useful 👍. Thank you.
I wanted to understand everything like you introduce & solve, always 💙💙
Many thanks indeed for the very well presented video. Just so you know people are paying attention.... Your circuit diagram has R4 = 100R but on your breadboard, it is 100k. Thanks again for the very clear explanation. cheers.....
Thankyou very useful waiting for next
Super very very explained and professional keep going.
Very useful video. Thanks!
the way to present it is great (let's make it like that, but then we have this problem, so let's do that, etc... )
Brilliant new video as always! :D (Please do more stuff with nixie tubes)
@ELECTRONOOBS
3 жыл бұрын
Thank! I will!
Awesome & Step by step explanation❤
Perfect! This is exactly what I need for my post box notifier :) Thank you!!
@ingeniossoluciones
Ай бұрын
Did it worked for your notifier?
@sk8t3rcz
Ай бұрын
No it does not worked for me, I am now using wifi door sensor with Tuya app. Its cheap and working fine
Excellent. Smithers... Excellent.
Very nice. Thanks for sharing. :D
Congratulations on reinventing Keving Darrah's Trigboard from 2018
Clever. I thought about this somehow and needed "advice."
Ofcourse we like your video.. 👍🏻👌🏻
Such Awesome Job, keep on Sir It's very useful Project ❤❤❤
Great. Was looking for something like this.
Quality speaks!
loved this one , great effort .
Thanks for the nice explanation!
Sir you are great, I wish I will be like you some days.....
This is awesome video of yours man...
Very nice job. If you want to minimize and improve I can suggest to use the IRF7317 (It is a couple of mosfet) and a couple of resistors.
Whoa amazing!
I had something similar. May be more complex than yours but easy. I had put together with ir motion connected to rechargable batt. Maybe with timer ic s. Connected to voice chip recording went to miniature FM radio transmitter. When a car past by it would set off the motion sensor played the recording and hear it on my radio. One of my best useful projects I built that I liked. Back in the late 90 s. The motion detector was connected to fet transistor to keep power drain down when nothing happens.
Very nice! Thanks for sharing!
That is a very handy little circuit!
very clever combination of digital & analog electronics to improve power efficiency
Brilliant.... Thanks a ton mate.
Brilliant idea You always great Noobs
Nice job!
Very interesting and usefull video !
I'm hoping that you could produce such interesting, good quality design for electronics your avid fan and subscriber, thanks. Learning a lot from you, nice explanation
Interesting topic. I hadn't thought about it. So many new projects start coming to mind. Thanks
@ELECTRONOOBS
3 жыл бұрын
Glad to hear that. maybe you can share any of your projects with us :)))
@PGrimp
3 жыл бұрын
@@ELECTRONOOBS 1)A push button pressed by something floating that detects when the cistern is full - always wanted to do something like that but feared to get electricity near water. 2) a sensor and sound repellent placed at my crops field - tried before but ditched due to battery drained fast. 3) a tripwire that sends sms when someone enters my vacation house - it can last one charge for months this way
@ashajjar
3 жыл бұрын
@@PGrimp great ideas ... I can add to them a GSM post notifier (no wifi) and many types of presence detection approaches (e.g. PIR)
@ashajjar
3 жыл бұрын
@@PGrimp I actually had to abandon a project because of lack of power saving technique some years ago ... we had a Fusball table in our office, and it was really in use most of the time (big office) so we thought to make an IoT status detection based on vibration, but that was really difficult to realise due to the fact that ESPs are not battery friendly 😅
Very useful ! it will help me a lot.
Nice .... Superb... Very useful... 👍👍👍🙏🙏🙏
Thank you sir very helpful
Excellent job
a very VERY useful circuit..
great solution
Awesome 👍
Very cool!!! Thank you!
super intresting!
Excellent. Please also add a low power (programmable?) timer to your board so you can force a wake-up every hour. This would be useful for a logging application
@3nertia
Жыл бұрын
1000% THIS!
This would be great to turn into a little 5-pin module that you can just solder onto your circuit. (Power in, power out, ground, trigger - pull low to turn on, finished - pull low to turn off) Also, I already saw the circuit at 5:41 a few years ago while watching EEVblog.
@arseivan
Жыл бұрын
For ref: I believe EEVblog circuit mentioned can be googled with the following keywords "EEVblog #262 - World's Simplest Soft Latching Power Switch Circuit"
Useful!
I made similar latch circuit before. Later I realized that most MCU's (atmega328, attiny85, esp8266, esp32 ...) deep sleep current draw is lower than a battery's self-discharge current. Now I never use any latch circuit. Just make sure you skip the linear regulator and power the MCU directly. The most common linear regulator -- AMS1117 -- has quite a high quiescent current.
@AlexanderTheMiddle
Жыл бұрын
Wow! Is it really lower?? That's awesome
@jantube358
Жыл бұрын
Even with LSD-NiMH?
@paveltsvetkov7948
Жыл бұрын
The MCU - maybe. But some dev boards have auxiliary components which draw current even id the MCU is in deep sleep
Very useful, thanks
Muy bueno e interesante, en el próximo video, podrías de implementar que el mismo botón sirva para apagar el Arduino si lo dejas pulsado unos segundos... Felicidades!
great work helpful 👍👍
Great video.
@ELECTRONOOBS
3 жыл бұрын
Thank you! :)
Neat little circuit! This also answers a questions I had about P channel MOSFETs :) You could also do it with the MOSFET and one transistor by using a microcontroller pin to latch the MOSFET gate low via that transistor, then pull the microcontroller pin low again once it's finished what it needs to do :)
@LabArlyn
2 жыл бұрын
Your pfp is beutiful.
that was a great video u never disappoint us!!!! , I just have a question doesn't the vibration sensor consume power while it's plugged with the battery (or is it that negligible??) or we just make that latch to avoid powering the arduino at all time?(sorry am new to electronics)
Useful one, thanks
Very good
Really useful circuit , using a solar small solar panel as a trigger or a hall sensor can make for an interesting implementation
@ELECTRONOOBS
3 жыл бұрын
Yes that is very interesting!
Thank You
Your awesome sir.. nice share thanks for this
Cool video
Brilliant 👍👍😎
Great video, excellent animation and explanation, with a logical progression of the challenges and the solutions. I would love to incorporate this into my current project that detects an IR remote button press, however unless the circuit is powered on, there's no way that I can think of to detect the IR signal. If anyone knows of a way (other than a phisical button switch press) please share!
Thank you sir
Thank, very helpful video
great idea , I will combine this theory with my emergency LED to control LED will turn on during night day and no interupt during light and thunder are appear
Liked the tutorial , it will be good if you explain something about latches
Great idea! Did you ever get around to making printed circuit boards with surface mount components?
Very good!