Reference no: EM133853514
Advanced Sensors
Exercise: Automatic fan and door control.
In the first part, develop the Arduino code and schematic for the automatic fan(which automatically switch on and off the fan) and door control system (which detects a person in front of the door)according to the temperature inside the room. Book assignment help service now!
Components and working:
Add the following components to the circuit and develop codes to perform the following tasks:
Question 1. Temperature sensor:to sense the temperature of the room.Display the temperature on an LCD and pass it to the serial port.
Question 2. DC motor: Represents a fan running given the following conditions
a. On
If the temperature is above 24C
b. Off
If the temperature is below 24C.
Question 3. When a person stands or approaches the door, about 50 cms away from the door, the Ultrasonic Sensor gets activated due to movement in its range. The PIR sensor also acting as a backup here, keeps the door open (use a motor to select the appropriate function) until the movement stops. If there is no movement in the given range then it closes the door, without the intervention of the Ultrasonic sensor.
Question 4. LED: Modify the code so that the program can display the difference between the previous temperature and the current temperature.
a. Develop a circuit that will turn ON a red LED if the temperature is increasing, a green LED if the temperature is decreasing and a yellow LED if the temperature is constant.