The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
102 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
66 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
68 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
142 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 ...
0
votes
0answers
73 views

Sleep and interrupts in AVR

I am finally able to get the interrupts to work on my atmega328. below I have implemented a program that on pressing the button, the program interrupts the sleep, blinks a few times, then returns back ...
1
vote
1answer
95 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 ...
1
vote
2answers
46 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
95 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 ...
1
vote
1answer
81 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
73 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
152 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
43 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
535 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
146 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
303 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
195 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
139 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
257 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
88 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
133 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
137 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
244 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
782 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
763 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
781 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
898 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
118 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
242 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
858 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
996 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
379 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
984 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
291 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
456 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 ...
4
votes
1answer
6k 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
580 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
888 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
790 views

Microcontroller Sleep Race Condition

Given a microcontroller that is running the following code: ...
2
votes
1answer
485 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
406 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
911 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
6k 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, ...
7
votes
3answers
11k 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
984 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
578 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 ...