using the data logger
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- johngh
- Posts: 2
- Joined: Thu Aug 28, 2014 10:23 am
using the data logger
Hi I'm completely new to this. I need to develop a data logger that will log oxygen and co2 levels in a container over a six week period. The unit needs to be self contained and battery operated so power usage is a potential issue. I read an article a while back about using a arduino mini which would operate in sleep mode most of the time and it would presumably be woken up by the logger at set intervals say every hour to take a reading and then go back to sleep. Is this feasilble?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: using the data logger
Sure. All Arduinos can go into sleep mode. Ideally, you would want to have the data logger wake you up, but the datalogger doesn't have any way to do that. You will have to go with a timed sleep in which the Arduino wakes up every 8 seconds, and then immediately goes back to sleep.
The watchdog timer is used to wake the Arduino:
https://learn.adafruit.com/low-power-wi ... down-sleep
Also, see
http://www.google.com/url?sa=t&rct=j&q= ... 5653,d.eXY
Some code is posted here:
http://donalmorrissey.blogspot.com/2010 ... p-via.html
The watchdog timer is used to wake the Arduino:
https://learn.adafruit.com/low-power-wi ... down-sleep
Also, see
http://www.google.com/url?sa=t&rct=j&q= ... 5653,d.eXY
Some code is posted here:
http://donalmorrissey.blogspot.com/2010 ... p-via.html
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: using the data logger
There are various ways to optimize power utilization for long-term logging. This thread covers a lot of that in detail:
http://forums.adafruit.com/viewtopic.ph ... 7&p=235590
Some optimizations are obviously more difficult than others. You will need to weigh the engineering effort vs. other project constraints. If space and budget permit, higher capacity batteries are another option to consider.
http://forums.adafruit.com/viewtopic.ph ... 7&p=235590
Some optimizations are obviously more difficult than others. You will need to weigh the engineering effort vs. other project constraints. If space and budget permit, higher capacity batteries are another option to consider.
- johngh
- Posts: 2
- Joined: Thu Aug 28, 2014 10:23 am
Re: using the data logger
thanks for the prompt response. I'll read the material and revert.
Please be positive and constructive with your questions and comments.