Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
All topics »
If you cannot use the ReCaptcha to verify you are not a bot, use this alternative verification.
As an open source community, we believe in open licensing of content so that other members of the community can leverage your work legally -- with attribution, of course. By joining the Public Lab site, you agree to release the content you post here under a Creative Commons Attribution Sharealike license, and the hardware designs you post under the CERN Open Hardware License 1.1 (full text). This has the added benefit that others must share their improvements in turn with you.
sign up to join the Public Lab community
Forgot your password? Reset it here
by warren |
March 07, 2018 14:47 |
I'm hoping to get a simple wind sensor together for classroom kite logging with the #aren project.
I know @cfastie has done some great work on the #as220 wind sensor here, based on the Mini Pearl Snap kit:
Wind sensors series
And perhaps connected to this question: https://publiclab.org/questions/warren/09-30-2017/how-do-we-get-data-off-of-different-wind-sensors
@cfastie, what do you think? The AREN folks are asking us for some that'd be relatively quick to plug in and start logging on a kite, that could be used in a classroom workshop. I guess the P sensor is the right one, no?
Is this a question? Click here to post it to the Questions page.
Reply to this comment...
Log in to comment
It’s fairly straightforward to use the Modern Device Wind Sensors with either a Mini Pearl Logger or a Nano Data Logger. I had great success with the Rev. P sensor.
For the Rev. P sensor these two lines are all you need:
int windADunits = analogRead(OutPin);
float windMPH = pow((((float)windADunits - 264.0) / 85.6814), 3.36814);
Powering the Rev. P wind sensor is a little unusual. It requires 8 to 12 volts (not sure of the range). So the typical batteries I use for data loggers (3 or 4 AA or AAA) will not work. I powered the Arduino with a 9 volt battery and powered the wind sensor directly from the battery (or from the power input pin on the Arduino). Both the Arduino Nano and Pro Mini can be powered with 9 volts (they have voltage regulators).
A Mini Pearl Snap Logger will require a little extra soldering to get power from a 9 volt battery and also power the Rev. P. It will also be a bit more work to build compared to plugging the Nano into the Nano data logging shield.
I found the wind speed data from the Rev. P to be a little noisy, so my next attempts will probably incorporate some averaging. I will read the wind sensor output maybe 20 times in 5 seconds and take the average.
The first two times I tried the Rev. P wind sensor, I also tried the Rev. C sensor. The Rev. C sensor did not work as well as the Rev. P, so I focused on the Rev. P afterwards. Although I never got the Rev. C sensor to work well, that was probably user error. There are some good reasons to consider the Rev. C sensor, especially for student projects.
Another consideration for student projects is to include other sensors in the payload. A record of wind speed for a kite flight becomes more interesting and educational if there are simultaneous records of other variables. A BME280 sensor provides very good information about air temperature, humidity, and barometric pressure. Barometric pressure is an excellent proxy for altitude, and temperature and humidity vary with altitude in predictable ways because science.
This is part of: