-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Fan-Control_System_AVR | ||
Implemented via **AVR atmega32** MCU with **1 MHz** internal clock frequency. | ||
>### Project Description: | ||
* **The fan is automatically turned OFF or ON with variable speed according to the temperature.** | ||
* **Based on the temperature read from the LM35 sensor, the MCU sets the fan speed as follows:** | ||
  <i>i. If the temperature is less than 30C, the fan is turned off. <br> | ||
  ii. If the temperature is greater than or equal 30C, the fan is turned on with 25% of its maximum speed.<br> | ||
  iii. If the temperature is greater than or equal 60C, the fan is turned on with 50% of its maximum speed. <br> | ||
  iv. If the temperature is greater than or equal 90C, the fan is turned on with 75% of its maximum speed.<br> | ||
  v. If the temperature is greater than or equal 120C, the fan is turned on with 100% of its maximum speed. </i> <br> | ||
* **The fan status is continuously updated on an LCD screen.** | ||
|
||
>### Project Design: | ||
* **The Project follows modular design as shown in the diagram below:** | ||
|
||
Layered Model | Layered Model Detailed | ||
:-------------------------:|:-------------------------: | ||
![Abstraction_Layers_](./imgs/Abstraction_Layers.png) | ![Abstraction_Layers_Detailed](./imgs/Abstraction_Layers_Detailed.png) | ||
|
||
>### Project Simulation: | ||
![Project Simulation GIF](./imgs/sim.gif) | ||
>### How to run: | ||
* Clone the project repo via `git clone https://github.com/0marAmr/Fan-Control-System`. | ||
* Open command prompt in the project directory. | ||
* Run `make compile` to compile project files. | ||
* Open ***project_simulation*** file found in ***sim*** directory. | ||
* After simulating, run `make clean` to remove compilation files. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.