Wind Speed Sensor 0~5V Voltage Type (JL-FSX2) [S163]
https://www.youtube.com/watch?v=ZmksejqugVs
*GitHub : https://github.com/rdiot/rdiot-s163.git
* Specs
Signal output, Current signal, Pulse signal, Voltage signal, RS485/232 signal
Signal output way: 4 ~ 20 mA, 1.5 / M * S, 0 ~ 5 V, 1 ~ 5 V, RS485/232
Input voltage: DC24V/DC12V/DC5V
Response time: < 1 S
Transmission distance: > 1km
Measurement range: 0 ~ 5 M/S, 0 ~ 30 M/S, 0 ~ 50 M/S ( choose)
Measurement accuracy: Plus or minus 3%
Start wind speed: < 0.6 M/S
Environment temperature: E: -35 ~ 85 C (often-used) L: -55 to 150 C
Level position: + 80 Rotation, with a hammer, automatically adjust the horizontal position
Potential lead: Three wire or two wire
Material: Aluminum alloy, the surface waterproof, prevent corrosion treatment.
Other matters: Optional configuration RS485 communication output or RS232 output
* Content
- Connect
LH (GND), RH(VCC) <- External VCC 9V~
RB (Volate) -----> A0
LH GND -----> Arduino GND
- Key Code
int sensorValue = analogRead(A0);
float outvoltage = sensorValue * (5.0 / 1023.0);
int Level = 6*outvoltage;//The level of wind speed is proportional to the output voltage.
lcd.print("wind speed " + (String)Level + " Level");