Automatic Control of The Speed of A Fan Motor Based On Ambient Temperature Using PIC 16F877A
Abstract
In this paper, the design and simulation of an automatic system control a specific device based on analog parameter. This Embedded system works in a similar concept where we are about to control the speed of a DC motor using based on the external temperature. The rise in temperature will result in increase in speed of the motor and vice versa. These type of temperature controlled fan systems can generally be used to maintain temperature of a room or object automatically. An important feature of this automation process is to reduce or eliminate the possibility of relying on the human factor operator onboard the ship. The use of automatic fan speed control systems can be used in different places onboard the vessel like Galley, EDG room, various stores in deck etc. The system in this paper used the microcontroller PIC16F887A as the central control unit, LM35 temperature sensor as a temperature source,16x2 liquid crystal display (LCD). Several temperature ranges was set in the code to vary the motor speed based on the level of temperature sensed. The speed of the motor is controlled by using PWM. The motor is driven using a driver IC L293D. The implementation and simulation of the system work has been achieved by using proteus professional software v7.0 and PIC C COMPILER software to write the equivalent program and generate .hex file for system working.