Skip to content

Sreyz03/Temperature-Controlled-Fan-AT89S52

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Temperature Controlled Fan Speed System using AT89S52

This embedded system automatically controls a DC fan based on ambient temperature using the AT89S52 microcontroller, ADC0804, and LM35 temperature sensor.
When the temperature exceeds 29Β°C, the fan turns ON automatically; otherwise, it remains OFF.


🧩 Components Used

  • AT89S52 microcontroller
  • ADC0804 (Analog to Digital Converter)
  • LM35 temperature sensor
  • 16x2 LCD display
  • BC547 transistor (fan driver)
  • DC fan, resistors, capacitors, and 10k potentiometer

🧰 Tools Used

  • Keil Β΅Vision IDE – for Embedded C code
  • Proteus Design Suite – for circuit simulation and testing

βš™οΈ Circuit Diagrams

When Temperature > Threshold (Fan ON): Fan ON Circuit

When Temperature < Threshold (Fan OFF): Fan OFF Circuit


πŸ’‘ Working Principle

  1. LM35 senses ambient temperature and outputs an analog voltage.
  2. ADC0804 converts the analog voltage into a digital signal.
  3. AT89S52 processes the data and determines whether to activate the fan.
  4. Temperature and fan status are displayed on the LCD.

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.


πŸ‘¨β€πŸ’» Author

Sreyas Kishore

About

Temperature controlled fan speed system using AT89S52

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages