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
#2

Hi Andy,

Indeed, the definitions for anemometer type 22 are missing. Your changes are correct and will be added on next software releases.
As much as I know the Inspeed anemometer with a read switch have the same characteristics of the model equipped with an hall sensor, so using the same definitions is correct.
Thank you.

Werk_AG
Reply




Users browsing this thread: 1 Guest(s)