Skip to content

Instantly share code, notes, and snippets.

View ProfJayHam's full-sized avatar

Jay Ham ProfJayHam

View GitHub Profile
@ProfJayHam
ProfJayHam / HTU_logger_V3
Created November 7, 2015 19:28
HTU21DF data logger program for Arduino R3 and Adafruits datalogger shield
/* HTU_logger_3.ino
RH and Temp data logger for the Arduino using a Adafruits HTU21D breakout board and
datalogger shield
J. Ham, Colorado State Univesity
last revision: 11/05/2015
Desciption: Program gets Temperature and RH from HTU21D sensor at a user-defined
interval (5s default) and saves the result to SD card with time stamp obtained from the RTC.
Also calculates and saves Dewpoint temperature as calculated with user-defined function.
The program waits to start unitl 0 seconds into a 1 min interval.
@ProfJayHam
ProfJayHam / HTU_logger_stat_V1.ino
Created November 7, 2015 19:26
HTU21DF RH and temperature datalogger program (with statistics) for Arduino R3 and datalogger shield
/* HTU_logger_stat_V1.ino
RH and Temp data logger for the Arduino using a Adafruits HTU21D breakout board and
datalogger shield. Includes statistics - averages data over user defined intervals
J. Ham, Colorado State Univesity
last revision: 11/05/2015
Desciption: Program gets Temperature and RH from HTU21D sensor at a user-defined
interval (5s default), calculates averages over a user-defined interval (10 min default),
and saves the result to SD card with time stamp obtained from the RTC.
Also calculates and saves Dewpoint temperature as calculated with user-defined function.
@ProfJayHam
ProfJayHam / weather_station_logger_120313.ino
Created December 4, 2013 18:24
Arduino Sketch for Weather Station V1
/*
weather_station_logger_xxxx13.ino
Jay Ham
Colorado State University
jay.ham@colostate.edu
Weather station data logger Program
Reads and logs all primary weather variables, including:
Air Temperature, Humidity, Wind Speed, Wind Direction, Global Irriadiance, and Precipitation.
Samples sensors every 5 s and stores 5 min statistics on sd card