Easy-to-use, flexible data-logger sketch optimized for battery life

Datalogshield Lrg

Easy-to-use, flexible data-logger sketch optimized for battery life. toddh writes -

I have developed an easy-to-use, flexible sketch for use with Adafruit’s Logger Shield (project page, or buy one here).

Features:

  • Optimised for battery life by utilising the ATmega’s power down sleep mode. This extends battery life by many times… I can now run my data logger on a single 9V NiMH battery and keep it topped up with a solar panel.
  • Any number of analog pins
  • Any time step
  • Provides for sensor calibration using a simple linear model (i.e. to convert from analogRead value to whatever you want)

You can download it here. It currently does not handle digital inputs, but this would be easy to change. Please let me know if you use it and/or can think of any improvements. Enjoy!

Filed under: arduino — by adafruit, posted January 28, 2011 at 8:48 am


Try Adafruit's new iPhone & iPad app for makers! Circuit Playground! "Incredibly handy for anyone working in electronics. Perfect for engineers and non-engineers alike."
Looking for engineers, makers and the builders of dreams? Try our Adafruit job boards.
Join our weekly Adafruit SHOW-AND-TELL at 9:30pm ET every Saturday night! Then at 10pm, ASK-AN-ENGINEER with Ladyada and the Adafruit team!

1 Comment

  1. Does this work with the GPS/datalogger shield as well?

    Comment by Ranger 9 — January 28, 2011 @ 11:23 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool