Microcontroller: STM32F107
Main components: Bluetooth module, Raindrop sensor, Gas sensor, Light sensor, temperature/humidity sensor, Vibration sensor, Magnetic sensor, Motor, Text LCD
- Bluetooth module: The user can interact with the window using Bluetooth by sending a message with the phone to the module.
- Raindrop sensor: If it detects raindrops, it recognizes that it is raining outside and closes the window.
- Gas sensor: If the gas value is over a specific threshold, it recognizes that the fire occurred inside and opens the window.
- Light sensor: Prints the amount of light on the LCD screen
- Temperature/humidity sensor: Prints the temperature and humidity on the LCD screen. Also, the temperature will help to detect fire with a gas sensor.
- Vibration sensor: Sends the warning message through Bluetooth to the user if it detects the crash.
- Magnetic sensor: Used to recognize whether the window is opened or closed.
- Motor: Opens or Closes the window.
