The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
12 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 ...
0
votes
0answers
10 views

Assembly problem with speaker and wait interrupt [migrated]

I am working on an assembly program (8086) that plays music on the PC speaker. Everything works fine but I've got one problem. After about 15s of playing music, my program falls in endless sleep ...
3
votes
2answers
51 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
61 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
73 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
110 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
464 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
272 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 ...
0
votes
0answers
129 views

HC-06 Bluetooth low power mode?

I'm currently using the HC-06 BT module and am trying to figure out if there's a low power mode available. I've found documentation online that say's there is a sleep mode but says nothing about how ...
5
votes
2answers
276 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
338 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
348 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
73 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
143 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
499 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
329 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 ...
3
votes
2answers
248 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 ...
1
vote
0answers
921 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
751 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
487 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
180 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
244 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
3k 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
331 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
369 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
571 views

Microcontroller Sleep Race Condition

Given a microcontroller that is running the following code: ...
2
votes
1answer
350 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
291 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
635 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, ...
5
votes
3answers
8k 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
857 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
456 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
352 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
6k 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
5k 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?