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

8 point wind direction
#3

Thanks for that, Ive updated the INI file and deleted the first 2 days of data.

As for the resistors there is only 4 resistors with 4 read switches to give 8 points of reference as opposed to others with 8 resistors and 8 read switches to give 16 points. I believe this sensor is a fine offset one but the resolution is that of 8 points. I was hoping to do some changes in the software but not 100% on that. I was looking at the following lines:

// --- Vane -----------
const int vaneValues[] PROGMEM={66,84,92,127,184,244,287,406,461,600,631,702,786,827,889,946};
const int vaneDirections[] PROGMEM={1125,675,900,1575,1350,2025,1800,225,450,2475,2250,3375,0,2925,3150,2700};
#ifdef Local_TestMode
const char vaneDirectionsText[16] [4] = {"N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"};
String winddr;
#endif
unsigned int WindDir;

Can anything be changed here?
Reply


Messages In This Thread
8 point wind direction - by zipidy66 - 10-05-2015, 04:41
RE: 8 point wind direction - by werk_ag - 10-05-2015, 05:42
RE: 8 point wind direction - by zipidy66 - 10-05-2015, 06:17
RE: 8 point wind direction - by werk_ag - 10-05-2015, 19:49



Users browsing this thread: 1 Guest(s)