background preloader

Gammon Forum : Electronics : Microprocessors : Power saving techniques for microprocessors

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. Proof from the datasheet for the Atmega328P (page 405 of my copy): That is 100 nA at at 25°C running at 3v. These techniques would be useful for battery-powered devices where the full power of the processor was only required intermittently, for example a TV remote, calculator, doorbell, or some sort of environmental monitor where you only needed to check things from time to time. Introduction I am going to explore various power-saving options for running your project, presumably from battery power. These examples are specifically for the Atmega328P processor, but the techniques are pretty general. Summary of methods Baseline - Arduino Uno Sketch A Sketch B Bare-bones board.

http://www.gammon.com.au/forum/?id=11497

Related:  Power ConsumptionRéduction consommation

Tout ce que vous pourriez vous demander sur la consommation d'une puce ATmega328p (puce d'Arduino) Consommation d'un Arduino, et optimisation d'un montage à base de ATmega328PJe vous propose ici un résumé d'un excellent article que j'ai lu sur le net. Je tiens avant tout à dire que tout ce que je vais présenter ici provient du travail de Nick Gammon, sur le lien ci dessous :Sur cette page de Nick Gammon, se trouve un post d'immense qualité sur la consommation des ATmega328P, et les moyens d'optimiser celle ci.Si vous comprenez l'anglais, allez plutôt lire l'original, et au pire gardez le lien vers ce résumé pour les tables, et formules L'auteur y mène une investigation poussée sur ce que consomme un Ardruino, puis surtout un ATmega328P sur une breadboard. Bien sur, le Arduino consomme plus que la version breadboard.

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. However, sometimes you want to build systems that are going to be autonomous and powered by a battery. For example, you want to power the wireless motion detector just by using a set of batteries. Arduino Low Power - How To Run ATmega328P For a Year On Coin Cell Battery An Arduino Uno runs less than one day on a 9 V battery because it uses about 45 mA current. Using an Arduino Pro Mini, with a simple modification, the power consumption goes down to 54 μA (0.054 mA) with the 3.3 V version or 23 μA (0.023 mA) with the 5 V version, in power-down sleep. That is 4 years on a 9 V battery with 1,200 mAh capacity or 2,000 times more efficient than the Arduino Uno. After removing the voltage regulator, the power consumption is only 4.5 μA for the 3.3 V version and 5.8 μA for the 5 V version, in power-down sleep.

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. Il sera ainsi possible de déterminer les cartes parmi celles testées qui seront les plus adaptées pour une utilisation dans des montages fonctionnant sur batterie. Sommaire

Adventures in Low Power Land Skill Level: Intermediate by Nate | August 09, 2011 | 32 comments I was working on a project called BigTime where low power operation was a necessity. Here's a tutorial to show you some of the tricks I found to get the power consumption down to about 1uA (that's micro, not milli = 0.000001A). I'm pretty sure rubbing your fingers together produces more heat energy than 1 microamp. My overall goal was to get an ATmega328 to go to the deepest sleep possible, waking up only with an external INT button interrupt or with a 32.768kHz TMR2 overflow interrupt (for an RTC). 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.

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.

[Résolu] Alimentation arduino batterie rechargée en solaire En ce qui concerne la batterie, je ne me fais pas trop de soucis, elle peut parfaitement délivrer quelques ampères. Là ou je m'inquiète plus, c'est pour ta petite plaque qui va charger la batterie et faire le 5V. Je vois très mal cette plaque délivrer 2A... elle ne va pas du tout supporter. En revanche, on y regardant de plus prêt, on voit que ton shield possède un module GSM M10E-04-NCH-STD. D'après sa datasheet, il peut s'alimenter entre 3.3 et 4.6V avec une tension préférée de 4.0V. 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.

Related: