Tired of waking up in the middle of a sound sleep just because your room temperature is too low or too high because of your Dumb AC. Then this project is for you.
In this project, we are going to make our AC's a bit smart by making it switch ON and OFF automatically according to the room temperature.
We will be using Arduino UNO, DHT 11, IR receiver, and IR transmitter. We will be kind of mimicking the operation of the AC remote but it will be done automatically.
The DHT11 is a commonly used temperature and humidity sensor. The sensor comes with a dedicated NTC to measure temperature and an 8-bit microcontroller to output the values of temperature and humidity as serial data. The sensor is also factory calibrated and hence easy to interface with other microcontrollers.
The sensor can measure temperature from 0°C to 50°C and humidity from 20% to 90% with an accuracy of ±1°C and ±1%. So if you are looking to measure in this range then this sensor might be the right choice for you.
This Sensor has 4 pins but as one pin is of no use that's why its breakout board has only 3 pins which are Vcc, GND, and Data pin whose configuration is shown in the image above.
2) IR Transmitter(IR LED):-
The IR LED is same as the normal LED. IR LED stands for “Infrared Light Emitting Diode”, they emit light with the wavelength of up to 940nm, which is the infrared range of electromagnetic radiation spectrum. The wavelength range varies from 760nm to 1mm. These are mostly used in the remote control of TVs, cameras, and different types of electronic instruments. The semiconductor material used to make these LEDs are gallium arsenide or aluminum arsenide. Mostly used in the IR sensor as it is the combination of an IR receiver and an IR transmitter (IR LED).
3) IR Receiver:-
The TSOP sensor has the ability to read the output signals from home remotes like a TV remote, Home theatre remote, AC remote, etc. All these remotes will work with a frequency of 38kHz, and this IC can pick up any IR signals to process them and provide the output on pin 3. So if you are looking for a sensor to analyze, re-create, or duplicate the functions of a remote then this IC will be the perfect choice for you.
This component is available in several different variants but all those have 3 pins which are Vcc, GND and Signal pin whose configurations are shown in image above.