Tutorial: Using Power Saving Sleep Modes on the Arduino

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • This tutorial was developed for the MAKE course at the University of South Florida (www.makecourse.com). It discusses the use of sleep modes on the Arduino for power saving purposes. The Arduino has six sleep modes with varying degree of power saving potential. Wake up sources include external and pin change interrupts, timer based interrupts, watchdog interrupts and I2C interface based interrupts. The tutorial demonstrates the sleep mode concept at the example of the "Power Down" sleep mode, which is the most power saving mode.

Комментарии • 22

  • @BGLENN-dp4tx
    @BGLENN-dp4tx 5 лет назад +1

    Outstanding video, particularly the nice analysis of how the "detach interrupts" can lock up the Arduino. Thanks.

  • @Cyberplayer5
    @Cyberplayer5 10 лет назад

    Nice! Clearly explained example of how sleep mode works!

  • @clearwavepro100
    @clearwavepro100 8 лет назад

    Thank you sharing this! And the valuable detail and explanation of the potential pitfalls of sequence incoherence of the commands!

  • @suave319
    @suave319 9 лет назад +3

    Nice tutorial, but why did you use sleep_cpu() instead of sleep_mode(). I really can't see the difference between the two.

  • @Darieee
    @Darieee 7 лет назад

    Awesome - I'd so take this course :D good work !

  • @TheGg6422
    @TheGg6422 6 лет назад

    Thank you for these great educational videos...very well done!

  • @jonathanehair88
    @jonathanehair88 8 лет назад

    hi, I'm trying to do this to my project. it works great until I try to turn my ports off when it goes into sleep mode power down. I need help figuring it out.

  • @adespade119
    @adespade119 4 года назад

    looks good, will watch later, i feel strangely sleepy at the moment.

  • @EdsonCordeirodoValle
    @EdsonCordeirodoValle 9 лет назад +1

    Let me ask you 2 beginner's questions :
    1) In the mode that you have assembled the board, the power comes from an external source, so the USB cable is only used to send the message to the serial monitor, right?
    2) Have you ever made this test with ans Arduino Nano board? How much is the power consumption?

    • @lindsaycox390
      @lindsaycox390 4 года назад

      its about the same as an uno. they both have USB chips, and current can vary wildly with the Chinese clones. your best bet if you want to go for low power is the pro mini's. but you will need a usb to serial avr programmer for those

  • @joaodanilosoutomaiornoguei4847
    @joaodanilosoutomaiornoguei4847 9 лет назад +1

    Good tutorial! Thanks! But I have a big problem to implement on my project, because I'm not found avr.sleep library! :/
    How did you get the avr.sleep library?

    • @Makecourse
      @Makecourse  9 лет назад

      The standard ave libraries should be included with your Arduino IDE setup. If you get error messages with regard to the library, reinstall the Arduino setup from scratch. Also download our sketch that is featured in the video here: makecourse.weebly.com/week13segment2.html
      This should work 'right out of the box'. Good luck!

    • @joaodanilosoutomaiornoguei4847
      @joaodanilosoutomaiornoguei4847 9 лет назад

      Thanks ! Help me a lot.

  • @javervalino4386
    @javervalino4386 9 лет назад

    Good tutorial. What is your typical current reading in verylow power mode

  • @grimmer2005
    @grimmer2005 6 лет назад

    Does this work for Arduino MEGA also?

  • @markjoshuaares3045
    @markjoshuaares3045 3 года назад

    is this still applicable in 2021?

  • @8989youu
    @8989youu 10 лет назад +1

    Thanks!

  • @dasRepalle
    @dasRepalle 6 лет назад

    Nice explanation.

  • @kareemhafez6620
    @kareemhafez6620 10 лет назад

    Another great video!

    • @Makecourse
      @Makecourse  10 лет назад

      Thanks for watching!! Check out makecourse.com. The sketches we use in our videos are posted there.

  • @MonkeyMan9999
    @MonkeyMan9999 7 лет назад

    your vids are great. thank you

  • @phill445
    @phill445 10 лет назад

    Thanks!