Skip to main content

Questions tagged [sleep]

Use this tag for questions concerning low power sleep states, eg. a battery powered circuit waiting for an external event to happen.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Sleep mode of SGP40 sensor

I'm trying to develop a system which has a feature to monitor air quality using a SGP40. I want this board to be in sleep mode most of the time and only wake up if the sensor detects alarming ...
404's user avatar
  • 15
1 vote
1 answer
49 views

Reducing current consumption for a PIC16 / Sleep mode

I would like to operate a PIC16F628A in sleep mode with less than 1 µA. For that I have switched off all ADC, peripherals, etc.. But about 7.5 µA is the lowest current I can achieve. I have found a ...
Olaf Rechtner's user avatar
0 votes
0 answers
192 views

STM32 Wakes up from standby mode immediately

I'm trying to get my board (STM32L072CZ) to enter the standby sleep mode, and it seems to be entering this mode, but it also immediately wakes up again. After searching the great webs the solution ...
Rasmus Madsen's user avatar
1 vote
1 answer
60 views

Toggle between active mode and sleep mode microcontroller

this might seem a dumb question, but is it somehow possible with an ATtiny85 (or any other microcontroller) to toggle with a push-button between active and sleep mode? Startup -> doing something -&...
Post Fah's user avatar
1 vote
1 answer
87 views

ATMega328p wakes immediately after sleep

I'm having issues with my current AVR-C project that runs on an ATMega328p. After issuing the sleep command the chip wakes up again immediately. I want to wakeup with an external interrupt, but while ...
Julian F. Weinert's user avatar
2 votes
1 answer
3k views

Does the ESP32 WROOM-32 have an internal RTC?

I am working on an ESP32 WROOM-32 now. My purpose is to have it read some data every 15 minutes, in between the ESP32 goes to sleep mode. Does the ESP32 have an internal RTC or timer? I searched on ...
Kuralmozhi's user avatar
0 votes
0 answers
17 views

Setting MQTT subscriber sleep intervals via periodic broadcasting

I have a system that consists of several field units which periodically (every 10 minutes) wake up and publish data to a MQTT topic. I am hosting the MQTT broker myself on a Linux server. I would like ...
Microcontroller Enjoyer's user avatar
1 vote
0 answers
373 views

Differences between "Dark Current", "Sleep Current" and "Quiescent Current" in automotive related products

I am from automotive electronics tier 1 manufacturing company which makes Automobile locks and Remote keys. In our remote keys, our team uses the term "Dark Current" for the default current ...
Mandeesh Singh's user avatar
0 votes
1 answer
170 views

ATtiny10 sleep mode

I have a very basic ongoing project that involves 8 LEDs, push-button tack switch with 10 kΩ pull up resistor, and an ATtiny10 microcontroller. The entire system is powered by a coin cell battery with ...
Warranty_void's user avatar
0 votes
1 answer
39 views

How to define the stop mode command? (S08DZ96)

I am using MC9S08DZ96 microcontroller and I using CodeWarrior version 11. I want to put the MCU to sleep mode(STOP3). In the CPU settings, I have changed the sleep mode setting and the relevant ...
mehdi alizade's user avatar
0 votes
1 answer
107 views

BLE Sleep and Rx Mode

A Generic Tx Node: Cycle time - 5s. Tx Time (wake up, Tx, Sleep back) - 0.1ms -> current consumption 30mA. Actual Sleep Time (some sleep mode)- 4.9ms -> current consumption 20uA. However for a ...
ankit sultania's user avatar
1 vote
0 answers
284 views

A GPIO that will keep HIGH when running and LOW when sleep?

Is there a GPIO that is automatically HIGH when the ESP32 is running and LOW when it's asleep? I'm aware I can choose an arbitrary one and set it to HIGH on boot; I just wanted to make sure I'm not ...
Zach Moshe's user avatar
1 vote
1 answer
84 views

