#58 ESP8266 Sensor runs 17 days on a coin cell/transmits data (deep-sleep)

  Рет қаралды 388,735

Andreas Spiess

Andreas Spiess

Күн бұрын

In this episode I show how a ESP-07 or ESP-12 measures its voltage and transmits it to data.sparkfun.com and ubidots.com. If it transmits every 2 minutes, it ran 26 hours on a small LIR2450 button cell. If it would transmit each hour, it would last for 17 days and on 2 AA batteries 425 days.
Sketch: github.com/SensorsIot/ESP8266...
Rainer Ochs: www.esp8266.com/viewtopic.php?...
Base64: www.base64encode.org/
HT7333 voltage regulator:s.click.aliexpress.com/e/ciskloDS
Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
Calculator to calculate running time: battery-life.of-things.de/batt... or batterylifecalculator.iobot.in/
If you want to support the channel and buy from Banggood: bit.ly/2jAQEf4 (no additional charges for you)
/ andreas-spiess-7331894...
/ spiessa

Пікірлер: 687
@asiw
@asiw 8 жыл бұрын
Fantastic. Love the clarity of your explanations and the level of detail that you include. It has given me lots of ideas to experiment with and your Sketch is a wonderful starting point. You make life with the ESP8266 much easier that it would otherwise be.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Thanks for your nice comment. I am glad I can help. This is why I do my videos. I also learn a lot from other videos.
@DM-qm5sc
@DM-qm5sc 8 жыл бұрын
Thank you for the time you take to make these videos, and for sharing your knowledge!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You are welcome. I am glad if people like you watch them. So, it is worth the work...
@youreale
@youreale 8 жыл бұрын
Thanks for posting such detailed work in this series. Very appreciated!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You are welcome!
@DaveHuntMaker
@DaveHuntMaker 7 жыл бұрын
Excellent video, Andreas. Great info on the regulators! :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@DRI1966
@DRI1966 3 жыл бұрын
Thank You again Andreas for this well presented and elaborate project. I learned a lot in this short time, I was not aware of the HT73xx , great thing to use in my future projects. Thank You again and stay safe. Best Regards, Didier (From Belgium ... The country of the best chocolates in the world ;) )
@robertkes
@robertkes 8 жыл бұрын
I have to say, I love it. I already learned more than I expected today!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Robert Kesek Very good! Thank you for your nice comments.
@jct4647
@jct4647 8 жыл бұрын
Brilliant video +Andreas Spiess, thanks.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Johan van den berg You are welcome!
@mt-qc2qh
@mt-qc2qh 8 жыл бұрын
Great coverage, Andreas. Keep them coming!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+m t Thanks!. The next two are already in the works.
@zekoboss810
@zekoboss810 6 жыл бұрын
I have not seen anyone explain better than you Thank you♥
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you for your compliment!
@robertparenton7470
@robertparenton7470 6 жыл бұрын
Thank You for Valuable Videos and Your Time. I appreciate all!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@Educ8s
@Educ8s 8 жыл бұрын
Great video! Thanks for sharing!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+educ8s.tv You are welcome.
@xennelul
@xennelul 7 жыл бұрын
I ran my ESP8266 from a 400mah Li-Ion battery for 20 days, measuring battery voltage at 10 minute intervals. Thanks again for your awesome and inspiring videos!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+xennelul Thanks for your feedback. Glad it worked
@Peter_S_
@Peter_S_ 7 жыл бұрын
You make excellent videos! Thank you for your work and educating others (like me)!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You're welcome!
@jeffhill6769
@jeffhill6769 6 жыл бұрын
Really appreciate your great work on these videos. Tremendously instructive!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you!
@saintpine
@saintpine 7 жыл бұрын
I'm from the other side of the Alps, I enjoyed your video, well done. And obviously I subscribed.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
We here love your side of the alps (especially in these cold times)...
@gucluceyhan
@gucluceyhan 7 жыл бұрын
Andereas great video(s). I really like the way you approach the subjects. Really great work(s) and appreciate it!! Thank you!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your nice comment!
@BBConraD
@BBConraD 6 жыл бұрын
It was a great work, Mr. Andreas. Thanks for sharing and very helpful information. Respects...
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@3amali1
@3amali1 7 жыл бұрын
17 people have pressed the dislike button,, Seriously?! the guy is giving you free knowledge and you give back a dislike!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Ehab Saleh ايهاب صالح There are always a few dislikes. But usually without comment.
6 жыл бұрын
There is no need to worry about dislikes on a video. Consider them as "noises".
@Jemacaza
@Jemacaza 6 жыл бұрын
probably uncontrolled spasms of excitement
@tbyte007
@tbyte007 6 жыл бұрын
Some people press dislike accidentally and never notice. And it goes from grey to black which is really far from a bright idea :)
@BarackBananabama
@BarackBananabama 6 жыл бұрын
They are battery sellers. Any information regarding low power usage sucks.
@CarlosEcheverriaOne
@CarlosEcheverriaOne 7 жыл бұрын
Sure is an interesting topic to give the best attention possible. For sure my dear Switzerland accent guy, that was a delightful explanation of battery consumption on ESP-8266 module. Thanks a lot for sharing soo good knowledge..! 😃😃
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@Slider2732
@Slider2732 7 жыл бұрын
I kept pausing to go and buy things LOL For example, those HT7333's have replaced my LM1117's now after this great video ! Very enjoyable and informative Andreas, thanks.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, the HT7333 are a very good replacement for the 1117 and not very expensive...
@RichardEricCollins
@RichardEricCollins 7 жыл бұрын
LoL I did that with the last video of his I watched. :)
@DrTune
@DrTune 6 жыл бұрын
worth pointing out that there is some tradeoff between quiescent current and maximum input voltage; HT7333 only goes up to 12v; LM1117 up to 20v, last time I looked this seemed consistent across LDOs
@davidhsieh2761
@davidhsieh2761 6 жыл бұрын
And 250mA max but the LM1117 thing will run way too hot at 20V...even at 12V with a high enough current draw
@tigransardaryan9298
@tigransardaryan9298 5 жыл бұрын
use MCP1703 or MIC5219 (if you need to be able control flow) instead
@benfletcher7209
@benfletcher7209 6 жыл бұрын
Really enjoyed this video and found it very informative, its fantastic to be able to learn like this. Thank you Mr Spiess
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome! There are a few more videos on ESP8266 and the newer ESP32 on my channel...
@9549549543
@9549549543 5 жыл бұрын
Hi Andreas, Hope you are keeping well.. I am not a technical person your explanations in this video is very easy to understand. I watched on ESP 8266 more than 100 video really its very helpful in my project.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you for your feedback. I am happy if my videos are helpful for others achieving their goals.
@JeremieFrancois
@JeremieFrancois 8 жыл бұрын
Outstanding, complete and clear work. Second time I stumble upon one of your videos, I'm definitely a subscriber now :)
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Jeremie Francois Thank you for subscribing! Statistics show, that still 75% of my views come from not-subscribed viewers...
@JeremieFrancois
@JeremieFrancois 8 жыл бұрын
Andreas Spiess yep, I am also surprised that my 20K views/month blog is also invariably and overwhelmingly composed of newcomers. The outer world is always bigger I guess :)
@pjwlk
@pjwlk 5 жыл бұрын
Thanks Andreas for another great video. I've learned a few things today.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
You are welcome!
@hvanmegen
@hvanmegen 8 жыл бұрын
episode numbers: +1, english much improved: +1, calculations explained: +1 ... you're awesome, thanks for these nice and informative videos!!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Henry van Megen Thank you for the nice comment.
@alphonsesynrem28
@alphonsesynrem28 5 жыл бұрын
Always good!! Very informative and detailed, I didn't know much though, sorry. Thank you. I am learning new things watching your hard works.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
:-)
@glikar1
@glikar1 4 жыл бұрын
Thanks Andreas, I've often wondered how to calculate loads vs capacity. Using ma/sec and cycles makes sense.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
:-)
@artlasvegas2004
@artlasvegas2004 6 жыл бұрын
Video is a little old, but, THANK YOU VERY MUCH for all the time you put in to give so much knowledge back to the WORLD. Always enjoy you r videos lessons.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you!
@maruanjaber913
@maruanjaber913 8 жыл бұрын
Excelent video! Congratulations and thank's for sharing with us!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You're welcome! I also learned a lot with KZbin.
@rubenfernandez9603
@rubenfernandez9603 7 жыл бұрын
Wow! Thanks for your time creating this great videos :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You're welcome!
@id513128
@id513128 8 жыл бұрын
Wow! Awesome. I live your solution for current spike. Thanks.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You are welcome!
@salomondenis9751
@salomondenis9751 7 жыл бұрын
Thank you Adreas, very usefull information.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@mmendesrs
@mmendesrs 8 жыл бұрын
Very good explanation with all hardware details!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Thank you for your compliment!
@aleksandertoth8764
@aleksandertoth8764 4 ай бұрын
Thanks for the explanations. This regulator will help me a lot.
@AndreasSpiess
@AndreasSpiess 4 ай бұрын
Glad to help!
@KobyLev
@KobyLev 8 жыл бұрын
Excellent video, interesting educational and practical - I've enjoined watching it.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Thanks for the compliment!
@andreyhinov8147
@andreyhinov8147 4 жыл бұрын
Fantastic work!
@FrerkMeyer
@FrerkMeyer 8 жыл бұрын
Excellent video. Exactly what I'm interested in when it comes to smarthome nodes based on the eps8266. I would send the data to my in-house openHAB server running on Raspi2, but that's the same from the viewpoint of the esp8266. My witty boards are in the mail and I can't wait to experiment with them.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Frerk Meyer The witty boards might use current higher current also in sleep mode unless you disconnect the base PCB (which contain the serial to USB chip) and disconnect the LM1117 power regulator which is on the board itself. Or you do not need deep sleep. Then, the witty boards are ok.
@ddavid2
@ddavid2 3 жыл бұрын
These videos are great! Many thanks!!
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Glad you like them!
@arcadeuk
@arcadeuk 8 жыл бұрын
Very informative and very well presented!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+arcadeuk Thank you for your nice comment!
@jeffthom3155
@jeffthom3155 8 жыл бұрын
Another great video . Congratulations on teaching.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Thanks!
@miltoneduardososa378
@miltoneduardososa378 8 жыл бұрын
Sehr Interesantes Video! Sie haben die Spannungsregler und Kondensatoren (im video #47) wahl methode sehr gut erklären. Vielen dank für teilen ihre Ergebnis.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Bitte, gern geschehen!
@jchen9614
@jchen9614 5 жыл бұрын
Good work,I am glade to see the wonderful video,thank you! This video solve my lots question
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Good to know that I can help!
@EasyOne
@EasyOne 3 жыл бұрын
Very well explained
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Thank you!
@Mrityunjai-IN
@Mrityunjai-IN 8 жыл бұрын
Well explained sir ! Thanks for sharing.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Mrityunjai Kumar You are welcome.
@myounges
@myounges 8 жыл бұрын
Excellent video thank very much Andreas!!!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You're welcome!
@stfm
@stfm 7 жыл бұрын
Really impressive. Thanks for this Video. Very interesting.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You're welcome!
@subbuiyer8377
@subbuiyer8377 8 жыл бұрын
Brilliant video! thanks for this!!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You are welcome!
@thinkwareltd
@thinkwareltd 7 жыл бұрын
Thanks for your post. Most interesting.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@niniliumify
@niniliumify 7 жыл бұрын
Talk about "Power Napping"! ~excellent presentation~
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@wojciechlipinski7258
@wojciechlipinski7258 6 жыл бұрын
Good job sir!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thanks!
@Bob3519
@Bob3519 7 жыл бұрын
Thank you for the information.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@stu110
@stu110 8 жыл бұрын
Another great video, thanks! :)
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+stu110 Thanks for the compliment.
@ToastersScareMe
@ToastersScareMe 7 жыл бұрын
almost a year late... but great video, thanks so much i learned a bit, time to start researching everything deeper
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks! There are a few other videos from me concerning this topic. You find them in a playlist
@Maaututorial
@Maaututorial 8 жыл бұрын
Thank you this was what i needed:)
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Maaututorial You are welcome!
@rodstartube
@rodstartube 7 жыл бұрын
lol i read ubidiots.com instead of ubidots.com when clicking. great content as always. i'll have those HT7333's in my mind to enhance some projects. thanks!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+rodstartube The first ;-)
@EZtech
@EZtech 8 жыл бұрын
Please put the next episode on the FedEx truck, I can't wait to see more! The suspense is killing me. I took a cursory look at the code but can't figure it out. I have an esp8266 adafruit feather with a 3.7v lion 500mah battery and was getting just 4 1/2 days updating "adafruit io" once every hour. The esp would only go to sleep for one hour max. Great video, I don't see where you find the time for all this stuff.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Revelation612 The feather has also other chips which might use current even if the ESP is in deep sleep (e.g. USB interface). This board is probably better for development.
@plasticmirror
@plasticmirror 4 жыл бұрын
im glad that youtube provides the option to step up the playback speed ... :D
@PachaTip
@PachaTip 4 жыл бұрын
Thanks you very much for knowledge
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
You are welcome!
@XerotoLabs
@XerotoLabs 8 жыл бұрын
great info as ever . very clear and easy to fallow .
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+XerotoLabs You are one of my "closest" subscribers. Thanks a lot.
@XerotoLabs
@XerotoLabs 8 жыл бұрын
+Andreas Spiess you have a great way of explaining stuff and your videos always provide new things for me to think about . now i have a use for all those old Lion and Nimh cordless phone batteries ( N size cells) I have and one si can get form clearance outlets for cheap. I used to use them for ODL R/C stuff before lipo's became a thing . I wonde rhow long and how small a pack you could make using the inner aaaa cells in a '9'v nimh battery ( 7.2v IIRC , some were 8.2 or 9.6v ) . i used to take them apart t get the tiny cells to make my R/C glider's radio packs. those cells were sometimes small squares with tabs , about the size of your big capacitor in your video . some have oblong button cells stacked in them .
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+XerotoLabs I just learned from a viewer that LiPoFe4 batteries with a nominal voltage of 3.2 volts exist. These would be ideal for this purpose because their max voltage is 3.6 volt. So, I ordered some and will try. 9V batteries are a bit of an overkill because the regulator has to "kill" the extra volts. I wonder how much current it would use in deep sleep...
@orlin369
@orlin369 7 жыл бұрын
Great video, just great .
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@BilalInamdar
@BilalInamdar 8 жыл бұрын
Great info dude i m a fan now.... Small detail for Noobs is best. i like IOT but don't have time to read but your video teaches good.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Bilal Inamdar Good to hear. Then it is worth my work!
@christopher8199
@christopher8199 4 жыл бұрын
great video Andreas
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Glad you enjoyed it
@christopher8199
@christopher8199 4 жыл бұрын
@@AndreasSpiess I can't believe you reply to all of these comments
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
But I do it ;-)
@CheeKiatTeo
@CheeKiatTeo 8 жыл бұрын
Great video!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Chee Kiat Teo Thanks!
@michaeldallas
@michaeldallas 7 жыл бұрын
Very good. Thanks!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@zebrahuhn5899
@zebrahuhn5899 8 жыл бұрын
Hi Andreas! Very good video, again. Just one tiny remark: If you have no connection from GPIO16 to reset pin, the ESP does not stay in deep sleep. It (kind of) wakes up in a weird state and does not continue to run the code, but consumes about 15mA. So that's even worse than staying in deep sleep. ;-)
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Zebrahuhn Thanks for this addition. I did not try it myself.
@the-matrix-has-you
@the-matrix-has-you Жыл бұрын
Hi Andreas, I have managed to descrease esp 12F's Power consumption to 159uA by removing the LDO of Wemos d1 mini I Power it with my custom deep sleep wake shield. The shield is using 100nf in parallel with 100uF in paralel capacitors to HT7333 then HT7333 3.3v output is connected to 100nF polyester film capacitor for filtering purposes then I added 1000uA 3000 hour lifetime %5 capacitor to reduce peaks as you mentioned in the video. Then this Power circuit Powers my deep sleep wake part of the circuit and that circuit itself with Power components just draw 1uA😀 I also watched your PIR sensor videos and I have choosen HC-SR-501 and modified it by removing Diode cause it was lowering the voltage and removed LDO of it then I bridged VIN and VOut of LDO pins now it draws 36,38 uA when it is idle. When my sensor detects movement the wake circuit wakes esp12F from deep sleep and keeps it open until task is done then it goes to deep sleep again. With modified HC-SR-501 PIR sensor my sensors total current draw is 210uA in deep sleep with clone wemos d1 mini😀 with my calculations it will Last for 346 days with 2000mAh Lithium-Ion battery with 3.8 volts with single charge. Thanks for tips for lowering Power. I am also full time 12 years of experience C, C++ and C# programmer so lowering run times was easy. You can lower your connection time even more. My sensors connects the wifi gateway in 500,600ms if you specify mac address😉 I might remove the blue LED as you suggested for lowering consumption even more! Thanks! Keep the content coming we love it😀
@AndreasSpiess
@AndreasSpiess Жыл бұрын
Very good work! And thank you for the writeup! With this low current consumption I probably would go for standard batteries as Li-Ion batteries do self-discharging.
@GreekReview
@GreekReview 8 жыл бұрын
nice video !!!
@mostlymessingabout
@mostlymessingabout 7 жыл бұрын
Thank you very much
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome
@kriptontr
@kriptontr 8 жыл бұрын
great vid. thanks.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Tamer Aktaş You are welcome!
@sramilli
@sramilli 8 жыл бұрын
Hi, i watched almost all your videos yesterday. They are great, full of precious information! Thank you for doing them :) I would like to ask a more general question. What do you think is the most efficient way (less heat - and not too expensive components) to step down 12V to 5V and 3.3V for Arduinos and ESP8266 to be used in the same project? Thank you!
@cameron20020
@cameron20020 7 жыл бұрын
Did a similar thing with a lifepo4 cell and small (4cm*6cm) solar panel. The idle power usage while the esp sleeps is so low that I had to purposely keep the thing awake to stop the cell overcharging. Surprised it actually matches its datasheet power usage after you disconnect any external circuitry.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
It shouldn't be a surprise parts meet specifications ;-)
@anslan
@anslan 4 жыл бұрын
Thx rus subtitles. Ставлю лайк за русские субтитры, к сожалению в других Ваших видео они не работают. С удовольствием просмотрел бы и другие видео.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Все субтитры были предоставлены лояльными зрителями. Для их создания много работы.
@marcin8132
@marcin8132 4 жыл бұрын
Amazing!
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Thank you!
@skrame01
@skrame01 7 жыл бұрын
I've had good success with the 2CR1/3n 6V battery for powering small microcontroller current-intensive devices, it will provide 60mA steady and 80mA pulse, 160mAh for Li-ion type.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for the feedback!
@mecommenting
@mecommenting 5 жыл бұрын
your videos are great !!! don't lose that swiss accent by the way
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
It would be hard to lose it in my age. No worry!
@HorstChristophSchreiber
@HorstChristophSchreiber 7 ай бұрын
danke schön!
@AndreasSpiess
@AndreasSpiess 6 ай бұрын
Gern geschehen!
@markus1963nl
@markus1963nl 8 жыл бұрын
For another video, it would be interesting to hear about the rtc memory functions you are calling to keep state between sleeps. This issue of persistence has been on my list for storing known SSID/Password entries entered via AP most. A video on this topic would be really helpful.
@deangreenhough3479
@deangreenhough3479 8 жыл бұрын
I agree, RTC explained by the guy with the Swiss accent is required
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Dean Greenhough In the works...
@PsiQ
@PsiQ 6 жыл бұрын
If not finished yet: how much energy/time would it take to wake up just to get ntp time from router, then go back to sleep. perhaps combine with software correction of time deviation of internal clock. Nice videos & explanations 😄
@sallerc
@sallerc 8 жыл бұрын
Interesting video, thanks for sharing! Waiting impatiently for my NodeMcu Lua ESP8266 from ebay :) This will help my future project, want to run on battery for a long time.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
Just one remark: NodeMCU boards are development boards and not suitable for low power applications because they use a 5V to 3.3V regulator and have a USB to serial adapter on board. Both devices use lots of power even if the ESP is in deep sleep.
@sallerc
@sallerc 8 жыл бұрын
Good to know, I'll look into using a ESP-12 instead of the NodeMCU for the final build then.
@sallerc
@sallerc 8 жыл бұрын
This is the capacitor you were using right? www.ebay.com/itm/301749529877 Thanks
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+salle rc yes
@sallerc
@sallerc 8 жыл бұрын
Do you think these would work as well (cheaper), or is 4V to low? www.ebay.com/itm/191697227371 Or possibly another capacitor type, space is not an issue for my application.
@anandanatarajansubramanian7089
@anandanatarajansubramanian7089 8 жыл бұрын
bulls eye. Thanks +Andreas Spiess
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
You're welcome!
@blumenretter3570
@blumenretter3570 7 жыл бұрын
Thank you very much for this awesome and very helpful video! I'm going to give the HT7333 a try now! I hope the module is not too tiny so I'll be able to solder wires to the pins. Do you use a special soldering iron for SMD parts? Greetings from Germany, btw! I don't mind the Swiss accent at all. I like the fact that you speak slowly in the video, so it's easy for me to follow. :-)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your nice words! No, I use the normal soldering iron or a hot air gun if I have to solder more than one part.
@greuve
@greuve 6 жыл бұрын
Very useful and very interesting ... and I think I learned my first Swiss German word. Gruezi! Mit Hilfe von Bernhard Hofman :) Groetjes!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thanks! Glad I can spread Swiss German because it is a rare language ;-)
@blackout57
@blackout57 7 жыл бұрын
I really love the swiss accent, it is the same when then speak french.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@kellyanderson7115
@kellyanderson7115 7 жыл бұрын
Andreas, I looked up the specs on the HT7333 and it shows the quiescent at ~4mA not 4uA. Also a bit more digging shows the TI TPS78333 using an extraordinarily low 0.5uA, with a dropout voltage of 0.15V, it looks like it would be the perfect regulator for a sensor application.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Kelly Anderson Obviously, there are different data sheets around. Here, it has 4 uA: www.holtek.com.tw/documents/10179/fafea7fe-0c1e-4e6f-be98-64cdc6472624 So, the only possibility is to measure ;-)
@fromchinaparcel
@fromchinaparcel 7 жыл бұрын
Many thanks for the info about HT7333. Will use it in weather station outdoor with one 18650 LiPo battery. Greetings from Russian viewers)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you. Did you see the Russian subtitles for a few videos?
@fromchinaparcel
@fromchinaparcel 7 жыл бұрын
No. I didn't. Can you give me a link? Also could you, please, give me advise: If I want to power my ESP8266 from LiPo18650 and will use HT7333 for stabilisation - it means that i will use only part of 18650 capacity, because HT7333 will stop work at 3,45 V (3.3+dropdown). But lower level of voltage on 18650 (fully discharged) is about 2.5 V. how to use it's capacity from 3.45v to 2.5v ?
@fromchinaparcel
@fromchinaparcel 7 жыл бұрын
I hope you catch my question)
@fromchinaparcel
@fromchinaparcel 7 жыл бұрын
I hope you just forgot to answer my question?
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
This is not the behavior I accept. I will not answer therefore
@markus1963nl
@markus1963nl 8 жыл бұрын
Hello from the Netherlands Andreas. Great video once again. You always come back with all sorts of nice nuggets. The tip about the ADC_MODE(ADC_VCC) and ESP.getVcc() methods was very helpful. How did you calculate the VCC_ADJ at 1.096? I also noticed that BATT_WARNING_VOLTAGE was set to 2.4V. I thought the working voltage levels for the ESP was 3.0 to 3.6v? Or can it go as low as 2.4v? Great stuff again and keep up the great videos. Mark
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Mark Troyer I just used the coding of Rainer without changing a lot. I added the two IOT services and left the rest. So, it is well possible that some of the coding is not yet optimal. It goes for sure below 3 volts, but I think, it depends on the individual chip on how much. The VCC_ADJ: I measured it with a voltmeter and looked what the ESP was measuring. Simple ;.)
@taogre3760
@taogre3760 7 жыл бұрын
Endlech mol en Guete Schwiizer KZbinr Hesch der grad es Abo gholt 😀
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Dankschön!
@jims408
@jims408 8 жыл бұрын
Hello guy with the Swiss accent. :) What a wonderful channel you have. I am so glad I found it. You explore really interesting topics and explain things very well; easy to understand. I am curious if you are an engineer by training or just picked things up on your own? Thank you!
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+jims408 Thanks for the compliment! Yes, I am a trained electronics engineer, but did not work on my profession for years. Now I am old enough to do what I want. Therefore, I started my hobby again. The times are very interesting with all these modules you can get for nearly no money...
@NightRunner417
@NightRunner417 8 жыл бұрын
Nice video. Lol at 5:08 I was doing something else while the video played and I stopped and thought, "Whoa... 10,000! Am I that behind the times???"
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
There is an overlay saying, that it is 1000, not 10000uF. Unfortunately, it is not displayed on Ipad and Iphone.
@NightRunner417
@NightRunner417 8 жыл бұрын
No, I saw it. It's just what I heard because I was away from the monitor listening to the video. NOT criticizing you, I just thought it was funny. :-)
@alessandrodionisivm
@alessandrodionisivm 6 жыл бұрын
Hello Andreas, thanks very much for your videos and knowledge sharing, so much appreciated. I want to realize a wireless keypad with BLE and I was wondering if it’s possible to augment battery life using ESP 32 deep sleep. Do you know if it’s possible to wake up the ESP-32 pressing a digit while not loosing the input? Thanks!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Maybe you watch my videos about the ESP32, also using BLE
@le_rockshark
@le_rockshark 6 жыл бұрын
Danke fur das coole Video :) Grusse aus Russland :)
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Bitte, gern geschehen.
@markus1963nl
@markus1963nl 8 жыл бұрын
Finally one last video topic suggestion on using the ESP8266, MQTT and security. While I have read on some forums that it is possible to run MQTT securely with TLS1.2 on the ESP using a native C Xtensa development toolchain, it would be really helpful to understand if you have ever explored doing this in an Arduino IDE environment for the ESP8266. Everything I have ever seen with the Arduino IDE is only using unsecured communications. Seems like something seriously holding back the IoT market. A two minute session with Wireshark exposes all hobbiest username/passwords with all of the newest MQTT services.
@AndreasSpiess
@AndreasSpiess 8 жыл бұрын
+Mark Troyer So far I did not try secure communication. I am not sure if it is easily possible ith the EXP8266. My opinion is, that the thigs I transfer are not really important nor are they valuable. So, the chance of a problem is rather small for me. For seure communications we probably have to wait for the ESP32.
@eduardo9626
@eduardo9626 5 жыл бұрын
Thanks for the subtitle, if more videos of you had subtitles the success of this channel that already is very good would be even more. How would you like more subtitles in Portugues
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
I completely depend on my subscribers for the subtitles. I even started a project once. This is why some videos have subtitles. But the project was not a big success.
@CristianSzwarc
@CristianSzwarc 8 жыл бұрын
great info!, regarding email... I'm using pushover to receive messages directly to my phone from some projects. it is a paid app but totally worth it (is "free" to send notifications up to a limit and you need to buy the client app), keep posting
@WUTUcz
@WUTUcz 8 жыл бұрын
Try to look at Pushbullet. Its free.
@TheUnofficialMaker
@TheUnofficialMaker 3 жыл бұрын
me too. and very fast I have found.
@CNLohr
@CNLohr 6 жыл бұрын
Andreas, I intend to use a small bit your video, talking about it in my video. Do you have any issues with that? I am specifically talking about your video and will link it.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Hi Charles, not at all. I am honored to appear on your Channel :-)
@CNLohr
@CNLohr 6 жыл бұрын
Check your youtube inbox.
@arthurcastell3517
@arthurcastell3517 6 жыл бұрын
Thank you for the great videos, they seriously are very inspiring! With respect to battery runtime I am still trying to figure out which is the best minimal setup for a bare ESP12F module (using FTDI for programming). I understand that you need the following pins connected: CH_PD/EN => Pullup; GPIO0 => Pullup (for running; GND for programming); GPIO15 => Pulldown. And, for stability reasons: GPIO02 => Pullup; RST => Pullup; Electrolytic capacitor 1000uF between VCC and GND (as pointed out in one of your videos). What are the best values for the external resistors (sometimes I read 10k and sometimes “the smaller the better”) if I am looking for minimal energy consumption and/or stability? Some pins have internal pullup/-down resistors would they be a better choice than external ones? And does the maximum voltage level of a capacitor does have any influence on energy consumption? I know, a lot of questions, but maybe you can help shed some light?
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
1. 10k should be ok 2. Big tantalum capacitors have a leakage current of a few uA. Conventional capacitors should be better
@fuzzie4755
@fuzzie4755 7 жыл бұрын
Hi Andreas, you use also the quite big white board to solder the ESP on it. Do have found in the meantime a smaller version that has the size (width) of the wemos shields? I see still only on aliexpress the white boards from the video. I really like the already included pullup resistors and the place to solder the voltage regulator. All great. Just a little big too big for my outdoor housings.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Stefan Bode No, I never searched. Maybe you create your own. At Osh park they do not cost a lot...
@yurymetphosis5766
@yurymetphosis5766 6 жыл бұрын
Those 6.3V 1000uF SMD Tantalum Capacitor had a leakage current of around 60uA too.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are right. I had to learn that fact later on.
@johnacsyen
@johnacsyen 7 жыл бұрын
Hi Andreas, I want to use either a coin battery or AA battery to power a Wemos D1 mini, is it correct to connect it to across the 5V and Gnd terminal and what is the value of the capacitor across 5V and Gnd. Thanks
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Wemos are not very good for battery operation. There are a few videos in my ESP8266 playlist concerning the topic of power.
@dallatorretdu
@dallatorretdu 7 жыл бұрын
I was looking for something like the ST1L08 or the LDFM voltage regulator, but it's quite hard to find. I really liked the option to shut it down digitally...
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, you find also other LDOs with that property, I just do not remember, which one
@gordonw9208
@gordonw9208 Жыл бұрын
I have a LM1117 that i use to provide 3.3v for breadboard projects. It uses 10mA all the time, so not good for battery use. The HT7333 sounds promising for my solar powered esp12.
@AndreasSpiess
@AndreasSpiess Жыл бұрын
I agree
#142 Solar Power for the ESP8266, Arduino, etc.
15:06
Andreas Spiess
Рет қаралды 237 М.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 177 М.
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 6 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 44 МЛН
#370 Raspberry Pi Pico vs ESP32 (-S2) and STM32 Blackpill
15:53
Andreas Spiess
Рет қаралды 385 М.
Best power saving mode - Much Deeper Deep Sleep ESP8266
10:30
DIY TECH BROS
Рет қаралды 96 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 883 М.
Aggressively Low Power with the ESP8266
10:18
CNLohr
Рет қаралды 78 М.
#400 The Best Power Source for ESP32/ ESP8266 Projects
14:30
Andreas Spiess
Рет қаралды 115 М.
Wi-fi Soil Moisture Sensor with ESPHome
7:58
Tech Dregs
Рет қаралды 15 М.
Clicks чехол-клавиатура для iPhone ⌨️
0:59
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 110 М.