Arduino DHT22 sensor and 128x64 OLED DISPLAY

preview_player
Показать описание
Small warm summer saturday night project. I didn't have thermometer and wanted to see the temperature.

Components used:
Arduino UNO R3
DHT22 temperature and humidity sensor
DHT11 temperature and humidity sensor
0.96" 128x64 OLED I2C display

Libraries used:
Adafruit DHT sensor library
Adafruit SSD1306syp
Adafruit GFX Library

The program is pretty much a combination of the example code for the DHT sensors and example code for the OLED display.

UPDATE 2017-10-02:
On request i have the source code available for download. To make sure it still worked i hooked up a new OLED display and two new DHT22 sensors to a Arduino Nano. It does work well. I can't remember why i use the "Adafruit SSD1306syp" library instead of the original "Adafruit SSD1306". Not sure either if the GFX library is needed. I don't seem to use it in my code, unless it's required and used in the SSD1306 library.
Рекомендации по теме
Комментарии
Автор

HI,
can you share the source code please?

MassimilianoSaguto
visit shbcf.ru