The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
36 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 ...
5
votes
0answers
174 views

ATmega328 very deep sleep and listen to serial? [migrated]

I have investigated the sleeps options of the ATmega328 , and read a few articles about it , and i would like to understand if there are more options . So i would like to get as low current as ...
3
votes
1answer
26 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 ...
0
votes
4answers
97 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 ...
0
votes
0answers
16 views

How to remove Xbee2 from sleep mode?

When I tried to configure xbee2 as a end device it wasn't detected as device on XCTU. Then I came to know that xbee automatically goes into sleep mode when configured as end device. My problem is how ...
-1
votes
1answer
234 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
109 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
151 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
81 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
0answers
96 views

MPU6050 not coming out of sleep mode

I am using the accelerometer-gyroscope-temperature sensor ic MPU6050. When first powered ON, the sleep bit in the power_management_register_1 (bit6) has to be reset so as to start the working of the ...
0
votes
2answers
102 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 ...
1
vote
0answers
52 views

attiny25 doesnt want to sleep (attiny24 does)

I have an attiny25 and an attiny24 both run the same (striped) code. They shall do something (e.g. toggle a pin), go to sleep for some time and get woken up by the watschdog timeout interrupt (WDT is ...
0
votes
1answer
124 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
67 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
98 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
115 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
171 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
953 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
524 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
2answers
421 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
554 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
622 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
100 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
187 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
700 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 ...
2
votes
2answers
626 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
309 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
1k 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
719 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
237 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 ...
5
votes
1answer
344 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 ...
3
votes
1answer
4k 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
474 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
623 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
670 views

Microcontroller Sleep Race Condition

Given a microcontroller that is running the following code: ...
2
votes
1answer
428 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
352 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
777 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 ...
5
votes
1answer
1k views

How is this Pushbutton Debounce code?

I am monitoring a pushbutton with a microcontroller where I am trying to take care of four things together: 50-msec debounce upon push-begin and 25-msec debounce upon push-release identify a ...
3
votes
2answers
5k views

How to make XBee sleep?

Arduino Fio with XBee radio. I have read the XBee manual (pg. 24-25), trying to figure out how to put it to sleep, but what I tried did not work. Then I found an example sketch using XBee sleeping, ...
6
votes
3answers
9k views

Best pattern for WFI (wait-for-interrupt) on Cortex (ARM) microcontrolers

I'm looking into developing battery-powered software using the EFM Gekko controllers (http://energymicro.com/) and would like the controller to be asleep whenever there's nothing useful for it to be ...
4
votes
1answer
923 views

AVR (at90usb1286) sleep and USB

I am using an AVR at90usb1286-based Teensy++ 2.0 to periodically read data from a few sensors. In its final form, my project will act based on the sensor inputs. For now, I log the results to the USB ...
2
votes
1answer
498 views

What quiescent current draw of my circuit would be acceptable for a 100mAh battery?

The microcontroller and several sensors of my circuit draw 10µA in sleep mode. I am using a 100mAh lithium polymer battery. Is this quiescent current acceptable? Should I install a physical switch to ...
4
votes
1answer
359 views

ArduinoBT UART Communications

Is there any way to monitor what is being sent to the WT-11 module via UART? I'm trying to implement deep sleep on the WT-11 and can run the iWRAP "TEST DEEPSLEEP" command successfully but the deep ...
7
votes
2answers
2k views

Bluetooth power saving mode for ArduinoBT

I'm trying to get my ArduinoBT to be a bit more power friendly, I have it running in a sensor network and it is constantly drawing power. I want to be able to turn off or put the Bluetooth module to ...
19
votes
3answers
7k views

Low Battery Indicator

I'm looking to make a battery life indicator that I can use in conjunction with a micro-controller. I'm hoping that I can then read the current battery life remaining and increasingly put the ...
10
votes
3answers
6k views

How to Sleep Arduino

How do you program a sleep mode for your Arduino? Especially for battery powered designs, what are good techniques for sleeping the CPU but waking up only when needed?