Skip to main content
Version: FILS English

Smart Weather station

A weather monitoring system that measures enviormental conditions and automatically reacts to changes like heat, humidity and UV levels.

info

Author: Student Name Fekete Anna-Maria \

GitHub Project Link: https://github.com/UPB-PMRust-Students/project-annfkt

Description​

This project is a smart weather station built around the STM32F767ZI microcontroller, designed to monitor key environmental conditions such as temperature, humidity, barometric pressure, UV intensity, and rainfall. Using a variety of sensors, the system collects environmental data and provides both visual feedback through a display and audible alerts when preset thresholds are reached. Users can easily observe current conditions through an intuitive interface. The project focuses on sensor integration, data processing, and multitasking, resulting in a functional and versatile environmental control platform.This compact and customizable weather station demonstrates how embedded hardware and software can be combined to create an efficient and responsive environmental control system.

Motivation​

I chose this project based on both my technical background and personal interests. During my participation in the Future Shapers Summer School, organized by the University POLITEHNICA of Bucharest in collaboration with Honeywell, I gained valuable hands-on experience working with a variety of environmental sensors. This program not only deepened my understanding of sensor integration and data acquisition but also sparked a strong interest in developing practical applications that involve environmental monitoring.

In addition to this technical foundation, I have a long-standing passion for nature and natural phenomena, which has continually inspired my curiosity about how environmental conditions change and interact. The idea of building a system that can observe, respond to, and visualize those changes aligns closely with my interests in both technology and the natural world.

By combining my experience from the summer school with my enthusiasm for environmental topics, this project offers an ideal opportunity to apply my skills in a meaningful wayβ€”developing a system that connects embedded technology with nature, while also exploring areas like automation, user interaction, and environmental awareness.

Architecture​

It is based on the Nucleo STM32F767ZI microcontroller, which controls the system and processes data from different environmental sensors. The DHT11 sensor measures temperature and humidity and is connected to a digital GPIO pin. The BMP280 sensor, which reads air pressure, uses the I2C interface and shares the communication lines with the LCD display, which also uses I2C to show the collected data. The UV sensor and MQ-2 gas sensor are connected to analog input pins, while the rain sensor is connected to a digital GPIO pin to detect rain.

The station gives output through an LCD display and several LEDs. The LEDs light up when certain conditions are met, like high gas levels or rain. There is also an optional button connected through GPIO that can be used to reset the data or change the display mode. The system connects to a laptop using a USB cable, which is used for both programming the board and powering it. This project shows how sensors, displays, and outputs can be connected and controlled using a microcontroller in a well-organized embedded system. Schematic Diagram

Log​

Week 21 - 27 April​

Choosing and buying the main components of the project.

Week 28 April - 4 May​

Receiving most of the necesarry hardware and testing it to ensure functionality. Performing tests on the sensors using an Arduino to observe accuracy.

Week 5 - 11 May​

Week 12 - 18 May​

Week 19 - 25 May​

Hardware​

Detail in a few words the hardware used.

Schematics​

Place your KiCAD schematics here.

Bill of Materials​

DeviceUsagePrice
STM32F767ZIThe microcontroller150 RON
DHT11Temperature and humidity sensor7 RON
BMP280Temperature and pressure sensor9 RON
UV SensorDetects UV rays30 RON
Rain SensorDetects Rain8 Ron
Gas Sensor Module MQ-2Detects gas in the air11 RON
LCD 1602LCD Screen16 RON

Software​

LibraryDescriptionUsage
st7789Display driver for ST7789Used for the display for the Pico Explorer Base
embedded-graphics2D graphics libraryUsed for drawing to the display
embassyAsinc embeded rust FrameworkUsed for interacting with Periferals
  1. link
  2. link ...