Arduino UNO-Based Weather Station with DHT22 Sensor and 16x2 I2C LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with a DHT22 temperature and humidity sensor and a 16x2 I2C LCD display. The Arduino UNO provides power and communication to the sensor and the display, allowing for the measurement and display of environmental data.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
DHT22
- Description: A digital temperature and humidity sensor.
- Pins: +, Out, -
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Wiring Details
Arduino UNO
- 5V: Connected to DHT22 (+) and 16x2 I2C LCD (VCC)
- GND: Connected to DHT22 (-) and 16x2 I2C LCD (GND)
- D7: Connected to DHT22 (Out)
- A4: Connected to 16x2 I2C LCD (SCL)
- A5: Connected to 16x2 I2C LCD (SDA)
DHT22
- +: Connected to Arduino UNO (5V)
- Out: Connected to Arduino UNO (D7)
- -: Connected to Arduino UNO (GND)
16x2 I2C LCD
- GND: Connected to Arduino UNO (GND)
- VCC: Connected to Arduino UNO (5V)
- SDA: Connected to Arduino UNO (A5)
- SCL: Connected to Arduino UNO (A4)
Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used for the Arduino UNO microcontroller.