Go Down

### Topic: Wind Speed Sensor (Read 226 times)previous topic - next topic

#### ffoss

##### May 24, 2018, 12:21 am
I have an Wind Speed Sensor that produce an square pulse signal at 1 V output. The output is not an PWM signal, but it change its frequency according to the speed of the "rotor" (but always 1 V). I have hooked up the sensor to an oscilloscope and a frequency counter. The values is from 3 Hz up to 150 Hz, or even more at full speed.
The supply voltage for the unit is 9V.

Is it possible to hook this up to an Arduino and get out some values that can be used to calculate the wind speed in knots or m/s? Do I need some additional circuits?

BR Frode

#### MAS3

#1
##### May 24, 2018, 12:39 amLast Edit: May 24, 2018, 12:40 am by MAS3
Sure.

I don't think 150 Hz is too fast to handle.
I'd use a transistor (and a few accompanying components) to amplify the signal, and put it into an input that can generate interrupts.
You'd have to learn how to handle such interrupts correctly, a lesson that consists of multiple layers.
If this is your 1st experience with Arduino (and the like), this would form a bit of a steep learning curve.
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

#### outsider

#2
##### May 24, 2018, 02:23 am
Did you get an instruction sheet with it? If not, can you post a link to the seller's page or the brand name and part number? Be very careful that the 9V from the power supply does not get through to Arduino input pins.

#### jremington

#3
##### May 24, 2018, 02:37 amLast Edit: May 24, 2018, 02:41 am by jremington
You can use the built in analog comparator to read that signal. Good short tutorial here.

If the sensor is not already calibrated in terms of pulse frequency -> knots, m/s or miles per hour, a good way to calibrate it is to attach it to a vehicle, and on a wind still day, drive at various speeds, recording the output.

#### wvmarle

#4
##### May 24, 2018, 05:41 am
What irks me is that 1V output, it feels odd. I would expect either 9V (the supply voltage) or an open collector output requiring external pull-up. Do you have a data sheet of this sensor?

150 Hz is no problem for an Arduino, but you may want to connect an interrupt to make sure you don't miss pulses.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up