This document describes an IoT-based home automation system using an ATmega328 microcontroller. The system allows controlling home appliances like lights and fans remotely over WiFi. An ATmega328 microcontroller communicates with an ESP8266 WiFi module to send and receive data from a server and control relays connected to appliances. The system provides a user-friendly Android app interface to control appliances from anywhere. It discusses the components used - ATmega328, ESP8266, relays, voltage regulators. The system aims to automate homes and control appliances with clicks from a smartphone for convenience and energy savings.