supp:arduino:sleep
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
supp:arduino:sleep [2018/11/15 15:28] – [Putting Arduino to Sleep Mode] admin | supp:arduino:sleep [2018/11/15 15:33] (current) – [Putting Arduino to Sleep Mode] admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
In case of MC it should still react to external events to be woken up, such as a push button event. This can be achieved by setting the MC to sleep. There are several sleep modes available. To generalize: The " | In case of MC it should still react to external events to be woken up, such as a push button event. This can be achieved by setting the MC to sleep. There are several sleep modes available. To generalize: The " | ||
- | With Arduino you often use the "power down" | + | With Arduino you often use the **power-down** sleep mode. Only INT0 (level not edge interrupt), INT1 (level not edge interrupt) or PCINT (pin change interrupt, i.e. rising or falling edge) are able to wake the MC up from this sleep mode again. |
+ | |||
+ | | {{: | ||
+ | | Fig.: Sleep modes of ATmega328P and other MCs. \\ Source: {{http:// | ||
- | [[http:// | ||
===== Material ===== | ===== Material ===== | ||
* Arduino tutorial on sleep: https:// | * Arduino tutorial on sleep: https:// | ||
* Forum post on PCINT: https:// | * Forum post on PCINT: https:// |
supp/arduino/sleep.1542295685.txt.gz · Last modified: 2018/11/15 15:28 by admin