“ESP8266 DHT11 Temperature SensorThis Simple tutorial post shows how to interface the ESP8266 NodeMCU Development Board with DHT11 Digital humidity & Temperature sensor and 0.91 inch OLED display (12832 Pixel).The NodeMCU reads temperature and relative humidity values from the DHT11 sensor and prints it on OLED display, also you can get temperature and humidity values on mobile web browser.
Organic Light Emitting Diode (OLED) is a kind of Light Emitting Diode where a light emitting layer which is made of organic compound emits light when electric current is supplied. This layer is placed between two electrodes. This technology is used in display screens like computers, televisions, smartphones etc. OLED displays have their own light and dont need any backlight like in LCD, therefore they are power efficient and used with many microcontrollers. One more advantage of using OLED displays over LCD is of displaying large and better quality of graphics on OLEDs. There are many types of OLED displays available in the market based on their - Sizes, Color, Brands, Protocol, SPI (Serial Peripheral Interface) or I2C, Passive-matrix (PMOLED) or active-matrix (AMOLED) control scheme In this tutorial, I am going to talk about connecting the, White color 0.91 (128x32 OLED) I2C OLDE displays to an NodeMCU. I2C bus technology uses only 2 pins of the MCU so we have heaps available for other sensors.
The main advantage of OLED display is we can able to print any type of font, shape, color and images.
Why we are using Nodemcu
Nodemcu is a low-cost, WiFi Module chip that can be configured to connect to the Internet for Internet of Things(IoT) and similar Technology Projects. Basically, Your normal Electrical and Mechanical equipment’s cannot connect to the Internet on their own. They dont have the in-built setup to do so. You can setup ESP8266 with these equipment’s and do amazing stuff. Controlling, Monitoring, Analysis and much more.
Nodemcu Development Board
0.91 inch OLED Display