background preloader

Sleeping Arduino - Part 5 Wake Up Via The Watchdog Timer

Sleeping Arduino - Part 5 Wake Up Via The Watchdog Timer
OverviewWelcome to the fifth and final part of the "Sleeping Arduino" series, where we will cover how to wake the Arduino from sleep mode using the Watchdog Timer (WDT). When waking your Arduino from sleep, you could use one of the standard internal timers of an Arduino as I have detailed in Part 4, but if you are looking for the maximum sleep time and/or minimum sleep power consumption, you have the use the WDT;As I have mentioned in this table, the WDT can give us a sleep time of 8 seconds, whereas the 'longest' 8/18bit timer will only give us a sleep time of ~4 seconds.Watchdog Timer (WDT)The Watchdog Timer on the Arduino's microprocessor only has one source to drive it: it's own separate internal 128kHz oscillator (as opposed to the 8/16bit internal timers, which can use either the 16Mhz system clock or an external clock). The WDT also has a prescaler, which is used to configure the timeout period. It supports timeout periods from 16ms to 8 seconds: All parts of this series:

Related:  ARDUINORéduction consommation

» Home automation » JeeLabs After two new output plugs, here’s one for input – a dual Opto-coupler: The idea is simple: feed it 5..50 mA of the proper polarity, and the other side can be read out by a JeeNode without any electrical contact. As the name says: light is used to remove the need for a galvanic connection. Sleep Modes on ATTiny85 When using microcontroller in battery-based applications we really need to look at current consumption. This will affect the power consumption and hence the lifetime of the device. This post shows some tests I performed to try and reduce the current consumption of an ATtiny85 AVR microcontroller using sleep modes and switching off various aspects of the IC when they are not required. The test results and code for th Arudino IDE is shown here. I needed a test circuit to check both the correct functioning of the different inputs and outputs and also for comparison of the current consumed when using different power modes.

Homeduino : E/S pour la Domotique via Box Bonjour à tous, Alors je vais vous présenter l'un de mes petit projet.Il n'est pas très compliqué mais je suis sûr qu'il pourra servir à certain. Préambule :Je remercie avant tout, tous les personnes qui ont pu contribuer à l'avancement de mes projets. Je pense particulièrement à Skywodd pour son blog ( très riche .

Test comparatif de la consommation électrique à vide de diverses cartes Arduino et compatible par skywodd | | Licence (voir pied de page) Catégories : Tests Dossiers | Mots clefs : Arduino Genuino Consommation électrique Comparatif Cet article a été modifié pour la dernière fois le Dans ce dossier, nous allons mettre sur le banc de test une trentaine de cartes Arduino officielles et compatibles pour voir quelles cartes consomment le plus et le moins de courant à vide.

[Arduino] Lecteur RFID à écran lcd, avec stockage du tag « valide  en EEPROM externe I2C Bonjour tous le monde ! Aujourd’hui je vous ai préparé un petit « projet tutoriel » bien sympa ! /!\ Sketch Arduino pour l’ide 0023 (ou plus ancien) – ne compilera pas sous Arduino 1.0 à cause des changements dans la librairie Wire /!\

Gammon Forum : Electronics : Microprocessors : Power saving techniques for microprocessors Summary In this thread I show various power-saving techniques for the Atmega328P processor. They include sleep modes, use of power-reduction registers, and other techniques. Applying all of them can result in a current draw as low as approximately 100 nano-amps (100 nA), well below the self-discharge rate of most batteries. How to Run an Arduino for Years on a Battery - Open Home Automation If you found this article after doing a search on Google, welcome! On this website you will find plenty of content around DIY home automation using open-source hardware. Enjoy the article! For most of the Arduino tutorials you will find on this website, power is usually not an issue as the Arduino is powered by the USB cable coming from the computer.

1.8 TFT screen and arduino pro mini box by krokus57 This is an enclosure form my wifi push clock for time and weather display. Parts: chip ESP8266 wifi module (with 3$ custom firmware, it realy great!) 1.8 TFT display Any PC or Raspberry PI as data source. Lightweight Low Power Arduino Library We have just release the 1st revision of our low power library for Arduino. This is a simple and easy to use library that has the following features: Supports all sleeping mode of ATmega328P: Idle.ADC reduction mode.Power save.Power down.Standby.Extended standby.Selectable sleep duration: 15 ms, 30 ms, 60 ms, 120 ms, 250 ms, 500 ms, 1 s, 2 s, 4 s, 8 s, and forever (wake up using other resources) through on chip 125 kHz Watchdog timer. Using sleeping forever duration, the Watchdog timer module is not in use and will further reduce the current consumption by approximately 4 µA.Option to shutdown Analog to Digital Converter (ADC) module to further reduce current consumption.Option to disable Brownout Detector (BOD) module to further reduce current consumption by approximately 17 µA. BOD module cannot be disabled through software in idle and ADC noise reduction mode.

8+ jQuery 360 Degrees Image Display Plugins Just like “panorama” these jQuery 360 degrees Image Display Plugins amazingly can display a 360 degree view of your object/landscape from all angles. (hey – it’s definitely more fun to look at stuff from all the angles!). No Flash player required, this is all done with JavaScript & jQuery. Most of them require a 36 image collation of the main angles of your object/landscape, once you have that it’s easy as pie. Enjoy! 360 image capture by roxen The project This is a simple Arduino project for creating multiple images of a of an object, suitable for product displays and similar. It uses a simple program to rotate the product platform and to control the camera.