This commit is contained in:
Your Name
2025-03-12 17:55:30 +01:00
parent d57a47ef68
commit 14044a8856
4 changed files with 99 additions and 3 deletions

View File

@@ -11,13 +11,13 @@ https://www.shapemaker.io/blog/wind-speed-measurements-with-anemometer-and-a-ras
Connexion:
black (wind speed ) -> gpio21
green (wind direction) -> gpio20
green (wind direction) -> ADS1115 (module I2C)
Yellow -> 5v
RED -> GND
Attention: The Raspberry Pi doesn't have analog inputs, so we need an analog-to-digital converter (ADC) to read the wind direction.
/usr/bin/python3 /var/www/nebuleair_pro_4g/windMeter/read_wind_speed.py
sudo /usr/bin/python3 /var/www/nebuleair_pro_4g/windMeter/read_wind_speed.py
'''