Poll for button input while sleeping - PIC microcontroller

I'm working on a wall control project that runs on a battery. Therefore, I want the system to be in sleep mode while there is no user input. I'm using a PIC18F45Q43 which has 3 external interrupts, ...
mrs15's user avatar
  • 11
0 votes
3 answers
89 views

Low power reset pulse about every week

I have a microcontroller in deep sleep and I want to send it a reset pulse every week to do some periodic task. I have a power budget of about 1uA. I’m thinking of using a circuit like this but ...
Francois's user avatar
  • 577
1 vote
2 answers
184 views

Why does the CPU usage of a Beaglebone Black peak while running an infinite loop?

I am using a BeagleBone Black to trigger an ultrasonic sensor and expecting the Echo pin-connected GPIO to be sensed as HIGH by my program, but it almost crashes the system. ...
Pe Dro's user avatar
  • 151
2 votes
1 answer
188 views

Which consumes less current in microcontrollers: Always HIGH pins or always LOW pins?

I am driving a P-MOSFET (IRLML6402) with ATtiny24A microcontroller. This is a battery powered system; that's why ATtiny is always on sleep. I originally configured a BJT which is driven by the ...
CaveScientist's user avatar
0 votes
2 answers
196 views

Do scientific calculators (non-graphing calculators) have a free running clock?

I am taking a course on IoT devices and I was wondering how generic calculators achieve long battery life given they operate with no more than a couple of coin cells at best. In case they have a free ...
Vibhore Jain's user avatar
1 vote
1 answer
71 views

SC16IS750 Sleep Function

I am unable to get my UART to I2C dev module to go to sleep as it should, it appears that the chip will not go to sleep due to an interrupt condition that I am unable to clear, but that is my best ...
cMod's user avatar
  • 11
3 votes
0 answers
128 views

FreeRTOS is slow to wake after long processor sleep

(Cross-posted on Stack Overflow) I'm using FreeRTOS in an application which requires the processor to sleep in low power mode for a long time (as long as 12 hours), then wake up in response to an ...
harry courtice's user avatar
0 votes
1 answer
182 views

PIC18F power consumption

I am looking for a lower power PIC18F microcontroller that supports SLEEP mode (or even DEEP SLEEP mode without RAM retention). These power saving modes are widely advertised by microchip. They write ...
user52366's user avatar
  • 121
1 vote
0 answers
76 views

VL53L3CX XSHUT PIN PROBLEM IN DEEP SLEEP

I have project using a VL53L3CX distance sensor. Also , I control it by ESP32. In normally, I can command to XSHUT pin. And I can read xshut pin of ESP32 that is 3V3 or 0V. But, When ESP32 enters deep-...
FAFİ's user avatar
  • 51
4 votes
1 answer
1k views

STM32F030 High current in stop mode

I would like to put STM32F030K6T6 into STOP mode (low power mode), in which there should be current consumption around 5 μA. But whatever I do the current consumption is around 450 μA in stop mode. ...
Chupacabras's user avatar
  • 5,466
1 vote
0 answers
128 views

ESP8266 wake up from deep sleep on air flow

I am building a small device using ESP8266 and battery power (low power), as I would like to clip it to an air vent and have it wake up from deep sleep when the air vent is blowing, take measurements, ...
nahoku's user avatar
  • 11
1 vote
1 answer
884 views

ATtiny85 - Sleep Mode & Interrupts

I am working with ATtiny85. I want to put my MCU in IDLE Sleep mode and after every five minutes, I want to write data into EEPROM. I am using Timer 0 overflow interrupt to count 5 mins. Counting will ...
sri's user avatar
  • 15
0 votes
1 answer
127 views

ATtiny85 - Working with EEPROM in IDLE mode

I am working with the ATtiny85 board. I am working with data EEPROM and sleep modes of EEPROM. I have the following questions Can we write data into Data EEPROM of ATtiny85 when the device is in IDLE ...
sri's user avatar
  • 15
