A guide to putting your Arduino to sleep

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • If you need to run your Arduino of a battery pack, you need to find a way to reduce it's power consumption. One of the the best ways to do this is putting your Arduino to sleep when it is not performing any tasks. This tutorial is a great place to start on learning how to put your Arduino to sleep.
    Link to blog:www.thearduinomakerman.info/bl...
    Link to Facebook Page: / arduinomakerman
  • Věda a technologie

Komentáře • 20

  • @nickk48
    @nickk48 Před 5 měsíci

    It works, thanks! Note that as of 2/25/2024, none of your downloads or blog sites are accessible. I copied your code from the screen.

  • @ronanchardonneau27
    @ronanchardonneau27 Před 6 lety +7

    It is clear, it is well done, very well explained. Made me realized that I need to invest into a mini instead of a nano, I reproduced this tutorial without any issue. Thank you so much for it, I think your video is worth thousands of views.

  • @DanMincu
    @DanMincu Před 5 lety +4

    If you keep the jumper wire attached to the ground (LOW) over 5s the Arduino goes into a dead loop.
    I would slightly modify the code so it'll put it to sleep only if pin 2 is HIGH
    Example:
    ========================
    if (digitalRead(2) != LOW)
    {
    Going_To_Sleep();
    }
    =========================

  • @danpeternel6798
    @danpeternel6798 Před 5 lety +2

    Arduino NUBee here. Great start off video for sleep function, looking forward to the RTC interrupt and any other future. Very well done, followed and learned so much more than I expected. I plan to donate when I get through others!!! You are an excellent teacher, keep 'em coming

  • @wezil68s
    @wezil68s Před 3 lety

    Best, most well explained video on the subject that I've seen on CZcams that I've seen. Thank you very much! Subbed

  • @randomguy3784
    @randomguy3784 Před 4 lety

    On point and crystal clear explanation! Thanks a lot man!

  • @franciscorgq8502
    @franciscorgq8502 Před 4 lety +1

    Magnifico, al fin una muy buena explicación clara y práctica. Muchas gracias.

  • @jamesanderton903
    @jamesanderton903 Před 5 lety +1

    Thanks appreciate the help.

  • @unglaubichuberlieber8048

    many , many thanks , ich bedanke mich und PLEASE STAY HEALTHY

  • @x-tron3737
    @x-tron3737 Před 4 lety

    Hi..This tutorial clear my doubt about sleep & wake up in smartphones

  • @hobbymachinist
    @hobbymachinist Před 3 lety

    Thanks its great explanation.

  • @sall-toukai2050
    @sall-toukai2050 Před 2 lety

    Excellent.

  • @frankvermeersch5435
    @frankvermeersch5435 Před 4 lety

    Very useful, thanks a lot.just discoveed your tutorials. My day will be filled :-) :-) .Frank,Belgium

  • @vestkok5194
    @vestkok5194 Před 5 lety

    Hi, have you played with waking up the Arduino Uno from sleep using capacitive sensor setup as interrupt?

  • @tomjoad1060
    @tomjoad1060 Před 9 měsíci

    Thank you for this video! I noticed that your blog is now working. Can you fix that?

  • @anaselaymach8975
    @anaselaymach8975 Před 3 lety

    Does sleep mode affect saved variables? for example if I had persons=5 before sleep is the program going to continues when the arduino wake up or it will initiate the variables ?

  • @masoudshahbazi9691
    @masoudshahbazi9691 Před 4 lety

    Perfect👏👏

  • @phwualoha1
    @phwualoha1 Před 3 lety

    Can I use the on/off button to wake the Arduino? Any way to turn off the GREEN LED light while the Arduino is sleeping?

  • @iamfyrus
    @iamfyrus Před 7 měsíci

    Anyone still got the code upload somewhere?

  • @phwualoha1
    @phwualoha1 Před 3 lety

    I tried the interrupt pin and it worked. But if I keep the interrupt pin plugged in for more than 5 seconds and the system goes back to sleep. Then I unplug the pin and replug the pin and the system will not wake up. At least the LED will not come back on. Any idea please?