A real-time operating system (RTOS) is a piece of code (usually called the kernel) that controls task allocation when the microcontroller is operating in a multi-tasking environment. RTOS (Real time operating system) selected OSA (Open system Architecture) OS (Operating System) for the project. In the project, the authors were controlling the industrial equipment with the help of the microcontroller. In this, the major parts of industries were to be maintained. The controls maintained are temperature management, entering into restricted area of the industry, emergency alarm and displaying such parameters. In processing, there are some ways of algorithm and processes which were followed by the OS. The processes are 1) Context switching - while running a task switching to another task. 2) Multitasking - running more number of tasks at a time. 3) Interrupt handling – is the process of task with high priority which will execute first by passing the running task. The algorithm followed is priority based system where in the task were executing in priority bases and the priority was given by the authors in the coding part. The tasks have the same priority that follow the round robin algorithm, which shares the running time by separating equal time slots. For example, two tasks of same priority will run for 5ms and switch to other task that runs for 5ms and switched again. These were the processes and algorithms that were followed in the OS. In the project, temperature is maintained for certain level by temperature sensor (LM35), if it reaches above the level, the fan is switched on. When PIR sensor sense live human, it will switch on the light. For emergency case, alarm would on by pressing the emergency button, different temperatures is were maintained by different sensors and are processed to the output with the help of the OSA RTOS.