Arduino UNO-Based Temperature and Humidity Sensor with DHT22
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, a DHT22 temperature and humidity sensor, and a resistor. The Arduino UNO provides power and ground connections to the DHT22 sensor and reads data from it. The resistor is used to pull up the data line of the DHT22 sensor.
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 temperature and humidity sensor.
- Pins: +, Out, -
Resistor
- Description: A resistor with a resistance of 1500 Ohms.
- Pins: pin1, pin2
- Properties:
- Resistance: 1500 Ohms
Wiring Details
Arduino UNO
- 3.3V: Connected to the "+" pin of the DHT22 and pin1 of the Resistor.
- GND: Connected to the "-" pin of the DHT22.
- D2: Connected to pin2 of the Resistor.
DHT22
- +: Connected to the 3.3V pin of the Arduino UNO and pin1 of the Resistor.
- -: Connected to the GND pin of the Arduino UNO.
- Out: Not connected in this circuit.
Resistor
- pin1: Connected to the 3.3V pin of the Arduino UNO and the "+" pin of the DHT22.
- pin2: Connected to the D2 pin of the Arduino UNO.
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 descriptions, wiring details, and the code used in the microcontroller.