Weather Station

Hi, guys! Here we go again with some news!!!

After several months spent trying to do a bit of publicity on social media, I got a collaboration proposal from a Chinese company called Digitspace, which proposed me to do a project: they would provide me the material and I would have to produce something that worked!

Taking advantage of their offer I showed them my idea to make a home automation system but having only one month to complete it I had to reduce the workload.
So, at the moment, I decided to do only a part of the whole initial project, building a weather station.

The components

After selecting the components that I needed on the Digitspace website (I leave you the link: https://www.digitspace.com/ there are really interesting things 😄) I ordered the items and in 2 weeks everything worked perfectly! 🎉🎉🎉

I’ll put you some photos of the most interesting components:

For the curious, the model of the temperature and humidity sensor is DHT11 Digital Temperature Humidity Sensor Module while the pressure sensor is GY-BMP280-3.3 High Precision Atmospheric Sensor Module.

If you are interested in watching all the purchased items you can find a video on my Youtube channel: https://youtu.be/GpYLHIQz6UY
Ah! And please… subscribe!! 😋

Graphic Interface

Now comes the interesting part! 😁

Having the LCD panel I thought to make a serious graphic interface and not to leave everything on console as for the CNC.

Small screen (3.5″), simple interface! But it’s never too easy to make a nice and clean interface. I used only pure HTML and CSS, and I in my opinion it didn’t result so bad, I think 😅

The interface consists of 3 parts:

  • homepage: that contains the buttons of the various functionalities (as already said at the moment I will implement only the weather station part);
  • realtime page: that shows the current temperature, humidity and pressure values;
  • graphs page (one for each detected data): where the temperature, pressure and humidity values of the last 24 hours are shown.

The code that interfaces with the sensors and the database was written in PHP and Python because I find them very convenient and fast to use and since this is not a particularly difficult project and I didn’t have so much time, I thought that this was the best choice.

Conclusions

Now there’s the hardware part to make but I’m very excited about this collaboration and I want to be able to give my best in this project!

Don’t miss the next article! 😃😃😃 and thanks Digitspace!!

P.S. If you have any advice on the graphical interface leave a comment to this article 😉 thanks!!!