2021-03-14, 10:16 PM
(2021-03-01, 07:22 PM)Sailoog Wrote: This is the connection scheme of the Davis anemometer for Arduino. If you want to use it in Raspberry YOU MUST USE 3.3V INSTEAD OF 5V:
You can connect "Wind speed" to any GPIO of your raspberry and use the next version of openplotter-gpio app to set a signal k key for wind speed. You should use the pull-up resistor too.
"Wind Direction" is a little bit complex because that is an analogue output (0-3.3V) and Raspberry has not analogue inputs. You have to use an analogue to digital converter. If you use the ADS1115 chip you can set wind direction using the openplotter-i2c app.
This is all ready in the MacArthur HAT, just plug and play.
Thank you for sharing this! I wonder if the new Raspberry Pi pico (which has analog inputs) may be another solution for the wind direction.