Examples of Datalogging on Arduino
Arduino HTML CSS JavaScript
Latest commit 9cecb00 Feb 28, 2016 @tigoe added RTC Interval logger
Failed to load latest commit information.
Citizen_Cyberscience_summit_2012 Updated examples Feb 27, 2016
Columbia_Brown_Center_2016 added RTC Interval logger Feb 28, 2016
javascripts Create gh-pages branch via GitHub Feb 25, 2016
README Updated URL in readme Feb 18, 2012
params.json Create gh-pages branch via GitHub Feb 25, 2016


There are several ways to save data from a sensor attached to an Arduino.  If you're connected to a personal computer, you can simply send the data from the Arduino to the personal computer serially, and save it to a file.  If you've got an SD card attached to the microcontroller, you can save the data to the card. Or, if you have access to the internet and a device that can connect to a server, you can save the data to a server. In these, you'll read a DHT11 temperature and humidity sensor and log data in three ways:

* Serial transmission to a personal computer, and serial capture to a file.
* Saving data to an SD card mounted on the Arduino
* HTTP upload to pachube.com via an Ethernet shield or Ethernet Arduino.

For a full tutorial see http://www.tigoe.net/pcomp/code/?p=1043