|
Post by petecress on May 31, 2017 11:45:15 GMT -8
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?
|
|
|
Post by SDL on May 31, 2017 12:51:02 GMT -8
|
|
|
Post by petecress on Jun 5, 2017 13:08:29 GMT -8
|
|
|
Post by SDL on Jun 5, 2017 13:39:05 GMT -8
No, that will work just fine. You didn't mention you had a weather board. That has the connectors.
BP
|
|
|
Post by petecress on Jun 5, 2017 16:44:22 GMT -8
No, that will work just fine. You didn't mention you had a weather board. That has the connectors. BP But where are the docs? Just guessing, but I would think that all I need is something telling me which pins on the board to connect to which pins on the Pi.
|
|
|
Post by SDL on Jun 6, 2017 5:03:14 GMT -8
|
|
|
Post by petecress on Jun 6, 2017 7:24:00 GMT -8
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?
|
|
|
Post by SDL on Jun 6, 2017 10:45:59 GMT -8
Pete, 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. BP
|
|
|
Post by martin on Nov 22, 2020 22:19:57 GMT -8
I can't find these boards in South Africa what is the alternatives:
Grove I2C 4Ch/16Bit ADC
I2C 4 Slot Expander
And how do you connect it up to a raspberry pi.
Thanks.
|
|
|
Post by SDL on Nov 24, 2020 15:42:43 GMT -8
Order them from shop.switchdoc.com and we will ship to South Africa.
Order a Pi2Grover board too and some 20cm Grove cables.
BP
|
|
|
Post by martin on Nov 25, 2020 0:40:37 GMT -8
Shipping cost makes it almost unaffordable :-( $47 for kit and $52 for shipping
|
|
|
Post by SDL on Nov 28, 2020 9:36:45 GMT -8
Bummer! That is a horrendous shipping charge!
BP
|
|