Skip to content

Commit

Permalink
Add README Srcs
Browse files Browse the repository at this point in the history
  • Loading branch information
0marAmr committed Oct 23, 2022
1 parent 6189ace commit f6385c9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
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:**
&emsp; <i>i. If the temperature is less than 30C, the fan is turned off. <br>
&emsp; ii. If the temperature is greater than or equal 30C, the fan is turned on with 25% of its maximum speed.<br>
&emsp; iii. If the temperature is greater than or equal 60C, the fan is turned on with 50% of its maximum speed. <br>
&emsp; iv. If the temperature is greater than or equal 90C, the fan is turned on with 75% of its maximum speed.<br>
&emsp; 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.
Binary file added imgs/Abstraction_Layers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/Abstraction_Layers_Detailed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f6385c9

Please sign in to comment.