Skip to content
LDmicroGitHub edited this page Feb 17, 2017 · 7 revisions

Work time (blinking Y1) is 3.5 s.
SLEEP operation is implemented as Power-down Sleep Mode for AVR. See MCU datasheet.
SLEEP operation don't affect MCU IO pins and others LDmicro operations.
Wake up by external interrupt on INT0(PD2), INT1(PD3) pins.
image

SLEEP_328.ZIP

Tested in Proteus.
Tested Atmega328 at Arduino Nano board.

Addition 1. SLEEP operation is implemented for PIC's MCU.
Tested only with PIC16F877 in Proteus.
Wake-up owing to external interrupt on rising edge of RB0/INT pin.
SLEEP operation don't affect MCU IO pins and others LDmicro operations.

Addition 2. SLEEP operation is implemented for ATmega32U4.
Tested in Proteus v8.4 slep_ATmega32U4.zip
Wake up by external interrupt on INT0(PD2), INT1(PD3) pins.

Addition 3. WDT, LOCK, SLEEP operation is tested at PIC16F628.

image
image
wdt_pic16f628.zip

According to the Internet
avr sleep current
Any questions to LDmicro.GitHub@gmail.com

Clone this wiki locally