Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WeatherDuino Pro2 'PLUS' Build
#43

User Options - Global Location

The WeatherDuino station uses your location to tell Cumulus where you are located on earth (via longitude, latitude and elevation), so set it as close to your actual location as you can, within reason.  Also ensure that your elevation is set correctly as it uses this to set the Mean Sea Level pressure correctly.


// --------------------------------------------------------------------------------------
//   Define your Weather Station location
// --------------------------------------------------------------------------------------
#define LATITUDE      -273    // Put here your Station latitude in tenths of degrees North
#define LONGITUDE     1530    // Put here your Station longitude in tenths of degrees (minus for West)
#define ELEVATION     10    // Put here your Station height above sea level in Meters


The latitude and longitude have to be entered into the user options in tenth of degrees (not degrees, minutes & seconds).  If you are located in the northern hemisphere of the earth the latitude will be given as a positive number, and a negative number for the southern hemisphere.  The longitude value will given as a positive number for East and a negative number for West.

Finding Your Location

First up we need to find our location coordinates, and dont worry for now if they are in degrees and minutes, as we'll work on that next.  Here's where Mr. Google will be your friend, and it shouldn't take you too long to get your location co-ordinates.  In the past I've used Elevation Finder at Freemaptools, to find both the location and the elevation in one quick search.  Use simply enter a physical street address and click the find button, then click a pin on the map and your location and elevation will be given within seconds.

Freemaptools Elevation Finder URL:
https://www.freemaptools.com/elevation-finder.htm  

Converting to Decimal

Now that you have your location co-ordinates, you'll need to convert them to decimal if they are in degrees and minutes (as given from Freemaptools Elevation Finder).  The following website makes it pretty quick and easy to do this conversion:

Conversion calculator - degrees, minutes, seconds to decimal degrees
https://data.aad.gov.au/aadc/calc/dms_decimal.cfm

Now that you have your location in decimal degrees, you need to convert it to tenths of degrees.  This simple means move the decimal point one place to the right, and truncate the remainder.  

For example, if your location was:   Latitude -27:22:56 (South),  Longitude 153:03:13  (East)
Convert to decimal degrees:      Latitude -27.382222,   Longitude 153.053611
Convert to tenths of degrees:     Latitude -273,   Longitude 1530

So in the example above, the numbers that we will enter into the User Options are Latitude -273,   Longitude 1530.
Reply


Messages In This Thread
WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 07:04
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 07:54
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 07:56
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 01-01-2017, 08:15
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 08:35
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 08:44
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 10:22
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 01-01-2017, 12:14
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 01-01-2017, 22:20
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 02-01-2017, 00:29
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 02-01-2017, 02:15
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 10:37
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 11:57
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:01
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:03
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 18-01-2017, 12:19
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 18-01-2017, 12:20
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 10:09
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 11:01
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 11:59
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 19-01-2017, 12:03
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 19-01-2017, 22:47
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 21-01-2017, 12:10
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 21-01-2017, 13:22
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 21-01-2017, 20:19
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 21-01-2017, 22:02
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 22-01-2017, 03:44
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 22-01-2017, 13:36
RE: WeatherDuino Pro2 'PLUS' Build - by Zack_ster - 23-01-2017, 11:29
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 24-01-2017, 13:20
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 07:45
RE: WeatherDuino Pro2 'PLUS' Build - by AllanG - 22-01-2017, 13:31
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 21-01-2017, 21:15
RE: WeatherDuino Pro2 'PLUS' Build - by Barrow4491 - 22-01-2017, 02:31
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 22-01-2017, 04:47
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 08:17
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 22-01-2017, 21:46
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 11:13
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 11:30
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 23-01-2017, 12:06
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 24-01-2017, 11:27
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 24-01-2017, 11:39
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:16
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:27
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:38
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 02:53
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 26-01-2017, 03:02
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:31
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:34
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:39
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:42
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 06-02-2017, 10:44
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 07-02-2017, 10:32
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 07-02-2017, 10:40
RE: WeatherDuino Pro2 'PLUS' Build - by Wizza - 09-02-2017, 21:57
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 09-02-2017, 23:58
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 10-02-2017, 12:06
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 10-02-2017, 12:07
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 10-02-2017, 19:33
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 01:25
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 11-02-2017, 04:15
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 04:21
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 09:24
RE: WeatherDuino Pro2 'PLUS' Build - by uncle_bob - 11-02-2017, 10:54
RE: WeatherDuino Pro2 'PLUS' Build - by markkkk42 - 11-02-2017, 11:03
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 24-02-2017, 09:49
RE: WeatherDuino Pro2 'PLUS' Build - by werk_ag - 24-02-2017, 23:48
RE: WeatherDuino Pro2 'PLUS' Build - by hornychz - 24-02-2017, 09:51
RE: WeatherDuino Pro2 'PLUS' Build - by zitoune - 24-02-2017, 17:44



Users browsing this thread: 2 Guest(s)