Saturday, February 13, 2016

Clouds + Home Brew Weather Station (Part 3)

Interesting (to me anyway) mix of clouds spotted yesterday:

DSCN5845

DSCN5847

Today has been grey all day. As the wind is now coming from the East it has felt bitterly cold.


The home brew weather station is still evolving. I spotted a barometric pressure sensor suitable for use with the Arduino and other similar computers. After a hassle with the Arduino IDE not liking the library for it I had to update to the latest version of the IDE (used on the computer for writing the program / instructions / sketch). So far to check the sensor works I have it sending its readings back to the computer for display. As always I found out how to program it by searching the internet. What would I do without it?

Screen Shot 2016-02-13 at 15.24.15

The sensor is tiny, slightly smaller than my thumb nail and a steal at £2.56 (about $3.70). Next will be to add an OLED type display to show the pressure and it will also enable me to show the humidity readings. That's the theory anyway.

There was a strange glitch with the 7 segment displays. The top one kept going blank. Still not sure why. The driver chip can send the display to sleep to save power so that may have been happening at various intervals. It shouldn't as I send a command to wake it up at the start of the program. Then it is supposed to stay awake unless told to sleep. Anyway I added a further wake up instruction every time the display is updated. It's been running on a soak test for nine hours and so far it has displayed everything properly so that will have to do for a cure.

Thursday, February 11, 2016

Home Brew Weather Station (Part 2)

I had a change of mind with the display. For me not only the immediate temperature is of interest but so are the maximum and minimum temperatures.

First thought. With a bit of extra coding and rearranging the display I came up with:

DSCN5835

Top left, immediate temperature.  Top right immediate percentage relative humidity.
Bottom left, maximum temperature, Bottom right, rainfall in mm.

DSCN5837

Switched so the bottom left shows minimum temperature.
I put the sensor in the top of a freezer to check it showed negative temperatures OK.

Further thought. Do away with the humidity reading:

DSCN5838

Now I have:
Top left, immediate temperature, Top right, total rainfall in mm
Bottom left, maximum temperature. Bottom right, minimum temperature.

Finally:
DSCN5842

I am quite pleased with the final layout. The whole thing draws less than 80mA.
Once cased the unit will have buttons to reset max / min temperature and rainfall. On my old home brew rain gauge I reset the count at the beginning of each month and I would probably want to reset max / min temp daily.

Wednesday, February 10, 2016

Tuesday, February 9, 2016

Home Brew Weather Station (Part 1)

I've been working on my home brew weather station based around an Arduino Uno R3. It will measure and display outside temperature in Celsius, percentage relative humidity and rainfall in millimetres.

Temperature and humidity are detected with a DHT22 module:
DSCN5828

Rainfall will be measured with a tipping bucket:
DSCN5827

Inside the box is the tipping bucket so designed that water entering fills the high side of the bucket. That causes the seasaw to flip emptying that side and presenting the other side to collect more water:
DSCN5822

The number of flips is detected with a magnet and a reed switch. This bucket had failed, as they often do after a lot of use. It would appear the reed switch, which consists of two short metal bars which bend and close the contact when a magnet is close, becomes weak and the contact is not made or the contacts become corroded somehow and again stop the contact being made.

This is the original reed switch in place with a replacement next to it:
DSCN5806

Originally the reed switch was placed so it made contact briefly as the magnet passed it but that was no use for what I wanted so I offset the new one so it closes when the bucket is in one position and opens when the seasaw tips over:
DSCN5809

Here you can see the positions of the reed switch and the magnet when closed:
DSCN5813

and when open:
DSCN5812

Finally the display which uses two 8 digit 7 segment LED displays:
DSCN5824

Top left Temperature in Celsius, top right relative percentage humidity.
Bottom row rainfall in millimetres. The programming for the rainfall got a little complicated as the rain gauge apparently makes 3 tips for each mm of rainfall but I got there in the end.

Next job is to box the workings and wire it all up.

Monday, February 8, 2016

Monday Mystery - Guess What

Mystery

STAR02

OK. Last week's mystery photo brought out some interesting guesses. It could well have been the top of a thermos flask but in fact Adrian hit the nail on the head ... it was a close view of a light / lamp / bulb socket. Wilma also mentioned light socket but wondered where the contacts were. I kept them out of view! It is  heatproof ceramic socket for Edison screw bulbs. Anyway they both deserve my congratulations and the virtual Midmarsh Gold Star.

DSCN5794    DSCN5795

I did have another close shot for this week but changed my mind at the last minute. As I was putting my soldering iron away in the shed I noticed a cloud formation I have seen many times in other peoples' photos but have never seen myself, until today. Your task, if you wish to take it, is  to identify the name of this formation of clouds (yes I do already know the answer - I hope).

Guess What:
DSCN5815

Please leave any guesses in the comments.
They will be revealed, along with the answer, next Monday.
No prizes except maybe a virtual Midmarsh Gold or Silver Star.


Saturday, February 6, 2016

According to Reevoo some Birds' Names are Rude

Today I received an email from Reevoo requesting a review of the bird seed I buy from CJ Wildlife. As I think the seed is excellent I was prepared to spend a few minutes extolling its virtues. That was until I listed some of the birds it attracted which included 'Blue Tit'. Immediately a red box with red lettering came up accusing me of using rude words and requesting any rude words be removed.

Screen Shot 2016-02-06 at 19.45.16

What a simplistic, stupid checking system they must have which seems unable to check in context. It gives me the impression the site was designed on the cheap by inexperienced programmers.

I could have found the situation funny and altered the list of birds but then why should I? A site like that has to cater for reviews over a very wide range of subjects and businesses. Apparently they just haven't thought things through or cannot be bothered to take the effort to make their site user friendly. It is definitely on my short list of sites I will never use again and have emailed them and CJ Wildlife to make both aware of my feelings. It will be interesting to see what, if any, follow up I receive.

Here is a photo of a rude bird (according to Reevoo):
Blue Tit


Friday, February 5, 2016

Friday at the Flicks - Greenfinch

FATTHEF

While I was faffing about with Arduino coding for my weather station I nearly forgot about a video. Anyway I just made it with this video capture of a Greenfinch which visited the bird table earlier in the week:




Much as I like to see them, especially since their numbers plummeted, I am always a bit worried in case they once again bring the finch disease. This one appeared to be good and healthy.
Related Posts with Thumbnails