Introduction - If you have any usage issues, please Google them yourself
above document is a source code for home automation system using pic16f877a. in the code when motion is detected the home light will turn on and the speed of home fan is control by using temperature