Questions tagged [sleep]
Sleep refers to a form of power management, where the processor can be instructed to enter various levels of "sleep". Use this tag for discussions about sleep mode.
169 questions
0
votes
0
answers
209
views
Sleep and Wake Arduino Nano 33 BLE
I'm trying to figure out how to wake up and put to sleep the Arduino Nano 33 BLE. I have seen a few post about it but absolutely nothing I can understand or implement. I'm attaching a subset of the ...
0
votes
1
answer
83
views
Why are times different on different Arduino Pro Minis? [closed]
I am working on a project using a 5v Arduino Pro Mini. To save power I have it power down and wake up every about 15 minutes to check on the battery strength and then power down again. This cycle runs ...
1
vote
0
answers
67
views
Combining esp_wakeup_timer with external interrupt ext0
I'm working with ESP32-Dev-Kit1 and MMA8452Q accelerometer. I want the ESP to read the accelerometer for 10s, then go to sleep for 10s. If within the sleep period, the accelerometer magnitude reading ...
1
vote
0
answers
155
views
LED button alarm with DS3231 RTC problems
I am a PHP web programmer, but I am a beginner studying Arduino. I would like to inquire about a problem with the following function that I am creating while looking for various references. (This ...
0
votes
1
answer
372
views
I want the Arduino to be in sleep mode by default and have a button wake it up
I saw a library called LowPower_LowPowerLab that can set the Arduino in sleep mode. In their example they put the Arduino to sleep using an external button, is there anyway to invert this behavior? I ...
0
votes
1
answer
327
views
Wake esp8266 from deep sleep with PIR but disable while running code
I am using an ESP8266 to control a ring of neopixels. I want to use a PIR to trigger a brief light show. I'm using batteries and need them to last as long as possible.
I have it working by checking ...
0
votes
2
answers
546
views
ATtiny85 with sleep and serial
I want to communicate over serial to another device (dfplayer) and also set the microcontroller into sleep mode.
The ATtiny85 does not have a hardware serial pin so I need to use a virtual serial (...
1
vote
0
answers
1k
views
Wemos D1 Mini deep sleep
I am building a very simple battery powered touch button using a Wemos D1 Mini (it is basically an ESP8266) and a capacitive touch sensor (something like this: https://www.az-delivery.de/en/products/...
2
votes
0
answers
159
views
ESP8266-01S only coming back from DeepSleep every 2nd time
I'm using an ESP8266-01S for a battery-powered project. The ESP is in DeepSleep, a doorbell relay pulls RST to GND, bringing the ESP to life to do some stuff, before going back to DeepSleep.
My ...
1
vote
0
answers
471
views
Arduino Nano 33 BLE power consumption optimization
I am working on building a sensor using Arduino Nano 33 BLE that will measure temperature using two thermistors and angle changes. The measured values will be transmitted over Bluetooth to a ...
0
votes
1
answer
286
views
Wake-UP the ATtiniy44 from sleep_mode_pwr_down with a PushButton
I'm curently playing with sleep modes. When I push the button, melody starts, push again go to deep down sleep and save 3v battery, push again wake up and melody starts again. But seems like it doesn'...
0
votes
1
answer
1k
views
integer overflow in expression of type 'int' results
i need to wake up my ESP every 60 min to read some data and post it to server, all process working fine when i use numbers of minute below 60 (converted in microsecond x 1000000) but when i use 60 min ...
2
votes
2
answers
299
views
Arudino receiving interrupt command BEFORE entering sleep mode causing it not to receive any interrupt commands in order to wake up
I've written code for an Arduino Nano that when a button is pressed, it sends an IR command. It is set so that if no button press has been received for a period of 10 seconds, it will enter sleep mode ...
0
votes
2
answers
476
views
Is it possible to know how long an ESP8266 was in deep sleep?
I'm working on a low power device that implements an ESP8266 MCU and uses it's deep sleep feature. The firmware uses the Arduino C++ library.
Part of the functionality requires knowing the time. To do ...
4
votes
1
answer
5k
views
ESP32 can not deep sleep longer than 35 minutes
I'm trying to get my Lilygo T5 4.7" epaper to deep sleep for 12 hours.
But I only seem to be able to get about half an hour (2100s) of deepsleep on it.
If I set the timer for longer, it just ...