1 vote
0 answers
133 views

Feather 32u4 too much current draw

I am trying to build a battery-powered application using the Feather 32u4. I need a timer to trigger every 120 seconds (although Timer1 with it's 8 second limit would suffice for the beginning), thus ...
Daniel D.'s user avatar
6 votes
1 answer
537 views

How to make SMT32 chip programmable while it stuck in Standby mode?

From my mislead I put HAL_PWR_EnterSTANDBYMode() in the code whithout any wakeup behaviour, which made my chip unable to debug via SWD interface. So I can not ...
Roman Matveev's user avatar
1 vote
0 answers
385 views

Wake up with external Interrupt from deep sleep mode (Adafruit Feather 32u4)

I have an Adafruit Feather ATMega 32u4. I want to put it into sleep mode and wake it up with pressing a switch as an external interrupt. This is what I tried so far and which worked: switching a LED ...
Larsi's user avatar
  • 11
0 votes
0 answers
99 views

Sleep current of automotive device increasing over time

I have something like a tire pressure monitor. It is battery operated. I haven't done automotive before and it is a whole other world besides consumer. I put in all high temp components (i,e, 40-125C ...
Bill's user avatar
  • 2,496
1 vote
0 answers
1k views

ESP32 High Power Consumption in Deep Sleep Mode

I'm running a Python program on an ESP32 (MicroPython firmware) that fetches online data to save it locally every 5 hours, and then goes into deep sleep mode. The board is powered with a 3.7V lipo ...
garys's user avatar
  • 99
0 votes
0 answers
51 views

3 T Finfet Leakage reduction circuit techniques (VLSI)

What are the circuit techniques to reduce leakage in a 3T Finfet (front and back gate shorted) circuit? Vth in a 3T Finfet is almost always constant, so there is almost no stack effect and hence sleep ...
ShruthiParvathi's user avatar
1 vote
1 answer
341 views

How to put an ATmega328 into sleep mode and wake it up without a button, without WDT

I am building an IR based faucet. I need to include a battery backup. I am using only an ATmega328 with a crystal and a capacitor, I am not using a regulator or LED. I need to increase the battey life....
prajwal sathwick's user avatar
1 vote
0 answers
744 views

Configure STM32 to sleep inside an ISR

I am doing a test project to test the STM32's sleep mode feature. The project involves two microcontrollers: STM32F411 with a push button, which when pressed, sends data through SPI to an STM32F303 ...
Cimory's user avatar
  • 107
0 votes
1 answer
66 views

Idle supply current at frequency or vcc

I'm trying to figure out how much power I can expect my ATTiny84 to use in idle mode and I'm not sure which of the two graphs from the datasheet I should use, or why there are two in the first place. ...
Anubhav Srivastava's user avatar
1 vote
1 answer
3k views

nRF52 GPIO configuration in sleep mode to prevent peripherals from drawing current

I have a battery-powered board with an nRF52832 and some peripherals that I am writing a new firmware for. When set to sleep (NRF_POWER->SYSTEMOFF=1;) the board still draws way too much current (...
Johannes's user avatar
  • 279
1 vote
2 answers
2k views

STM32L4+ UART doesn't work after entering STOP2

I'm just getting into learning the low power states of STM32s and this is my first project trying to use STOP mode so please forgive any noob mistakes. This code is based very similarly of the example ...
ccolton's user avatar
  • 316
1 vote
3 answers
558 views

Low-power Linux-based ARM system on module for data logger? [closed]

I want to develop a data logger with several hardware characteristics (low-power consumption, SDI-12, I2C, SPI, UART, USB, Ethernet, touchscreen display, SD card, RTC, internal memory at least 128MB......
Cristian M's user avatar
0 votes
2 answers
1k views

Is it possible to set up multiple wake up interrupts on STM32. ? How to manage multiple sensor reading intervals?

I am new to developing applications on STM32 development boards. Currently i have STM32 IoT discovery kit. I am able to configure all the sensors and read data. I am interested in low power design ...
user200's user avatar
2 votes
2 answers
6k views

How to wake STM32F103 by RTC using HAL libraries / Registers?

I've started digging into STM32F103 using HAL Libraries and raw registers. It's the first time to program at such low level. Anyway following a video I've successfully implemented "Standby" mode. ...
Hamza Hajeir's user avatar
2 votes
2 answers
4k views

STM32 standby mode power consumption is too high

I'm experimenting with standby mode on STM32F407VGT6. I know how to put MCU into standby mode(or I think to know that). I'm doing that with this init function: ...
subavet995's user avatar
1 vote
1 answer
190 views

How to avoid a MCU to run constantly when a superheterodyne radio receiver is receiving nothing, and possibly enter in deep sleep?

TL;DR: How to avoid an ATtiny to run constantly when the radio receiver is receiving nothing, and possibly enter in deep sleep mode? Configuration: ATtiny45 (on breadboard) SRX882 Superheterodyne ...
Basj's user avatar
  • 1,926
0 votes
1 answer
239 views

Can a server send data to my SIM800c while it is in sleep mode?

I have a SIM800c and I'm also using an adafruit.io server. I'm building an alarm system and I'm wondering if I will be able to send commands to the system using the server while the GSM module is in ...
user3308807's user avatar
1 vote
0 answers
158 views

ESP8266 vs ESP32 and WakeUp vs Reset

Maybe it's my fault but I kinda dislike the design of the ESP8266 when it comes to wakeup from deep sleep via an interrupt. AFAIK (without an external circuit) the ESP8266 can not distinct between a ...
MaxPower's user avatar
2 votes
0 answers
1k views

stm32 does not exit sleep

When trying to implement sleep mode it appears the code enters and exits sleep mode once and then gets stuck in sleep mode after and will not wake back up. I posted some code below of what I believe ...
happyhappyhappy's user avatar
1 vote
2 answers
329 views

328p-pu drawing too much current in sleep mode

I have a ATmega328p-pu and run it at 8MHz with the internal oscillator. I am executing some code and then send the chip to sleep. I deactivate the brownout and ADC before activating the sleep. I have ...
realShadow's user avatar
0 votes
1 answer
2k views

Reducing current consumption for a PIC16 in Sleep mode

This might appear as one of those tens of questions that ask about power consumption on a PIC microcontroller. But after I have failed to reduce the current consumption to an acceptable level despite ...
WedaPashi's user avatar
  • 1,660
0 votes
1 answer
109 views

Sleep vs low frequency

Some processors have a low frequency mode for using in low power mode. For example MSP430 microcontroller can work in both Normal clock frequency 16M Hz Low clock frequency 32 kHz I am wondering if ...
ar2015's user avatar
  • 213
1 vote
0 answers
524 views

how correctly disable wakeup pin in STM32f0?

We need to disable wake up pin in some time, during stm32f0 run. we have used HAL_PWR_DisableWakeUpPin(PWR_WAKEUP_PIN1); but it doesn't work. Should we do ...
paradisal programmer's user avatar
0 votes
0 answers
52 views

Reduce wake-up noise on ARM CM3

I need some help exploring a solution. I have an ARM Cortex M3 MCU, which has low-power sleep mode implemented. Wake-up sources are any GPIO pin, or an RTC alarm. A terminal is connected to UART-0 ...
Potion's user avatar
  • 43
0 votes
0 answers
4k views

STM32 L0 wake from STOP mode with WAKEUP pin

I am attempting to wake an STM32L073RZ from stop mode using WAKEUP_PIN_1. I'm running MbedOS 5.11. Unfortunately throughout all of the documentation (Mbed/STM) I ...
amitchone's user avatar
  • 305