Skip to main content

Observing Weather changes through RaspberryPi Sense Hat.




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.







 

 if sense.humidity > 80 and sense.temp > 20:
       sense.set_pixels(rainbow) 
   

     elif sense.humidity > 90 and sense.temp > 10 :
        sense.set_pixels(rainy)
   
    elif sense.humidity < 50 and sense.temp > 20 :
       sense.set_pixels(sunny)
   
    elif sense.humidity > 50 and sense.temp  < 20 :
       sense.set_pixels(nice)

Comments

Popular posts from this blog

Facts About Thames Barrier

                                    The Thames Barrier which was built in 1984, protects Central London from tidal surges in the North Sea.                                                         It protects 125 sq km or 48 sqm of Central London. The Thames barrier was built, because of the Thames flood in 1928. The Thames river flooding destroyed lots of properties and 14 people lost their lives in the flood. So, the Environmental Agency came up with the idea of the Thames Barrier and its construction started in 1974. It is predicted that even with heavy rainfall and rising tides due to climate change it will still be able to protect London from flooding until 2070. There are three positions of the Thames Barrier to let the river water...

FUN TYPER - Learn Touch Typing

FunTyper is a program to learn and practice touch typing at home.In the program they have  video tutorials  which shows the placement of the fingers , which is very helpful . Through different games they teach to do typing without looking at the keyboard.At first the games are simple as your writing per minute increases it gets challenging but fun .As your writing per minute increases you unlock more new games. Main page Game grid Video gallery  Showing what fingers to use. Warm up game

Bornean Flat Headed Frog

"Bornean Flat Headed Frogs" , are unique species of frog.Their bodies are flatter,than all  other species of frog but that is not what makes them truly , amazing.The thing that makes  them the mostunique frogs in the world , is they don’t have lungs and use their skin to  breathe.They are found in Kalimantan, the Indonesian part of the island of Borneo and  they have another species in the Phillipenes. They are very rare . Due to , illegal gold mining and logging , their habitat is being polluted and destroyed, because of this , now they are declared as an endangered species  and if people do not take care, then they will become completely extinct.