Wind Sensor rev C zero wind adjustment
Posted: Tue May 31, 2016 5:57 pm
I have tried to adjust the "const float zeroWindAdjustment = 0.2;" to get 0.0 mph. With the sensor covered by a "glass". I get "nan mph" for a value. What am I doing wrong? I am using the sketch as written with the following commented out:
/* Serial.print(" TMP volts ");
Serial.print(TMP_Therm_ADunits * 0.0048828125);
Serial.print(" RV volts ");
Serial.print((float)RV_Wind_Volts);
Serial.print("\t TempC*100 ");
Serial.print(TempCtimes100 );
Serial.print(" ZeroWind volts ");
Serial.print(zeroWind_volts); */
/* Serial.print(" TMP volts ");
Serial.print(TMP_Therm_ADunits * 0.0048828125);
Serial.print(" RV volts ");
Serial.print((float)RV_Wind_Volts);
Serial.print("\t TempC*100 ");
Serial.print(TempCtimes100 );
Serial.print(" ZeroWind volts ");
Serial.print(zeroWind_volts); */