I suppose this is embedded in the solar-powered weather station project, but I'm hoping to find the basic info for connecting an anemometer/vane to the board, connecting the board to a Pi, and finding some sample Python code for reading the outputs without wading through the weather station project.
Seems like it should be a page or two max.
My agenda: Connect an anemometer and wind vane to a Pi, read the output of each, and write .txt files to a file share.
Looks like the anemometer daisy-chains into the wind vane, and the wind vane connects to one of the RJ11 receptacles on the board.
That seems to leave:
Delivering power to the board from the Pi .
Connecting the board's output to the Pi .
Finding some sample Python code to parse the board's output.
Is there any hope here?
Last Edit: May 31, 2017 11:57:40 GMT -8 by petecress
OK, it's finally starting to soak in; and I think I've got the power part down - JP1 GND/GND VDD/3.3v.
But I am still struggling with the JP2 - WeatherOut part.
- WindVane-wise it sounds like "Connect to A/D Input on Arduino. N/C for Raspberry Pi. Use an external ADC for Raspberry Pi (such as the Optional ADS1015 or the SwitchDoc Labs Grove ADS1115 16 bit board)" means that I need an Analog-to-Digital converter board - making it required and not optional.... Have I got it right?
- Anemometer-wise, it seems pretty clear that JP2/3 is the output, but where does it connect to on the Pi's GIPO header?
Last Edit: Jun 6, 2017 7:24:27 GMT -8 by petecress
You are starting to ask questions about your exact design. Which we don't know much about.
Yes, you need to use an external ADC for the Raspberry Pi (like our Grove 4 channel 16 bit ADC). The Raspberry Pi has no good way of doing this (you can use an RC network and timing to get about 8 bits, if you are clever). BTW, your wind vane may behave nothing like the wind vane in the WeatherRack. Different resistors and a different network.
You connect the anemometer to the GPIO of your choice and adjust the software to reflect that.