Home Automation and Security System using Microcontroller ATMEGA8 with Arduino Programming

Home automation and security systems have become very popular these days, today industrial automation techniques are widely adopted by luxurious homes and apartments. Here I’m going to give a worthy home automation security and monitoring project for engineering students. On the whole this microcontroller based home automation system with security performs the following series of processes, making it the best home automation system.

  • Sense the temperature level of the room and monitor it using LEDs.
  • Controls the temperature using exhaust fan.
  • Automatically open and close the door to make fast temperature control.
  • Pump water if necessary, in case fire is detected.

Home Automation and Security System using Microcontroller ATMEGA8 with Arduino ProgrammingI happened to develop this for a science fare exhibition in one of the schools. You can also make use of this kitchen automation as major project for engineering or diploma final year.

School projects:

Components required

  1. Arduino UNO
  2. IC 74138
  3. L293D
  4. Exhaust fan (12V)
  5. Vehicle glass washer pump motor (12V)
  6. MQ6 GAS sensor
  7. Thermistor (High resistance type)
  8. Transistor (BC548x3)
  9. Buzzer 5V
  10. LEDs (Greenx3, Yellowx3, Redx2)
  11. POT (10Kx2)
  12. Resistor (1Kx3, 10k)
  13. Relay 12V
  14. DVD loader tray
  15. 12v Power supply
  16. USB cable

Setting up the project

Built around ATMEGA8 microcontroller, the main advantage of this system is that it uses Arduino programming which makes easy embedding of program and at the end of the day it leads to a drastic reduction of cost from about Rs.1500 to around Rs.80.

For demonstration purpose I have used a DVD loader assembly to open and close the door, it has an inbuilt open close sensor which I have used here. Moreover the MQ6 GAS sensor for detecting the leakage of LPG is an added advantage of this project. When leakage is detected it should run an alarm and switch on exhaust fan to reduce the density of GAS.

Working of home automation and security system

Now let me get in to the working of our home automation and security system section by section. The main sensors that I have used here is a thermistor to detect the temperature level and a MQ6 GAS sensor to detect the presence of LPG.

Home Automation and Security System using Microcontroller ATMEGA8 with Arduino Programming SchematicThermistor Section

  • Firstly read the temperature value from thermistor and monitor on LED with the help of 74328 IC which is a 3 to 8 decoder.
  • Two threshold values are used, first one to enable open/close of the door and the other one for fire alarm.
  • The temperature level from thermistor is checked. If the level is less than first threshold then it does nothing. Else if it’s greater than the first threshold it opens the door with the help of ‘ON OFF touch switch’ (Eject button) in DVD loader assembly, thereby switching on exhaust fan.
  • If the temperature level is greater than second threshold level (it means there will be a presence of fire) then the controller will switch on water pump motor to extinguish the fire.


For more detail: Home Automation and Security System using Microcontroller ATMEGA8 with Arduino Programming

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.