Skip to main content
Version: FILS English

A smart automated environment adjustment system

A smart automated environment adjustment system

info

Author: Khalifa Tawfek
GitHub Project Link: link_to_github

Description

This project is a smart automated environment adjustment system, It monitors room conditions such as temperature humidty and presure, it displays those monitured data on an oled display screen. When the tempreature exceeds a certain defined threshold, the system automatically triggers a 12V cooling fan to regulrate the environment, also if the tempreature becomes too high a buzzer and led lights start flashing warnings.

Motivation

I chose this project to create an automated system that guarantees a safe and comfortable living space. By constantly monitroing the environment and automatically reacting to changes, it completetly removes the need for manual temperature adjustments. Whethere it is automatically turning on a fan to keep perferct cool space, or an alarm to prevent dangerous overheating, the goal is to have a safe space without human interaction.

Architecture

Log

Week 5 - 11 May

Week 12 - 18 May

Week 19 - 25 May

Hardware

Schematics

Project Schematic

Bill of Materials

DeviceUsagePrice
Raspberry Pi Pico 2W (x2)The microcontrollers used for sensing, logic, and display control35 RON each
Waterproof 10k NTC ThermistorPrimary analog temperature sensing8 RON
BME280 Barometric Pressure SensorDigital sensing for pressure and humidity15 RON
1.44" TFT LCD Display (ST7735)Displaying live sensor data and system status19 RON
CMP-FAN23 12 V FanCooling actuator triggered by high temperatures15 RON
4 x 18650 Battery HolderSupplying portable power10 RON
Active BuzzerAudio alarm for critical temperature warnings5 RON
LM2596 Step-Down DC-DC Power Supply ModuleStepping down the 14.8V battery output to a safe 5V8 RON
IRFZ44N N-Channel MOSFETSafe electronic switching for the 12V fan3 RON
5mm LEDs & 330Ω ResistorsVisual alarm for critical temperature warnings2 RON

Software

LibraryDescriptionUsage
embassy-rpHardware Abstraction Layer (HAL) for RP2040 microcontrollersUsed to interface with GPIO, I2C, SPI, and peripherals like pins
embassy-executorLightweight asynchronous task executor tailored for embedded systemsmanage async tasks
embassy-embedded-halIntegration utilities for shared buses and embedded-hal trait compatibilitywrap and share I2C bus access
embassy-timeLow-overhead timing and delay management for asynchronous environmentsUsed for time based delays
embassy-syncConcurrency primitives for safe data sharing and signaling across tasksUsed to send messages between tasks using by Channels
  1. Wireless FAN control with ESPNow - Inspiration for wireless communication and automated fan triggering.