Go Down

Topic: Arduino working for months (Read 291 times) previous topic - next topic

zaxarias

#15
Apr 15, 2015, 09:42 am Last Edit: Apr 15, 2015, 09:44 am by zaxarias
still in sleep mode the mini with the gsm on it will need enough power..
The mini no, GSM yes..

Quote
but i am not sure if we can power off completely the official gsm i have
You can't completely powet it off.. The best you can do is use the shutdown() function to power the modem off.. Still you will have some power consumption on idle (leds etc)..

..Lm35 uses only ~158uA on idle..
z.p

Nick Gammon

Question If we do this:(Got it from here: http://forum.arduino.cc/index.php?topic=173850.0)

Code: [Select]
  // sleep for a total of 20 seconds
  myWatchdogEnable (0b100001);  // 8 seconds
  myWatchdogEnable (0b100001);  // 8 seconds
  myWatchdogEnable (0b100000);  // 4 seconds


Does it get out of sleep between the calls?  :smiley-sad-blue:
Yes. The maximum with the watchdog timer is 8 seconds. However if you immediately go back to sleep it doesn't use much power.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Nick Gammon

#17
Apr 15, 2015, 10:52 pm Last Edit: Apr 15, 2015, 10:52 pm by Nick Gammon
Have you read my page about power?

http://www.gammon.com.au/power


I made a temperature sensor that has an onboard clock, and writes to an SD card. This has been running on the same 3 x AA batteries now since I made it (August 2013).

The page about the sensor describes how you can keep power consumption to a minimum.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy