Designed a model to automate the control of electrical appliances such as light, fan etc based on the presence of any object in its vicinity. The purpose of the project was to eliminate the manual efforts to turn on/off the appliances, by automating the control. When a person came in the vicinity of the model, an ultrasonic sensor (HC-SR04), would sense it, send a signal to the Arduino Uno microcontroller. That in turn would control the switching of a 5 pin relay switch which completed the circuit of a electrical appliance connected to the regular power supply, thus, turing on the appliance.