zpukr / esp8266-WindStation

Simply weather station on ESP8266
42 stars 6 forks source link

Value for kc_wind? #5

Closed brian-naylor closed 5 years ago

brian-naylor commented 5 years ago

Hello, Thanks for sharing your code, which looks great and works well. However, I am seeing very large wind readings, far above other readings locally. What values are you using for the kc_wind to adjust its calibration for the Davis 6410?

eg. windimpulse: 12 millis: 3001 7.82 knots windimpulse:11 millis: 3001 7.17 knots windimpulse: 9 millis: 3001 5.86 etc

zpukr commented 5 years ago

I don't know sharp value of kc_wind for you case. You can use any value from 1 to 999. If for kc_wind=1 wind still very large you can modife row: windMS = (float) windimpulse * windPeriodSec*1000 /(millis() - secTTasks) *atoi(kc_wind)/100; to windMS = (float) windimpulse * windPeriodSec*1000 /(millis() - secTTasks) *atoi(kc_wind)/1000;