I am working on a project that will help gardeners take care of their plants .For the project , I
have used Raspberry Pi Sense hat, which can detect different weather conditions .
To observe the weather conditions , I have programmed it to detect the outdoor humidity
and temperature changes .During a period of two weeks , I have recorded different weather
observations , which are as follows:
1- When the temperature was 28C and the humidity was 43% the Raspberry Pi Sense Hat
displayed a yellow colour on its screen which means “Sunny”, because it was true for the
condition when humidity is less than 50% and temperature is greater than 20C .
2-When the temperature was 18C and the humidity was 77% the Raspberry Pi Sense Hat
displayed a green colour on its screen which means “Nice”, because it was true for the
condition when humidity is greater than 50% and temperature is less than 20C .
3-When the temperature was 15C and the humidity was 100% the Raspberry Pi Sense Hat
displayed a indigo colour on its screen which means “Rainy”, because it was true for the
condition when humidity is greater than 90% and temperature is less than 20C.
sense.set_pixels(rainbow)
sense.set_pixels(rainy)
sense.set_pixels(sunny)
sense.set_pixels(nice)
Comments
Post a Comment