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

Ғылым және технология

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
    @asiw8 жыл бұрын

    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-qm5sc8 жыл бұрын

    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...

  • @3amali1
    @3amali17 жыл бұрын

    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.

  • @youreale
    @youreale8 жыл бұрын

    Thanks for posting such detailed work in this series. Very appreciated!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    You are welcome!

  • @xennelul
    @xennelul7 жыл бұрын

    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

  • @Slider2732
    @Slider27327 жыл бұрын

    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

  • @jct4647
    @jct46478 жыл бұрын

    Brilliant video +Andreas Spiess, thanks.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Johan van den berg You are welcome!

  • @DaveHuntMaker
    @DaveHuntMaker7 жыл бұрын

    Excellent video, Andreas. Great info on the regulators! :)

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    Thanks!

  • @glikar1
    @glikar14 жыл бұрын

    Thanks Andreas, I've often wondered how to calculate loads vs capacity. Using ma/sec and cycles makes sense.

  • @AndreasSpiess

    @AndreasSpiess

    4 жыл бұрын

    :-)

  • @hvanmegen
    @hvanmegen8 жыл бұрын

    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.

  • @mt-qc2qh
    @mt-qc2qh8 жыл бұрын

    Great coverage, Andreas. Keep them coming!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +m t Thanks!. The next two are already in the works.

  • @robertparenton7470
    @robertparenton74706 жыл бұрын

    Thank You for Valuable Videos and Your Time. I appreciate all!

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    You are welcome!

  • @jeffhill6769
    @jeffhill67696 жыл бұрын

    Really appreciate your great work on these videos. Tremendously instructive!

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    Thank you!

  • @DRI1966
    @DRI19663 жыл бұрын

    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 ;) )

  • @gucluceyhan
    @gucluceyhan7 жыл бұрын

    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!

  • @saintpine
    @saintpine7 жыл бұрын

    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)...

  • @9549549543
    @95495495435 жыл бұрын

    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.

  • @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!

  • @JeremieFrancois
    @JeremieFrancois8 жыл бұрын

    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 :)

  • @robertkes
    @robertkes8 жыл бұрын

    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.

  • @zekoboss810
    @zekoboss8106 жыл бұрын

    I have not seen anyone explain better than you Thank you♥

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    Thank you for your compliment!

  • @BBConraD
    @BBConraD6 жыл бұрын

    It was a great work, Mr. Andreas. Thanks for sharing and very helpful information. Respects...

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    You are welcome!

  • @alphonsesynrem28
    @alphonsesynrem285 жыл бұрын

    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 жыл бұрын

    :-)

  • @pjwlk
    @pjwlk5 жыл бұрын

    Thanks Andreas for another great video. I've learned a few things today.

  • @AndreasSpiess

    @AndreasSpiess

    5 жыл бұрын

    You are welcome!

  • @CarlosEcheverriaOne
    @CarlosEcheverriaOne7 жыл бұрын

    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!

  • @Educ8s
    @Educ8s8 жыл бұрын

    Great video! Thanks for sharing!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +educ8s.tv You are welcome.

  • @benfletcher7209
    @benfletcher72096 жыл бұрын

    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...

  • @artlasvegas2004
    @artlasvegas20046 жыл бұрын

    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!

  • @FrerkMeyer
    @FrerkMeyer8 жыл бұрын

    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.

  • @maruanjaber913
    @maruanjaber9137 жыл бұрын

    Excelent video! Congratulations and thank's for sharing with us!

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You're welcome! I also learned a lot with KZread.

  • @id513128
    @id5131288 жыл бұрын

    Wow! Awesome. I live your solution for current spike. Thanks.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    You are welcome!

  • @KobyLev
    @KobyLev8 жыл бұрын

    Excellent video, interesting educational and practical - I've enjoined watching it.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    Thanks for the compliment!

  • @rubenfernandez9603
    @rubenfernandez96037 жыл бұрын

    Wow! Thanks for your time creating this great videos :)

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You're welcome!

  • @mmendesrs
    @mmendesrs8 жыл бұрын

    Very good explanation with all hardware details!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    Thank you for your compliment!

  • @miltoneduardososa378
    @miltoneduardososa3788 жыл бұрын

    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!

  • @aleksandertoth8764
    @aleksandertoth87644 ай бұрын

    Thanks for the explanations. This regulator will help me a lot.

  • @AndreasSpiess

    @AndreasSpiess

    4 ай бұрын

    Glad to help!

  • @salomondenis9751
    @salomondenis97517 жыл бұрын

    Thank you Adreas, very usefull information.

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You are welcome!

  • @EZtech
    @EZtech8 жыл бұрын

    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.

  • @jeffthom3155
    @jeffthom31558 жыл бұрын

    Another great video . Congratulations on teaching.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    Thanks!

  • @zebrahuhn5899
    @zebrahuhn58998 жыл бұрын

    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.

  • @ddavid2
    @ddavid23 жыл бұрын

    These videos are great! Many thanks!!

  • @AndreasSpiess

    @AndreasSpiess

    3 жыл бұрын

    Glad you like them!

  • @andreyhinov8147
    @andreyhinov81474 жыл бұрын

    Fantastic work!

  • @arcadeuk
    @arcadeuk8 жыл бұрын

    Very informative and very well presented!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +arcadeuk Thank you for your nice comment!

  • @jchen9614
    @jchen96145 жыл бұрын

    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!

  • @sramilli
    @sramilli8 жыл бұрын

    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!

  • @stfm
    @stfm7 жыл бұрын

    Really impressive. Thanks for this Video. Very interesting.

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You're welcome!

  • @myounges
    @myounges8 жыл бұрын

    Excellent video thank very much Andreas!!!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    You're welcome!

  • @EasyOne
    @EasyOne3 жыл бұрын

    Very well explained

  • @AndreasSpiess

    @AndreasSpiess

    3 жыл бұрын

    Thank you!

  • @Mrityunjai-IN
    @Mrityunjai-IN8 жыл бұрын

    Well explained sir ! Thanks for sharing.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Mrityunjai Kumar You are welcome.

  • @niniliumify
    @niniliumify7 жыл бұрын

    Talk about "Power Napping"! ~excellent presentation~

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    Thanks!

  • @arthurcastell3517
    @arthurcastell35176 жыл бұрын

    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

  • @subbuiyer8377
    @subbuiyer83778 жыл бұрын

    Brilliant video! thanks for this!!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    You are welcome!

  • @ToastersScareMe
    @ToastersScareMe7 жыл бұрын

    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

  • @markus1963nl
    @markus1963nl8 жыл бұрын

    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 😄

  • @wojciechlipinski7258
    @wojciechlipinski72586 жыл бұрын

    Good job sir!

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    Thanks!

  • @thinkwareltd
    @thinkwareltd7 жыл бұрын

    Thanks for your post. Most interesting.

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You are welcome!

  • @jims408
    @jims4088 жыл бұрын

    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...

  • @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.

  • @stu110
    @stu1108 жыл бұрын

    Another great video, thanks! :)

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +stu110 Thanks for the compliment.

  • @rodstartube
    @rodstartube7 жыл бұрын

    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 ;-)

  • @cameron20020
    @cameron200207 жыл бұрын

    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 ;-)

  • @BilalInamdar
    @BilalInamdar8 жыл бұрын

    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!

  • @Bob3519
    @Bob35197 жыл бұрын

    Thank you for the information.

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    :-)

  • @Maaututorial
    @Maaututorial8 жыл бұрын

    Thank you this was what i needed:)

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Maaututorial You are welcome!

  • @christopher8199
    @christopher81994 жыл бұрын

    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 ;-)

  • @plasticmirror
    @plasticmirror4 жыл бұрын

    im glad that youtube provides the option to step up the playback speed ... :D

  • @blumenretter3570
    @blumenretter35707 жыл бұрын

    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.

  • @CheeKiatTeo
    @CheeKiatTeo8 жыл бұрын

    Great video!

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Chee Kiat Teo Thanks!

  • @markus1963nl
    @markus1963nl8 жыл бұрын

    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 ;.)

  • @XerotoLabs
    @XerotoLabs8 жыл бұрын

    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...

  • @deangreenhough3479
    @deangreenhough34798 жыл бұрын

    Hi Andreas, Hope you are keeping well.. Thank you for another great video, you just keep getting better and better. I m working with a small solar cell, 2 x 10F super capacitors and a TPS61200, just got the super capacitors today, so testing them now I have been running an ESP from a 4.2v - 3.7v Li ion 18650 through a MP1405 (TP4056 .with battery protection and load cut off) in deepSleep with 60sec cycle. Transmits DHT temp/hum and ADC_VCC to Thingspeak Surprisingly, it tolerates the voltage and has been running for 2 weeks without a glitch. The battery is also fully charged. I know this is naughty, but just wanted to see if it would work. Could it be the deepSleep and short awake time be a contributing factor to this? My ESP 4MB chips arrived today along with my hot air rework gun. Many thanks for making all this possible Andreas, your work and methodology make you a great teacher. Massive thumbs up, keep them coming

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Dean Greenhough I also tried my ESP module with voltages above 3.6 volts, but it was no more reliable. So, I think, you just got a different batch. I do not think, that the on-off time has an influence on this because the main work is the on- time. As I did not respond for a week, I think, you have already changed the RAMs with your new hotair gun ;-) I never worked with super capacitors, so I am interested in how long they are able to power an ESP module. My ESP with 2 AAA batteries on a 2 minute schedule still transmits data to Sparkfun. It is now 16 days since it started.

  • @deangreenhough3479

    @deangreenhough3479

    8 жыл бұрын

    +Andreas Spiess changing the RAM was shall we say a little tricky. The soldering of the new chip was a little more of a challenge, but you showed us how to deal with that. I have changed 4 chips. I have noted that the ESP 01 black version has a 1mB chip, which is the same size as the 4mB chip, so no alteration to the legs required. I read somewhere that the ESP 01 is less power hungry. So would like to get this working with deep sleep the only issue I have found is attempting to solder such a small wire from RST -GPIO16 😂😂😂 it appears impossible. FYI after I changed the Ram, in all four cases, I could upload. But the program failed to run. After reworking each pin, all went well, so I was to blame. The TPS61200 Tiny Module is proving to be a tricky little module to work with. I have managed 29mins with a single solar cell and 2 X 10F caps. With ESP201 led removed, deep sleep 60s sending DHT22 and mV via ADC to things.

  • @deangreenhough3479

    @deangreenhough3479

    8 жыл бұрын

    +Andreas Spiess The TPS61200 I have is factory set to 250mV so acts like a jewel thief, no good for rechargeable batteries. You can alter this, but requires a 0.1F SMD CAP and 2 X SMD resistors ( I have ordered from China) My initial test show that if I can get the UVLO set to disconnect the load at say 3v, disconnect the load, recharge and then run the ESP it should be able to transmit between 1-5 mins later with out any batteries. It all hinges on not depleting them down too far as charging from flat takes a lot of time. I like the fact this can almost be autonomous. In my case I have a known good light source for 12 hours, so whilst my system is running I get data transmitted for free. I would be interested and find it useful if you could possibly do a video with this module and super caps. I have a feeling you would like this module Thank you Andreas

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Dean Greenhough My thoughts concerning your comment: 1. What is the advantage to use a super cap with an ESP?. If I have no additional power source, I prefer a power source which has a high energy density. These are usually chemical batteries or at least rechargeable batteries if the device is quite power hungry. If solar power is used, again, a rechargeable battery seems for me the better choice because of its power density and low price. So, I do not see the advantage to use super caps for this purpose (only that they do not need an under-voltage protection) other than curiosity. But, maybe I am wrong. As I said, I do not know this technology. For the under-voltage protection I prefer the method described in the video: Send me an e-mail that I have to replace the battery. The under voltage protection just protects the battery. The mail protects the overall application and makes sure, that I do not "forget" to charge/change the batteries. But this, of course, only applies to connected devices... 2. What are the advantage to use power protectors or boost/buck converters for the same application? As you write, they "steel" valuable power without adding value. I see here the way to go either with a small linear regulator or better, no regulator at all, if battery voltage matches the range of the MCU. This is why I ordered some LIPOFE4 batteries which should fit exactly into the voltage range of our ESPs. From what I read, super caps seem to be quite good for extremely high currents. So, maybe it would be better to do something else with them?

  • @deangreenhough3479

    @deangreenhough3479

    8 жыл бұрын

    +Andreas Spiess all very valid points, noted and gratefully received. Thank you for your observations and taking the time to reply

  • @orlin369
    @orlin3697 жыл бұрын

    Great video, just great .

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    Thanks!

  • @PachaTip
    @PachaTip4 жыл бұрын

    Thanks you very much for knowledge

  • @AndreasSpiess

    @AndreasSpiess

    4 жыл бұрын

    You are welcome!

  • @skrame01
    @skrame017 жыл бұрын

    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!

  • @kellyanderson7115
    @kellyanderson71157 жыл бұрын

    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 ;-)

  • @anslan
    @anslan4 жыл бұрын

    Thx rus subtitles. Ставлю лайк за русские субтитры, к сожалению в других Ваших видео они не работают. С удовольствием просмотрел бы и другие видео.

  • @AndreasSpiess

    @AndreasSpiess

    4 жыл бұрын

    Все субтитры были предоставлены лояльными зрителями. Для их создания много работы.

  • @GreekReview
    @GreekReview8 жыл бұрын

    nice video !!!

  • @michaeldallas
    @michaeldallas7 жыл бұрын

    Very good. Thanks!

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You are welcome!

  • @eduardo9626
    @eduardo96265 жыл бұрын

    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.

  • @miikakurkela5606
    @miikakurkela56068 жыл бұрын

    Thank you for the good an informative video, Anderas! Is the 10.000 uF tantalum capacitors leakage current relevant? Where did you buy yours?

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Miika Kurkela I have to confess: I made a mistake: The capacitors are only 1000uF! I just discovered when I was searching for the link. Sorry about that. I will immediately correct it in the video. Here the link: www.aliexpress.com/item/Free-Shipping-7343-1000UF-6-3V-E-7343-108J-SMD-Tantalum-capacitors-20PCS-LOT-New-and/32514902690.html

  • @miikakurkela5606

    @miikakurkela5606

    8 жыл бұрын

    No problem! In your earlier video also 1000 uF were good enough too. Great video, important subject! I already found and ordered few from eBay www.ebay.com/sch/i.html?_odkw=tantalum+1000uF+values&_sop=15&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.Xtantalum+1000uF.TRS0&_nkw=tantalum+1000uF&_sacat=0

  • @BioMajuss

    @BioMajuss

    4 жыл бұрын

    Is there a way to calculate the needed capacitor size? I'am sure even 1000 uF is quite too big, isn't it?

  • @myronreiss8502

    @myronreiss8502

    3 жыл бұрын

    @@AndreasSpiess That makes a lot of difference. Your videos are great. And likely the only reason I started this hobby.

  • @dynetah
    @dynetah5 жыл бұрын

    Great video... as usual ! I'm thinking of running an ESP from a battery also, so you are a great inspiration. However, I know almost nothing in passive components. I understand there is a need of a capacitor for removing peaks of current, but I can't find those huge 10 000 uF capacitors. Is it possible to put an électrolytic one instead ? In the video you said there are huge. Is a 300 uF enough ?

  • @AndreasSpiess

    @AndreasSpiess

    5 жыл бұрын

    A 1000uF electrolytic cap is even better than a tantalum. The big tantalunms have a leakage current.

  • @MarcoRabelo
    @MarcoRabelo7 жыл бұрын

    Hi, Andreas! Congratulations for the great video! Can I use 1000uf 6.3v electrolytic capacitors instead of tantalum capacitors? Thank you!

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    Marco Rabelo yes, you can.

  • @MarcoRabelo

    @MarcoRabelo

    7 жыл бұрын

    Thank you so much!

  • @ahmedchaudhry9810

    @ahmedchaudhry9810

    4 жыл бұрын

    Hey did u use bi-polar or non-polar capacitor?

  • @KisysLLC
    @KisysLLC8 жыл бұрын

    Just found your video's and am really enjoying them. With 2 alkaline battery's what do you consider the minimum voltage before replacing them. You wouldn't even start out with 3.3 vdc and can't imagine that would work.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    It is well below 3 volts. You might try it, I did not make exact measurements about this fact. And I am not at home to do the measurements again. As the overlay says, it worket for 19 days with my setup of sending a measurement every 2 minutes.

  • @fuzzie4755
    @fuzzie47557 жыл бұрын

    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...

  • @dienhoat
    @dienhoat8 жыл бұрын

    Thank you so much for your sharing. Your channel help me a lot while working with ESP. Just one question, I know that the regulator of ESP is optional for your White Adapter, and in case of you want to use regulator you need to desolder the short-circuit 0 ohm resistor in the middle, if not your input-voltage connect directly to 3:3V. But you didn't do it there, so I don't know how your ESP can still working ?

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    There are several versions of this PCB sold

  • @markus1963nl
    @markus1963nl8 жыл бұрын

    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.

  • @kriptontr
    @kriptontr8 жыл бұрын

    great vid. thanks.

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Tamer Aktaş You are welcome!

  • @ScotsmaninUtah
    @ScotsmaninUtah4 жыл бұрын

    This is a great video , thank you for posting. The quiescent current appears to be very large. It would be great if we could power this device for a period of 1 year. any ideas ?

  • @AndreasSpiess

    @AndreasSpiess

    4 жыл бұрын

    Bigger battery?

  • @mostlymessingabout
    @mostlymessingabout7 жыл бұрын

    Thank you very much

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    You are welcome

  • @marcelocorrea7916
    @marcelocorrea79168 жыл бұрын

    hi there, congrats, great video. What RTC ic you are thinking to use when operating with larger periods? How about make the RTC "wake" the module? Could decrease the 8min operation time? regards,

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    I do not want to use any RTC exept the ESP RTC. Then you avoid question #2. What do you mean with "Could decrease the 8min operation time?"

  • @yurymetphosis5766
    @yurymetphosis57666 жыл бұрын

    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.

  • @Singh_Malkiat
    @Singh_Malkiat6 жыл бұрын

    Much appreciate your great work. Unfortunately Phant of sparkfun is no longer in operation. I will try with adafruit service and Supercap, solar panel combination for power. Please make some video on energy harvesting for sensors. Danke ;)

  • @AndreasSpiess

    @AndreasSpiess

    6 жыл бұрын

    I started videos on Solar and will continue when the weather is better here...

  • @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

  • @sallerc
    @sallerc8 жыл бұрын

    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.

  • @mecommenting
    @mecommenting5 жыл бұрын

    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!

  • @amosdevries7600
    @amosdevries76007 жыл бұрын

    Looks like there a multiple versions of the ht7333 i discovered that the datasheets are different. Also in your video you are showing the data sheet of another version than the chip itself. Look for ht7333-1 and ht7333-a. Love your video's btw!

  • @AndreasSpiess

    @AndreasSpiess

    7 жыл бұрын

    I was not aware of the versions. I a later video I tested my HT7333 and their quiescent current was ok. But I saw also two different data sheets. So, thanks for the tip!

  • @amosdevries7600

    @amosdevries7600

    7 жыл бұрын

    Your welcome!

  • @fromchinaparcel
    @fromchinaparcel7 жыл бұрын

    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

  • @NightRunner417
    @NightRunner4178 жыл бұрын

    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. :-)

  • @dallatorretdu
    @dallatorretdu7 жыл бұрын

    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

  • @laurencemunro
    @laurencemunro8 жыл бұрын

    You have solved the conundrum of the LDO supply by using the ht7333 - ebay ordered already :D

  • @AndreasSpiess

    @AndreasSpiess

    8 жыл бұрын

    +Laurence Munro Good to read that it helped.

  • @TheRainHarvester

    @TheRainHarvester

    3 жыл бұрын

    Did the ebay ones actually use low power ?

Келесі