Go Down

Topic: How to set sleep mode for Feather M0 Bluefruit (Read 693 times) previous topic - next topic

tangtangdn

Hello,

I would like to save power consumption when the object temperature is tested. However, I do not know how to set sleep mode for Feather M0 Bluefruit to save the power consumption. Dose any one achieve it before? Thanks in advance.

Kind regards,
Tang

artisticforge

Hello,

I would like to save power consumption when the object temperature is tested. However, I do not know how to set sleep mode for Feather M0 Bluefruit to save the power consumption. Dose any one achieve it before? Thanks in advance.

Kind regards,
Tang
What is your project?
Do you have a wiring diagram of your project?
More detail is required.
><>

tangtangdn

What is your project?
Do you have a wiring diagram of your project?
More detail is required.
Hello,

I just connect GY-906 infrared temperature sensor to Feather M0 Bluefruit. The pin connection is shown as below (Sorry, I do not know how to paste a picture here)
Vin--3V
GND--GND
SCL--SCL
SDA--SDA

The sample frequency is about 1Hz. However, the power consumption is up to 36mW (about 3V*12mA). I want to reduce the power consumption. Could you give some good ideas? Thanks a lot.

Regards,
Tang

MartinL

#3
Jan 30, 2018, 09:30 am Last Edit: Jan 30, 2018, 09:35 am by MartinL
Hi Tang,

It might be worth checking out the RTC (Real Time Clock) library: https://www.arduino.cc/en/Reference/RTC.

It has a function called standbyMode() that puts the processor to sleep, although in the source code a comment says that it causes issues when the board is connected via the native USB port. The source code can be found here: https://github.com/arduino-libraries/RTCZero.

There's also an example SleepRTCAlarm: https://www.arduino.cc/en/Tutorial/SleepRTCAlarm.

tangtangdn

Hi Tang,

It might be worth checking out the RTC (Real Time Clock) library: https://www.arduino.cc/en/Reference/RTC.

It has a function called standbyMode() that puts the processor to sleep, although in the source code a comment says that it causes issues when the board is connected via the native USB port. The source code can be found here: https://github.com/arduino-libraries/RTCZero.

There's also an example SleepRTCAlarm: https://www.arduino.cc/en/Tutorial/SleepRTCAlarm.
Thanks Martin.

Go Up