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

learn more… | top users | synonyms

0
votes
1answer
61 views

sleep mode in pic16f1618/19

I am trying to reduce the power consumed by microcontroller pic16f1618, and hence I thought of using SLEEP(). All interrupts such as timer, and pin are disabled. The code is generated with the help of ...
1
vote
1answer
49 views

Power switching peripherial parts by MCU

Using an MCU like from MSP430 series, it is possible to create circuits that runs from battery power for years in some standby mode (waiting for button or realtime clock alarm for example). However, ...
0
votes
2answers
59 views

How to make auto off functionality for an led lamp circuit with only transistor, capacitors, timer 555 chip?

The components I have are timer 555 chip, capacitors, and transitors. I want to create sleep functionality for a led lamp which consists of 6 leds in parallel and pnp, npn transistors. I want this ...
0
votes
0answers
34 views

Is Energia buggy when it comes to using Serial.print() near sleepSeconds() call?

So, I've been experimenting with sleep, sleepSeconds, suspend() and wakeup. These are AWESOME by the way... Here's what I've found. suspend() puts the controller into LPM4 which makes it ONLY come ...
0
votes
1answer
43 views

How do you implement an Energia interrupt handler?

So, I have an application that needs to be very conservative with the power. I use the suspend() command to go into LPM4 and wait for an interrupt to occur. During the interrupt, I attempt to ...
0
votes
1answer
51 views

passive motion sensor

