Electronic Components Datasheet Search
  English  ▼

X  

DEV-13956 Datasheet(PDF) 9 Page - SparkFun Electronics

Part # DEV-13956
Description  Arduino Weather Shield Hookup Guide V12
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SPARKFUN [SparkFun Electronics]
Direct Link  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

DEV-13956 Datasheet(HTML) 9 Page - SparkFun Electronics

Back Button DEV-13956 Datasheet HTML 5Page - SparkFun Electronics DEV-13956 Datasheet HTML 6Page - SparkFun Electronics DEV-13956 Datasheet HTML 7Page - SparkFun Electronics DEV-13956 Datasheet HTML 8Page - SparkFun Electronics DEV-13956 Datasheet HTML 9Page - SparkFun Electronics DEV-13956 Datasheet HTML 10Page - SparkFun Electronics DEV-13956 Datasheet HTML 11Page - SparkFun Electronics DEV-13956 Datasheet HTML 12Page - SparkFun Electronics DEV-13956 Datasheet HTML 13Page - SparkFun Electronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 26 page
background image
byte seconds; //When it hits 60, increase the current minute
byte seconds_2m; //Keeps track of the "wind speed/dir avg" ove
r last 2 minutes array of data
byte minutes; //Keeps track of where we are in various arrays
of data
byte minutes_10m; //Keeps track of where we are in wind gust/d
ir over last 10 minutes array of data
long lastWindCheck = 0;
volatile long lastWindIRQ = 0;
volatile byte windClicks = 0;
//We need to keep track of the following variables:
//Wind speed/dir each update (no storage)
//Wind gust/dir over the day (no storage)
//Wind speed/dir, avg over 2 minutes (store 1 per second)
//Wind gust/dir over last 10 minutes (store 1 per minute)
//Rain over the past hour (store 1 per minute)
//Total rain over date (store one per day)
byte windspdavg[120]; //120 bytes to keep track of 2 minute av
erage
#define WIND_DIR_AVG_SIZE 120
int winddiravg[WIND_DIR_AVG_SIZE]; //120 ints to keep track o
f 2 minute average
float windgust_10m[10]; //10 floats to keep track of 10 minut
e max
int windgustdirection_10m[10]; //10 ints to keep track of 10 m
inute max
volatile float rainHour[60]; //60 floating numbers to keep tra
ck of 60 minutes of rain
//These are all the weather values that wunderground expects:
int winddir = 0; // [0­360 instantaneous wind direction]
float windspeedmph = 0; // [mph instantaneous wind speed]
float windgustmph = 0; // [mph current wind gust, using softwa
re specific time period]
int windgustdir = 0; // [0­360 using software specific time pe
riod]
float windspdmph_avg2m = 0; // [mph 2 minute average wind spee
d mph]
int winddir_avg2m = 0; // [0­360 2 minute average wind directi
on]
float windgustmph_10m = 0; // [mph past 10 minutes wind gust m
ph ]
int windgustdir_10m = 0; // [0­360 past 10 minutes wind gust d
irection]
float humidity = 0; // [%]
float tempf = 0; // [temperature F]
float rainin = 0; // [rain inches over the past hour)] ­­ the
accumulated rainfall in the past 60 min
volatile float dailyrainin = 0; // [rain inches so far today i
n local time]
//float baromin = 30.03;// [barom in] ­ It's hard to calculat
e baromin locally, do this in the agent
float pressure = 0;
//float dewptf; // [dewpoint F] ­ It's hard to calculate dewpo
int locally, do this in the agent
float batt_lvl = 11.8; //[analog value from 0 to 1023]
float light_lvl = 455; //[analog value from 0 to 1023]
// volatiles are subject to modification by IRQs
volatile unsigned long raintime, rainlast, raininterval, rain;
Page 9 of 26



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com