This project was used for water and temperature detection using stm32f407. STM32CUBE IDE was used for programming.
Hardware Components:
-
STM32F407 microcontroller: This is a powerful microcontroller with various built-in peripherals, including analog-to-digital converters (ADC) and general-purpose input/output (GPIO) pins.
-
Water level sensor: A sensor is used to measure the water level in a container or system. For this project "Arduino - Water Detector / Sensor" was used.
-
Temperature sensor: A temperature sensor is used to measure the temperature in the system. For the following project "LM35" was used.
-
Display unit: A display unit, such as an LCD or an LED display, is used to show the measured values of water level and temperature.
-
Buzzer: A buzzer for detection of water level when the container was going to get full.
Programming and Operation:
-
Initialization: GPIO initialization.
-
Sensor Readings: Using ADC for converting analog values to digital.
-
Values Setting: Setting values according to the required range and units.
-
Display: LCD configuration for displaying the water level and tempererature of water.