This project is aimed at developing a real-time flame detection system using an 8051 microcontroller. The system detects fires when they are still small, offering early detection capabilities at a low cost. It utilizes flame sensors to detect the presence of smoke or high temperatures, triggering an alarm through the microcontroller.
- 8051 Microcontroller
- Flame Sensor
- LCD Display
- Resistors
- Capacitors
- Power Supply
- Keil µVision IDE
- Connect the flame sensor to Pin P1.0 of the 8051 microcontroller.
- Connect the LCD display to Port 3 of the microcontroller.
- Ensure proper power supply to the system.
- Compile and flash the provided code using Keil µVision IDE.
- Upon detecting a flame, the LCD will display "Flame Detected".
- The code initializes the LCD display and continuously monitors the flame sensor.
- If a flame is detected, it displays "Flame Detected" on the LCD.
- The
lcd_init()
function initializes the LCD. - The
cmd()
anddat()
functions send commands and data to the LCD respectively. - The
lcd_string()
function displays a string on the LCD. - The
delay()
function introduces a delay for proper LCD operation.
- Detect fires at an early stage.
- Develop a cost-effective real-time fire detection system.
- Improve accuracy and response time compared to conventional fire detectors.
Ensure proper connections and power supply for reliable operation of the system.