Рет қаралды 630
Components:
- DHT22 Temperature and Humidity Sensor
- SSD1306 OLED Display
- Arduino Nano
- Connecting Wires
- 10k resistor
- Breadboard
- Mini Cable
Arduino Nano
5V == 1 (DHT-22)
D2 == 2 (DHT-22)
GND == GND (DHT-22)
3.3V == VCC (SSD1306)
GND == GND (SSD1306)
A4 == SDA (SSD1306)
A5 == SCL (SSD1306)
Download the following libraries, "Adafruit_GFX.h" & "Adafruit_SSD1306.h" for the SSD1306 Display.
Download “Adafruit Unified Sensor” & "DHT Sensor Library" for the DHT22 sensor.
Code: www.roleneskos...