0

I am looking for a low power solution for my ATmega32U4. It uses Serial1 to communicate with Bluetooth, so I need to have it active. When I receive data from Serial1, I want to power up the Arduino, do some magic, and then power it off...

  • Have you had a chance to look at the ATmega32U4 datasheet yet? – Ignacio Vazquez-Abrams Sep 29 '17 at 20:16
  • Yes a little bit, I hope You will have more xp and can recommend me some. – Andreisk Sep 29 '17 at 20:20
  • 2
    Use the UART interrupt to wake the MCU....? – Majenko Sep 29 '17 at 20:38
2

For Power Down/Standby Mode you would have to use an Interrupt Pin to reactive the MCU. If you do not mind possible loss of the first character you could connect an Interrupt Pin to Serial1 RX and wake up on the first start bit.

The startup delay (i.e. time until UART is up and working) may impact the first character received. You could always start off by sending a number of null character as a "wake up call"; classical break sequence.

Cheers!

Ref. ATmega16/32U4, Chap. 7. Power Management and Sleep Modes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.