Parts Ordered

I have finally ordered the parts I wanted. ModMyPi was cheapest for most of the parts, some of the parts were sourced from Pimoroni, who have already shipped my order.

The Micro SD card and adapter, I sourced from Amazon. Decided to go for 32gb card (MB-MPBGCAEU), so the database can expand as much as it likes. Incidently, I read somewhere and for the life of me, I can’t find the article about the NOOBS card from the RP Foundation. That Samsung cards offer the best random access figures, hence why I have opted for the Samsung card, hopefully it will work. It looks awfully like the card that ModMyPi sells.

I do want one of these keyrings.

Charting Libraries

I have been trying to find a decent charting library for displaying the information gathered, but I’ve not been totally successful. Rickshaw was a library I really liked the look of, but it looks like I will use Grafico and build that into the bootstrap front end.

Raspberry Pi did tweet the following

Which is nice, I do want to make the sensor data available, via either a sql dump or php query into a comma or tab delimited format, the idea of having to port it all into Plotly through the api is something I might look at eventually but at the moment, it’s outside the scope of the project.

Anemometer N96FY

I have purchased the N96FY Anemometer from Maplin Ebay store for the tiny price of £2.49 +delivery (£3). You can purchase then through the main Maplin web site if you don’t want to go via Ebay.

It rotates very easily and seems extremely sensitive to even the slightest breeze. The anemometer has two reed switches in the unit, both pulse during 1 revolution. There is only 2 wires coming from the unit, so you can’t sense the reed switches separately. The radius is 70mm measured from the centre of the spindle to the centre point of the cup. A nice round number to work with. As a side note the mounting piece at the bottom is 18.5mm diameter (outside measurement).

Anemometer-base-N96FY

Working out the circumference

The equation is C = 2πr. I take pi(π) as 3.142 and convert radius(r) to metres, because I want to measure my wind speed in metres per second. So radius(r) becomes 0.07 metres. Therefore:-

0.43988 (circumference m) = 2 x 3.142 (pi π) x 0.07 (radius r)

So we can round this to 0.44 metres for the circumference. So 2.72 revolutions per 1 metre per second of wind speed. Which is just over 4.54 reed pulses.

Conversion to other measurements

So it turns out the official unit of wind speed is the Knot (who knew?). I am not terribly bothered about measuring in Knots, since it’s a unit that has little meaning to me, but the Knot wikipedia entry does provide conversion to other units of wind speed.

Knot-Conversion-Table

 So conversion to other units is pretty simple, just a matter of applying a multiplier, which should be easy enough in the php code.

Anemometer-N96FY