ESP32 Deep Sleep Tutorial for Low Power Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.พ. 2018
  • Welcome to this ESP32 Deep Sleep tutorial with the Arduino IDE! Today we are going to learn how to put the ESP32 chip into the Deep Sleep mode in order to conserve power and make our projects battery friendly. Subscribe for weekly videos ▶ bit.ly/33KIQ09
    The ESP32 chip is a fantastic new chip with great features. It offers a lot of processing power, two 32 bit cores, a lot of memory, Bluetooth and WiFi in a small and easy to use chip. One of the most interesting things about the ESP32 chip is that it offers a low-power deep sleep mode which is very easy to use. Let's see how to use it.
    Inside the ESP32 chip, we can find the two processing cores, the RAM and ROM memory, the WiFi module, the Bluetooth Module, a hardware acceleration module for cryptographic applications, the RTC module, and a lot of peripherals. Inside the RTC module, we can find a PMU (Phasor measurement unit) a small and very low power 32-bit co-processor, and 8Kbs of RAM memory. This small amount of memory is very useful as you are going to find out in a moment. Also note, even the RTC memory of the ESP32 chip is 4 times larger than the memory of the Arduino Uno.
    The WiFi modules, the Processing Cores, and the Bluetooth module require a lot of current to operate. So, if we want to conserve power we have to disable them when don't use them. This is what we are going to do now. We are going to put the ESP32 to Deep - Sleep mode where it disables everything except the RTC module. There is a light sleep mode and the Deep - Sleep mode. In Deep Sleep mode the ESP32 offers the lowest power consumption. It just needs 0.01 mAs of current in Deep Sleep mode and that's why we are going to try today.
    💻 Code & Parts: educ8s.tv/esp32-deep-sleep-tut...
    👨‍💻 Check my new TH-cam channel: bit.ly/3tku2n0
    🎮 My Android Game: bit.ly/QuizOfKnowledge (👍 I am sure you are going to have fun and learn something!)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 145

  • @paddy1437
    @paddy1437 6 ปีที่แล้ว +4

    that background music is so catchy. i keep hearing it after the video has finished

  • @RobSummers993
    @RobSummers993 6 ปีที่แล้ว +7

    Great video! Thanks for providing more info on the esp32. There are not enough videos about this amazing chip on TH-cam. Would love to see more! 😀

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Thank you, Robert! The ESP32 is a great chip! It offers everything a maker wants!

  • @ufohunter3688
    @ufohunter3688 6 ปีที่แล้ว +10

    I learn something new with every video you put out.
    Didn't know about the bug or the work-around in deep sleep mode. I hope its a software bug. Hardware is bad news for those who have already bought a few boards.

  • @Delali
    @Delali 2 ปีที่แล้ว

    This is really great. I've been planning on making a video for the esp32 and Arduino line for my channel.
    Good to know some of these tricks and challenges.

  • @dahirmuhammaddahir4435
    @dahirmuhammaddahir4435 4 ปีที่แล้ว

    my first video on your channel, watched, subscribed, awesome

  • @anumsheraz4625
    @anumsheraz4625 5 ปีที่แล้ว +3

    Non-stop informative and amazingness - LITERALLY !

  • @easynow6599
    @easynow6599 4 ปีที่แล้ว +3

    wonderful video..and interesting to know that power consumption depends from the development board because i was thinking im doing something wrong.
    Just as a reference i measured esp32-wroom (the cheap Chinese version of esp32) and the deep sleep consumption is ~10mA, and esp32-cam is around ~6.3mA.
    I guess esp32-cam has no onboard leds so its more power efficient..

  • @timwright7458
    @timwright7458 5 ปีที่แล้ว +1

    we have about 20 temp sensors in green houses - but can only monitor where we have power because deep sleep is so dysfunctional on most ESP8266. Seems like the MFGR would put more attention into deep sleep. It opens up huge options. Thanks for the vid and firebeetle idea.

  • @douglarue8485
    @douglarue8485 ปีที่แล้ว +1

    Nice video and I noticed the DFrobot firebeetle you showed has a 32.768kHz xtal which if enabled for the RTC circuitry saves more energy and also keep the timer far more accurate than the default 150kHz RC oscillator. Have you tried enabling the external Crystal and testing?

  • @rusty-
    @rusty- 6 ปีที่แล้ว

    This is a really interesting video. Always good to find ways to save power.

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Thank you, Greg! The power savings we can achieve using the Deep sleep mode are huge! Now the only thing that remains is to be able to program to Ultra Low power co-processor with the Arduino IDE for even better battery life.

  • @tonysicily2687
    @tonysicily2687 4 ปีที่แล้ว +1

    Watched
    Subscribed
    Saved
    Another fantastic video, thank you. I am looking ing into the best Deep Sleep board I can find for a weather station project. may I ask, will the sensors continue to draw power even during Deep Sleep?
    I am thinking of using the RTC to wake up the Arduino once an hour, but want everything to use as little power as possible between times.

  • @fabiofragiacomo7100
    @fabiofragiacomo7100 ปีที่แล้ว

    When I design low power I use a trick: I power external devices (like small LCD) directly by the GPIO of the microcontroller, so I skip enable transistors/mosfets. Of course current of those should be lower than the ABS max rating for the GPIO
    Many thanks for the good video, subscribed!

  • @deangreenhough3479
    @deangreenhough3479 6 ปีที่แล้ว

    Good information, thank you for the tips and tricks 👍

  • @savvasntouzepis8621
    @savvasntouzepis8621 6 ปีที่แล้ว

    καλησπερα Νικο.Καταρχας συγχαρητηρια για την πολυ καλη δουλεια που κανεις, συνεχισε ετσι.Εχω μια ερωτηση. τι ειδοσ καλωδιων χρησιμοποιεις στο συγκεκριμενο προτζεκτ?

  • @tommym936
    @tommym936 4 ปีที่แล้ว

    Hey, can you recommend a cheaper digital Multimeter to do the same as what you are doing with the Mastech one you use in this vid? Thanks.

  • @Torsan1977
    @Torsan1977 6 ปีที่แล้ว

    Thank you for the video!

  • @9desi9
    @9desi9 5 ปีที่แล้ว

    What a great video! thank you so much!

  • @stephan-strittmatter
    @stephan-strittmatter 6 ปีที่แล้ว

    Really cool addition would be to add solar power to use the esp32 to measure temperature outdoor. I would like to do that, but not Shure how to add solar panel to the circuit. What is required. Probably you could do an additional video :)

  • @albertroswell
    @albertroswell 5 ปีที่แล้ว +1

    great channel, have you measured the power consumption of the WEMOS D1 Mini boards?, those are ESP8266 ESP-12 modules, please reply :)

  • @uforex911
    @uforex911 6 ปีที่แล้ว

    Are there gonna be a video about ULP? I am interested how we can use it with deepsleep mode. Thanks!

  • @lucsegers6931
    @lucsegers6931 4 ปีที่แล้ว

    hello, did you find an alternative for the firebeetle, or is that still the one that has the lowest consumption. thank you!

  • @Shandeeme
    @Shandeeme 4 ปีที่แล้ว

    Very helpful! thankyou sir!

  • @RoDanTV
    @RoDanTV 6 ปีที่แล้ว +1

    Hi! Good video! lots of useful information! Good luck in your business!

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว +1

      Thank you very much, my friend!

  • @shailendrapandit440
    @shailendrapandit440 6 ปีที่แล้ว

    Hey Nick, did you have to download The cp2102 USB to serial driver for windows or was it inbuilt

  • @vigneshs6232
    @vigneshs6232 2 ปีที่แล้ว +1

    You have Great talent in video making and electronics

    • @Educ8s
      @Educ8s  2 ปีที่แล้ว +1

      Thanks for your nice words!

  • @MuRaT_C
    @MuRaT_C 3 ปีที่แล้ว

    Great video... can we disable the onBoard LED this consumed also energy. Thanks!

  • @radhakrishnannv5172
    @radhakrishnannv5172 3 ปีที่แล้ว +2

    Can you do a video in which you wake the ESP32 from modem sleep mode and turn on ESP32 using DTIM beconing mechanism.

  • @felitas5822
    @felitas5822 5 ปีที่แล้ว

    Thank's for the video sir

  • @carlknowles2793
    @carlknowles2793 2 หลายเดือนก่อน

    Hi put my esp32 into deepsleep and then measured the current going to a dht22 temp sensor. Multimeter reads 3.3v as the voltage going to the sensor, is this correct? I may be confusing amperage and voltage but thought in deepsleep mode the 3.3v output would be reduced too.

  • @Vimarsh24
    @Vimarsh24 6 ปีที่แล้ว

    That's Great can you tell a good pcb milling manufacturer as i want a custom pcb with esp32 using deepsleep and use it to make a landfill monitoring device

  • @djokinac
    @djokinac 3 ปีที่แล้ว +1

    Hello
    I have one question and a request
    I have a sketch with esp32 that performs weight measurement, the whole system also has an sd card where it records all that and measures the weight and bme280 parameters.
    in the sketch there is a command deep sleep but when it is activated then the whole system forgets all the measurements and resets the weight to zero and that does not suit me
    can you rework my sketch and go into deep sleep mode but when I wake up I have available measurements of weight and bme parameters
    i hope google translates well
    greetings and thanks in advance

  • @brunodonascimentomaciel9984
    @brunodonascimentomaciel9984 2 ปีที่แล้ว

    Hello from Brazil!
    Very nice explanation!!

  • @thegardenofeatin5965
    @thegardenofeatin5965 3 ปีที่แล้ว

    I have a system of ESP32s as an air data monitoring system. I have a central server which publishes to an MQTT topic, which the ESP32s answer with their readings. Also, one of the sensors needs to be continuously told to refresh every 1 second. Is it reasonable to have it deep sleep, wake up every second, refresh that goofy sensor, check to see if there's a message waiting, then go back to sleep for the remainder of a second? Most of the time the boards aren't doing anything.

  • @contalivreemaberto1385
    @contalivreemaberto1385 ปีที่แล้ว

    Excellent very educational video.
    Could you please make another one with the thermostat function.
    Using ESP32 Rainmaker
    With DS18B20 and also with DHT11
    I thank you in advance

  • @BurkenProductions
    @BurkenProductions 3 ปีที่แล้ว +1

    But what if you want to make a wifi access point and also have deep sleep when no one is connected? How would you check regularly then like every minute if someone wants to connect or how would you do it?

  • @dhavalshukla6615
    @dhavalshukla6615 2 ปีที่แล้ว

    Hi, in a project of mine, I am trying to get my ESP32 to wake up from deep sleep mode and to wake it up I have assigned several GPIOs, the issue is I am trying to connect the bluetooth through a function which I do it by assigning it to a GPIO pin 36 that if HIGH it should go inside and execute the Bluetooth function, but it just simply brushes past it and rather without connecting tries to again go into the deep sleep. What would be the best way for me to utilise the digitalRead HIGH to go into Bluetooth or any other function which then should only execute after they have been completed? Or is it not my fault? I have tried to look at good examples but can't seem to find a solid rock.

  • @asunasan2220
    @asunasan2220 6 ปีที่แล้ว

    I forgot to see THIS AWESOME VIDEO, I like so much your videos, normally i dont like so much english videos because they speak so fast and i cant understand, because im a spanish, BUT IN ALL THE VIDEOS I SAY THE SAME, BECAUSE ARE REALLY GOOD!!!, PD: i want if you can do more of telephone satelite location, stuff like that are MUCH interestering Thanks a lot!!!

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Thank you very much Antonio! I appreciate your nice words!

    • @asunasan2220
      @asunasan2220 6 ปีที่แล้ว

      Thanks! me too

  • @paulpomme2502
    @paulpomme2502 11 หลายเดือนก่อน

    I've just tested with an AZ Delivery Wroom-32: 2mA in DeepSleep.
    With another Wroom-32 (forgot the board brend)- : 5 mA ; after removing the power led which remains on during DeepSleep on this board) : 4 mA.
    I tried 3v input : very surprising: far more consumption.

  • @grumetenavegando
    @grumetenavegando 5 ปีที่แล้ว

    Eres inmenso. Gracias. No sabes lo que me estas ayudando.

  • @ernestorivero9909
    @ernestorivero9909 10 หลายเดือนก่อน

    Hello I made the program to turn on and off an LED by Bluetooth in this case I use the same LED that has the ESP32 in pin2, I added a stretch of code for the ESP32 to enter a state of deep sleep. Well, when I send the 'A' the LED will turn on and off and when I send the 'B' it goes into deep sleep, however, I still consume the same as I could send the program to see where the error is.

  • @antonioargese1373
    @antonioargese1373 5 ปีที่แล้ว

    What can I do if I want it to stay always on? I want it always on, ( I connected it to the wall power source) so I want the WiFi module always operative and ready to work

  • @mihajlopetkovic2003
    @mihajlopetkovic2003 2 ปีที่แล้ว +2

    I think that the only reason it draws 20 mA in deep-sleep is because the red power LED is always on, and LEDs draw 20 mA of current. Desoldering it should do the trick and reduce it to 10 uA.

  • @viniciusnoyoutube
    @viniciusnoyoutube 5 ปีที่แล้ว

    Very good video!

  • @avejst
    @avejst 6 ปีที่แล้ว

    Wow, thanks for sharing :-)

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      You are welcome! Cheers!

  • @polloM2
    @polloM2 4 ปีที่แล้ว +1

    using the DOIT ESP32, I Remove the AMS1117 and the led, directly powering the with dswy2596 (led removed) DC DC 6v battery. Whit timer and GPIO EX1 interruptions got a power consuption of 72mW :)

    • @jbrepoyt
      @jbrepoyt 4 ปีที่แล้ว

      72mW divided by 6V is 12mA, that is not impressive. Theoretically you should be able to achieve 72uW...

  • @karllautman-experiments
    @karllautman-experiments 4 ปีที่แล้ว +5

    Great video. Do you know if the random inability to wake from deep sleep bug has been fixed (as of 10-1-19)?

    • @jbotnik
      @jbotnik 2 ปีที่แล้ว

      I’d like to know this too

  • @decajonsevilla
    @decajonsevilla ปีที่แล้ว

    hola tengo un sp32 con un sensor dht22 que envía datos a ThinkSpeak cada 30 minutos, podría mientras mantenerlo es deep sleep?
    gracias

  • @georgei2480
    @georgei2480 4 ปีที่แล้ว +13

    Remove the LED form the board. That should reduce the deep sleep power consumption alot. The fire beetle board doesn't have an LED.

  • @crushyad2939
    @crushyad2939 2 ปีที่แล้ว

    i have like 70 esp8266 12f modules and all uses 150ma when in normal mode and 80-82ma in deep sleep. could you help me identify is it due to the schematic or i got fake ones? (paid same amount for what original goes.)

  • @seledwin
    @seledwin 5 ปีที่แล้ว

    Hi Thank you so much for your great info. I have one doubt. I have connected a DHT11 sensor. It has an inbuilt LED. During deep sleep that LED of sensor is not switched off. It seems the power going to sensor is not cutoff. is it possible to do that?

    • @MarcusBehrens
      @MarcusBehrens 5 ปีที่แล้ว +1

      yes, simply put the vin of the dht11 on one of the gpis and turn it low before you go to sleep

  • @shyam-ravi
    @shyam-ravi 5 ปีที่แล้ว

    Great video! Is it possible to make it deep sleep infinitely?

  • @jack91522
    @jack91522 ปีที่แล้ว

    Is there a "deeper" sleep mode where it disables the RTC block and the only way to wake up is via a hard reset?

  • @PilotPlater
    @PilotPlater 3 ปีที่แล้ว

    Look at Kevin Darrah's trigboard, 1uA standby current!

  • @linux9i
    @linux9i 11 หลายเดือนก่อน

    Great!!

  • @bungavictor3033
    @bungavictor3033 6 ปีที่แล้ว

    Hi!!! Educ8s tv!!! i'd like if possible, some video explanning step by step how to connect esp32 with Nextion Touch Screen of ITEAD, the changes needed to be done on libraries, and an example of inputs and outputs, like screen button to activate a led or analog's read input, like potentiometer or others!!! Thanks!!!

  • @Dralsoft
    @Dralsoft 2 ปีที่แล้ว

    Hello, if I sleep my esp32 for more than 35 minutes it wakes up instantly. Below that number works fine. any ideas?

  • @aaronchan1498
    @aaronchan1498 4 ปีที่แล้ว

    Hi can u explain how you did the measurement for the difference in the power consumption, from active mode to deep sleep mode. thanks.

    • @gritnix
      @gritnix 4 ปีที่แล้ว

      Use a multimeter that can measure milliamps. Usually the black wire stays in the same jack in the meter but the red wire goes to a different jack from the one used to measure voltage. Hook the red side of the meter to the red side of the battery pack. Hook the black side of the meter to the + input on the board. The black from the board goes to the black of the battery pack. The current then flows through the meter to get to the board and the meter displays how much is flowing.

  • @ShubhamGupta-iw6hc
    @ShubhamGupta-iw6hc 11 หลายเดือนก่อน

    I tried the deep sleep on xiao esp32 c3 board and it worked but when I try to upload new code then there is no port shown

  • @daslolo
    @daslolo 6 ปีที่แล้ว +1

    was the deep sleep mode fixed?

  • @pacocable
    @pacocable 6 ปีที่แล้ว

    Very nice

  • @ildarbelkin4851
    @ildarbelkin4851 ปีที่แล้ว

    Hello, thank you for perfect video. Is the bug solved? Please, what errata's issue describes the bug?

    • @Educ8s
      @Educ8s  ปีที่แล้ว

      Yes this bug is now solved. It was a hardware bug of the rev0 chips.

  • @kennethbeal
    @kennethbeal ปีที่แล้ว

    Thank you, I love your approach -- when faced with a bug, find a workaround. Your videos make me smile, you do a great job. Also: normally I watch at 2x, had to slow you down to 1.75x. :)

  • @Educ8s
    @Educ8s  6 ปีที่แล้ว +11

    I hope you took away lots from this video and you managed to get your ESP32 to get to sleep. Let me know below!
    PS. WANT TO LEARN CODING? CHECK MY NEW TH-cam CHANNEL!
    bit.ly/3tku2n0

    • @TheAscBroth
      @TheAscBroth 6 ปีที่แล้ว +1

      Awesome, how did you make it :D?

    • @DavidLeeMenefee
      @DavidLeeMenefee 6 ปีที่แล้ว +1

      @educ8s.tv: FYI; at Kevin Darrah's youtube channel he has invented a board that consumes 0.2uA of current in deep sleep. See here: (( th-cam.com/video/onrLyTaUqbw/w-d-xo.html )). Keep up the good work...PEACE

    • @shinigamilee5915
      @shinigamilee5915 6 ปีที่แล้ว

      Thanks so much for getting me interested in doing some Hardware projects once again.

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      I used Android Studio to develop it and Java. Cheers!

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      You are welcome! I am glad you are making stuff again!

  • @billybbob18
    @billybbob18 2 ปีที่แล้ว

    My 32devkit board was drawing 10ma extra before cutting that red power LED.

  • @santoshshivgan6275
    @santoshshivgan6275 6 ปีที่แล้ว

    nice sir & thanks

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Thanks, you are welcome!

  • @spyboy6015
    @spyboy6015 6 ปีที่แล้ว

    Hi I like your video

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Thank you my friend!

  • @fritmore
    @fritmore 5 ปีที่แล้ว +1

    What if I want to communicate to the board via WiFi or BT? Would waking the radios e.g. Every 5 secs for just 100 ms work and if it detects a connection attempt it would postpone the sleep until the inquiring device would disconnect? Could this work and how to implement it?

    • @SanketThodge
      @SanketThodge 5 ปีที่แล้ว +1

      Have you tested this thing? I am about to have a similar use case. Thanks in advance. :)

    • @dhavalshukla6615
      @dhavalshukla6615 2 ปีที่แล้ว

      Same, have any of you found a way? I am trying to do the same.

  • @sylvainlazare1114
    @sylvainlazare1114 5 ปีที่แล้ว

    Hi Nick! with your deepsleep current testing sketch my recent TZT ESP32 WiFi & BLE battery board (TZT store Ali), I measured 57.2 mA in the active mode and 9.5 mA in the deepsleep mode. It is still far from beeing optimized . Thanks for sharing!

  • @daskasspatzle2396
    @daskasspatzle2396 6 ปีที่แล้ว +1

    For a year of battery life you have also to consider the self discharge of them.

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Yes, that's correct!

  • @MPElectronique
    @MPElectronique 6 ปีที่แล้ว +1

    Wemos lolin32 is a great board too!!!

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Yes, the Lolin32 is a great board! There is also a Lolin32 lite board which looks very interesting as well.

  • @JC-mu4gs
    @JC-mu4gs 5 ปีที่แล้ว +1

    My question is how to make esp32 read internal Voltage

  • @sandeepsinghjagdev3485
    @sandeepsinghjagdev3485 3 ปีที่แล้ว

    how much current reduced if desolder esp32 power led

  • @Manuqtix.Manuqtix
    @Manuqtix.Manuqtix 9 หลายเดือนก่อน

    I have a problem my device goes onto deep sleep mode then it runs setup without waking up.

  • @peepneeapp6343
    @peepneeapp6343 3 ปีที่แล้ว

    I am now wondering what if I have my ESP32 configured to use smart config (docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_smartconfig.html) and I put it into a deep sleep for 30 seconds. Once it wake up, would it connect automatically to the WiFi or I would have to use SmartConfig application once again on my mobile device to enable WiFi?

    • @ishdemon_
      @ishdemon_ 3 ปีที่แล้ว

      Save the Wifi credentials in RTC, it survives deep sleep

  • @yahyaventure2987
    @yahyaventure2987 3 ปีที่แล้ว

    What could you do for a Bluetooth project where we need the esp32 to sleep until he receives a Bluetooth command?
    Can we put all in deep sleep but the Bluetooth?

    • @olafschermann1592
      @olafschermann1592 ปีที่แล้ว

      Enabling the radio module consumes 100x the power as without. The only viable solution is to deepsleep for 10min then wakeup and poll for new messages via wifi or ble.

  • @ArunKumar-mz8oh
    @ArunKumar-mz8oh 5 ปีที่แล้ว

    Please try TI MSP432 P401R

  • @albaromero5892
    @albaromero5892 4 ปีที่แล้ว

    Does anybody know how to reconnect to a WiFi net after waking up from deep sleep? I'm using an ESP32

  • @yudhahamdiarzi5553
    @yudhahamdiarzi5553 6 ปีที่แล้ว +1

    isn't 20ma because of the red led indicator? because i don't see led in in other board

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว +1

      Yes, that's correct. the led draws some current but not 20 mAs.

    • @yudhahamdiarzi5553
      @yudhahamdiarzi5553 6 ปีที่แล้ว

      it's hard to design low power and cheap too :D. Thanks for the video!

  • @anlpereira
    @anlpereira 6 ปีที่แล้ว

    Hi, where can I find the manual of this library?

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว

      Google ESP32 Deep Sleep API

  • @xavierr4508
    @xavierr4508 4 ปีที่แล้ว

    You should make a pause between phrases. Speaking English (which isn't my mother tongue, either) doesn't mean to speak as fast as possible.

  • @algre977
    @algre977 3 ปีที่แล้ว

    Can I power this ESP32 board www.amazon.com/dp/B0718T232Z/ref=cm_sw_r_cp_apa_fab_qYoCFbKQHPMVG with two 1.5 volt Energizer Ultimate Lithium batteries like these www.amazon.com/dp/B00EAKP8S0/ref=cm_sw_r_cp_apa_fab_k2oCFb14S8G9F ?
    If so, would it be better to use two of these batteries through the 3.3 volt pin, or 3 (or 4?) of these batteries through the 5 volt pin ?

  • @rubio15es
    @rubio15es 5 ปีที่แล้ว +1

    Would it be possible to sleep for hours?.I have tried this: #define uS_TO_S_FACTOR 1000000 #define TIME_TO_SLEEP 3600 /* Time ESP32 will go to sleep (in seconds) */
    but the ESP32 restarts all the time

    • @serialxnet
      @serialxnet 5 ปีที่แล้ว +4

      Change 1000000 to 1000000LL and 3600 to 3600LL

    • @rigel_emg
      @rigel_emg ปีที่แล้ว

      @@serialxnetThank You, man! Thank you so much!

  • @lovermonkey
    @lovermonkey 5 ปีที่แล้ว

    Can I use 5v for vin?

    • @RakshithPrakash
      @RakshithPrakash 4 ปีที่แล้ว

      Yup it goes into a regulator so voltages even little more than 5 should be fine

  • @anniedreuilhe6308
    @anniedreuilhe6308 6 ปีที่แล้ว

    Bien jouer gros

  • @goofydavid100
    @goofydavid100 6 ปีที่แล้ว +1

    Can you give me an idea for a GPS locator with long lasting battery for my automobile I don't want it to be connected to my battery of my automobile can you share some insight

    • @ottohorst9127
      @ottohorst9127 6 ปีที่แล้ว

      kevin david you Could connect your GPS to an external battery like it is done in Watches to keep the time.

    • @goofydavid100
      @goofydavid100 6 ปีที่แล้ว

      Yea I want it in a small package I heard GPS locator takes a huge amount of battery I need it in a 7*7 cm package board

    • @ottohorst9127
      @ottohorst9127 6 ปีที่แล้ว +1

      kevin david you could also use a small lipo and recharge it with the powerboost 1000c. Watch some gps tutorials at adafruit.com

    • @goofydavid100
      @goofydavid100 6 ปีที่แล้ว

      Otto Hörst thanks for the information man if was so helpful cheers

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว +2

      Yes, small lipo battery and low power board like the ESP32 is a good start.

  • @dragoljubcvarkovski9305
    @dragoljubcvarkovski9305 6 ปีที่แล้ว

    hello

  • @alejandroperez5368
    @alejandroperez5368 ปีที่แล้ว

    Was the bug fixed?

    • @Educ8s
      @Educ8s  ปีที่แล้ว

      Yes, it was a hardware bug which is now fixed.

  • @alexandrbrave9511
    @alexandrbrave9511 6 ปีที่แล้ว +4

    18'С very cold. why are you working in such a cold.

    • @GreenCappuccino
      @GreenCappuccino 6 ปีที่แล้ว

      it feels like a constant breeze in a equator city. not bad

    • @cappie2000
      @cappie2000 6 ปีที่แล้ว +1

      18 degrees for someone that is physically handling things is actually quite comfortable.. 22 degrees and up can be really tiring..

  • @ericmin6055
    @ericmin6055 6 ปีที่แล้ว

    Arduino game console please! Maybe check out the Arduboy?

    • @Educ8s
      @Educ8s  6 ปีที่แล้ว +1

      Yes, I will take a look

  • @ask-wj2pf
    @ask-wj2pf 6 ปีที่แล้ว +2

    Can we use it to make a wrist watch with e paper display pls pls pls pls pls pls pls pls pls pls pls replay or make one pls pls pls pls pls pls pls pls pls...

  • @pablomoreno7777
    @pablomoreno7777 6 ปีที่แล้ว

    Hi,
    On ESP8266 i can reduce sleep power. I get over 50uA and i think that it is possible reduce it a little more. It´s importat use a good LDO regulator. I share my project hardware on Github: github.com/grafisoft/SpainLabsIoT2018
    I have some board without components that i can send. It is possible that i do a new board using ESP32, but i will wait more, ESP32 is young.
    Regards.

  • @digihz_data
    @digihz_data ปีที่แล้ว

    He makes good informative videos,but hey....can't he sliw down his stress speaking please.

    • @Educ8s
      @Educ8s  ปีที่แล้ว +1

      Yes, you are right! I was speaking very fast at that time. I think my latest videos are better at this. Thanks for the feedback.

  • @goranmichlovich8630
    @goranmichlovich8630 ปีที่แล้ว

    By the way, 10 mA is not so good result for power saving project. Was tested and found absolutely unusable. Dislike. Don't wast your time.

  • @normcaissie5598
    @normcaissie5598 5 ปีที่แล้ว

    I like your video but you talk way too fast for me to sub.

  • @prashantaher181
    @prashantaher181 5 ปีที่แล้ว +2

    Plz speak slowly

  • @edgi
    @edgi 4 ปีที่แล้ว +1

    don't speak so fast. You are very difficult to listen to. Words merge into one incomprehensible sentence.