I would like to get a microcontroller out of sleep when the board starts moving (or vibrating). If possible it should just be a passive switch (I only need a positive edge from a battery to get the ...
0
votes
0answers
41 views

Receiver wake up time

I want to make an extremely power efficient node that can receive a signal and determine what to do with the information it received. Since receiving requires a lot of power, I want to occassionally ...
0
votes
1answer
332 views

Nodemcu sleep mode works but still consumes too much power

I would like to reduce the power consumption on my ESP8266 devices with a built in USB to UART. I used this function : system_deep_sleep_set_option(0); system_deep_sleep(5 * 1000000); This ...
1
vote
1answer
244 views

Getting ADC readings after waking a ATTiny85

I have this little project of mine that involves putting a ATTiny85 to sleep to save power. The main idea is to: 1- Putting ATTiny85 to sleep, including deactivation of the ADC 2- Wake-up MC on pin ...
0
votes
1answer
107 views

Atmega8 doesn't enter power-down mode on sleep_cpu()

I'm trying to put atmega8a to sleep with this code: ...
0
votes
0answers
144 views

Debounce a wake from sleep switch & long press registration AVR

Working on an ATTINY85 project which sends wall switch triggers over RF to a home automation server. They are battery powered, so I have them in sleep mode with the ...
0
votes
2answers
293 views

AVR sleep interrupt with keypad

I'd like to wake up my AVR whenever any button on the keypad is pressed. I am using Keypad.h library and simple 4x4 keypad made of buttons connected straight to AVR digital pins. Keypad itself works ...
1
vote
1answer
117 views

Interrupts in AVR

I'm using an atmega328 on AVR. I haven't done any coding yet but I am planning. How I will do so in my head. So I want to be able to wake up the ATmega328 via a button press, and go to sleep after I'...
1
vote
2answers
64 views

Low-power interrupt generator

My objective is to generate an interrupt on an Atmega328P processor every second or so, using substantially less average current consumption than the inbuilt watchdog timer. You can see from the ...
-1
votes
1answer
131 views

How do I wake from sleep on PIC10F200 via watchdog?

So far I have worked with many other micro controllers but not the PIC-family. I'm having trouble with waking from sleep via watchdog on a PIC10F200. I'm programming it in C using the MPLAB X IDE v2....
1
vote
1answer
100 views

AVR Sleep Mode Clarification

I have been learning about the AVR sleep modes as I would like to start using them in my future projects. I think I have understood the most of it except some specific details below Under Power ...
3
votes
1answer
121 views

How to issue the SLEEP command in Attiny

I want to put an Attiny13 to sleep. In short chapter 7 of the datasheet says you have to do the following: set sleep mode sleep enable (set SE bit) issue SLEEP command Generally this is ...
1
vote
4answers
193 views

Switching power supply 12V/3.3V for battery powered application with SLEEP mode

I'm designing a 3V3 PSU for 12/6V (lead) battery powered (outdoor) application. Supposed load is 70mA but I plan sleep mode (50uA) with periodic wake-up (ATMega1284P with 32kHz (RTC) crystal). It ...
-1
votes
1answer
818 views

HM10 Bluetooth (CC2541) put in to sleep while connected to iOS application

I'm trying to trigger an action on iOS application using HM10 Bluetooth module. And i have successfully accomplished the functionality, But now my concern is the power consumption, I have already ...
0
votes
1answer
182 views

Saving power between UART transmissions

I use PIC16F1825 to communicate via UART (async) with external device. Running on batteries I have to spend as little power as possible. Since my external device may transmit no data for minutes I ...
1
vote
1answer
533 views

Determine if button press triggered wakeup from STOP mode with STM32F0

I'm using an external interrupt triggered by a button press to wake up an STM32F030K6 from STOP mode. I was wondering if there's any way of distinguishing, within the interrupt handler, a button press ...
-1
votes
1answer
290 views

How to send the RC522 RFID reader into sleep mode?

I'm trying to get the power consumption of a MFRC522 RFID module down, currently while running it consumes about 4mA. There should be a way to put it into sleep mode, I just can't find any ...
0
votes
2answers
174 views

Shut down regulator during sleep

I'm working on a wireless sensor network and would like to know what it would take to shut down the regulator during deep sleep. MCU: STM32L151C6T6 Regulator: TPS63001 Radio: RFM69HW LCD: some ...
0
votes
1answer
311 views

Configuration of XBee network with multiple end devices

How do I configure an xbee network with multiple end devices (each connected to sensor and microcontroller) and one coordinator (connected to the PC)? Do I use AT mode or API mode? What is main ...
3
votes
2answers
98 views

Low power strategy for dealing with spontainious bit flips durring sleep on AVR 8-bit?

I am designing a ATTINY-based circuit that is intended to run unattended for very long periods of time on a very small battery. The device spends almost all of its time in deep sleep, and only wakes ...
0
votes
1answer
152 views

PIC16F57 - problem implementing wake up signal on key stroke

I have designed a simple RC5 remote control using a PIC16F57 and the classic rows-columns scan over a 4x4 matrix keypad. The previous version of my firmware continuously scanned the keypad to find a ...
1
vote
1answer
147 views

Leakage current during sleep mode?

This is an assignment question: A system is operating at 325VDC input, what is the required static leakage current during sleep mode in order to achieve Zero power? I know there may be a lot of ...
3
votes
1answer
294 views

SLEEP or busy-waiting. Which would service an interrupt faster?

I'm programming a PIC microcontroller to service two events via interrupts on a very time constrained environment. PIC microcontrollers allow a SLEEP mode which wakes the PCU on any external ...
2
votes
3answers
2k views

How much current is a powered-down ATtiny84 supposed to take?

I know this sounds like a stupid question, but I'm wondering if the datasheet has an error or something. I have an ATtiny84 connected to my bench power supply set for 3 volts. It's fused for the ...
2
votes
1answer
980 views

PIC32 sleep mode with watchdog wakeup failing

I am in the process of trying to get a PIC32MX795F512L to run with lower power consumption. I'm trying to get it to enter sleep mode and then be woken by the watchdog timer. All pretty standard ...
6
votes
3answers
1k views

How to turn on ATmega every 6 hours?

The board which is made with Atmega operates on battery, it should turn on every 6 hours and log some data, then go back to deep sleep to save battery consumption. Atmega32 is used and not Atiny ...
0
votes
1answer
960 views

Reducing current consumption in deep sleep mode

This is in relation to the question I asked about deep sleep mode. I'm using PIC18F and it says in the datasheet that in deep sleep it would consume only few nA. But when I configured for deep sleep ...
2
votes
1answer
1k views

Deep sleep mode consumption of PIC

I would like to know why my PIC which when I put in to deep sleep does consume more than what is specified by the datasheet. I have connected a precision current meter and found that when I load the ...
0
votes
1answer
125 views

How to lower current consumption in JN5148-J01 Microcontroller?

I am using JenNet-IP stack and JN5148-J01 MCU for smart home application. As per JenNet-IP stack my MCU will not be in sleep mode because it is working as router in WPAN. But I have to reduce current ...
0
votes
1answer
283 views

Using both watchdog timers in PIC

I want to use both the conventional WDT and deep sleep WDT. I will be using WDT to prevent any code lock cases if any. And the other after entering deep sleep mode to wake up periodically in deep ...
1
vote
1answer
979 views

Watchdog timer not being called in sleep mode

On an ATMega328p, I'm trying to setup a program that counts 1 second intervals via the watchdog timer, even when the chip is in sleep mode. A button interrupt puts the chip into sleep mode. The ...
3
votes
2answers
1k views

How do I use a button to wake up an atmega32?

Sorry for any noobiness, I'm more of a software engineer. How do I use button interrupts in general? As in, if I put my microcontroller to sleep, I'd like a button to wake it up. How should I go ...
4
votes
2answers
425 views

How can I wake up an ATtiny84 microcontroller at specific time of the day?

I am trying to create an alarm that wakes up at a certain time and does a series of instructions. To set the times that it wakes up, I am going to use the headphone of an Android device to send ...
2
votes
0answers
2k views

Actual power consumtion of xbee series 2 in sleep/power down mode?

According to user manual and several other official documents from Digi, xbee in the power down/sleep mode can consume as low as 1uA. But somehow such a low power consumption seems simply unachievable ...
1
vote
1answer
1k views

problem in sleep mode of xbee series 2

I am having some trouble dealing with xbee s2 sleep mode. Hope you all can give me some help. The following is my setup: The network composes of one coordinator and several end devices, all in ...
0
votes
1answer
1k views

Inverting interrupt edge (STM32 wake up pin)

A sleeping STM32 can be woken up by a rising edge on its wake up pin. But if the IC on the other end of the line only interrupts as falling edge, is it possible to invert it somehow ?
3
votes
2answers
313 views

Deepsleep mode Data saving in PIC18

I am using a PIC 18F46J50 microcontroller and the C18 compiler. I want to retain some data when the controller exits deep sleep mode. I found two registers DSGPR0 ...
6
votes
1answer
557 views

AVR startup time w/ external xtal/osc

When using an external xtal/osc with an AVR, you get several startup time options when setting the fuses, such as: 6 CK/14 CK + 0 ms 6 CK/14 CK + 4 ms 6 CK/14 CK + 64 ms Now... does anyone know if ...
5
votes
1answer
8k views

STM32F103 low power mode (stop)

I've got a project where I'm trying to get the power consumption down as low as possible (on an STM32F103RCT6). I looked at ST's document on getting the STM32F2 power consumption down as low as ...
1
vote
1answer
647 views

Sleep modes on CCS PIC 18F87J11

I am using timer1 as my 100 ms interrupt clock timer. I don't use hardware WDT, I do this myself. Can I sleep (or idle) the processor and just wake up when the 100 ms clock interrupt goes off? If so, ...
3
votes
4answers
1k views

What happens to other component's power consumption, when uC is switched to low-power mode

Currently, I am using a uC (Atmel ATtiny85-PU20), which will eventually run battery powered, and I am trying to reduce power consumption of entire circuit to maximise time between battery changes. ...
10
votes
3answers
855 views

Microcontroller Sleep Race Condition

Given a microcontroller that is running the following code: ...
2
votes
1answer
536 views

Raspberry Pi minimum sleep time

I managed to connect an old PS/2 keyboard to the GPIO pins of my Raspberry Pi. I do get correct data from the keyboard which means when I press 'A' on the keyboard I get 'A' in my C code. The big ...
5
votes
2answers
450 views

Datasheet term for transistor power consumption when OFF?

I'm trying to find a transistor that can power up to 1A (1000mA) on an animated LED strip lighting circuit. From this thread I found the BC517 darlington: Choosing the right transistor for a ...
7
votes
2answers
1k views

Need help understanding Ultra Low Power Wakeup on PIC16F887

I am trying to implement the "Ultra Low Power Wake Up" feature on a small PIC project. The idea is the chip will go to sleep, and then be woken up in the future by the ULPWU interrupt. The idea ...