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

Inspeed wind speed sensor (Reed switch) code
#1

As I’m at home at lot now I can spend some time improving my setup, I recently purchased an Inspeed pair for wind speed and direction, the speed sensor is the reed switch model, so I specify according to this, Use 22 for Inspeed Vortex, read switch sensor.
#define WINDSPEED_SENSORTYPE 22
But I get a compilation error, 'FORM_FACTOR' was not declared in this scope
It looks to me like I need to add the following code
 
  #if (WINDSPEED_SENSORTYPE == 22)   // Inspeed Vortex Reed Sensor : Speed Pulse/sec 2.5 mph = 1.1176 m/s
    #define ClickPerRev  1
    #define FORM_FACTOR  1.1176
  #endif
If I do it compiles ok, but want to be sure the calibration is the same for the reed switch version as the Hall sensor version.
 
I’m using WeatherDuino_Pro2_Universal_TX_v7.0_b002
 
Thanks Andy
Reply


Messages In This Thread
Inspeed wind speed sensor (Reed switch) code - by atbukc - 29-03-2020, 11:02
RE: Inspeed wind speed sensor (Reed switch) code - by werk_ag - 29-03-2020, 22:10



Users browsing this thread: 1 Guest(s)