Abstract: In this project we are going to interface digital Humidity and temperature sensor (DHT11) with Arduino Uno board and with MATLAB. we are going to display the temperature and Humidity data, received from DHT11, in LCD screen and also plotting them in MATLAB simultaneously.
From the datasheet it mentioned that DHT11 outputs 40bits of data. It contains 8-bits integral RH data+ 8-bits Decimal RH data+8-bits Integral Temperature data+8-bits decimal Temperature data+8-bits check sum. Read datasheet for more details. The library for DHT11 sensor is available in the resources. Add the library in this path "C:\Program Files (x86)\Arduino\libraries\DHT11" (In my case).
Connect DHT11 sensor to the Arduino Uno board as shown in the below figure and also plug your Arduino board to PC/Laptop.
Now open Arduino IDE tool and run DHT11_Arduino_code and upload it on to the board.
Open MATLAB and run the DHT11_MATLAB_code.