Arduino UNO-Based Multi-Color LED and Buzzer Weather Station
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, three LEDs (red, green, and yellow), three resistors, a DHT22 temperature and humidity sensor, and a buzzer. The Arduino UNO controls the LEDs and the buzzer, and reads data from the DHT22 sensor. The resistors are used to limit the current through the LEDs.
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
LED: Two Pin (red)
- Description: A red LED with two pins.
- Pins: cathode, anode
LED: Two Pin (green)
- Description: A green LED with two pins.
- Pins: cathode, anode
LED: Two Pin (yellow)
- Description: A yellow LED with two pins.
- Pins: cathode, anode
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
DHT22
- Description: A temperature and humidity sensor.
- Pins: +, Out, -
Buzzer
- Description: A simple buzzer.
- Pins: PIN, GND
Wiring Details
Arduino UNO
- GND is connected to the cathodes of the red, green, and yellow LEDs.
- 5V is connected to the + pin of the DHT22 sensor.
- GND is connected to the GND pin of the buzzer and the - pin of the DHT22 sensor.
- D11 is connected to pin2 of a 200 Ohm resistor.
- D10 is connected to pin2 of a 200 Ohm resistor.
- D9 is connected to pin2 of a 200 Ohm resistor.
- D7 is connected to the PIN of the buzzer.
- D2 is connected to the Out pin of the DHT22 sensor.
LED: Two Pin (red)
- cathode is connected to GND of the Arduino UNO.
- anode is connected to pin1 of a 200 Ohm resistor.
LED: Two Pin (green)
- cathode is connected to GND of the Arduino UNO.
- anode is connected to pin1 of a 200 Ohm resistor.
LED: Two Pin (yellow)
- cathode is connected to GND of the Arduino UNO.
- anode is connected to pin1 of a 200 Ohm resistor.
Resistor (200 Ohms)
pin1 of one resistor is connected to the anode of the red LED.
pin2 of the same resistor is connected to D11 of the Arduino UNO.
pin1 of another resistor is connected to the anode of the green LED.
pin2 of the same resistor is connected to D10 of the Arduino UNO.
pin1 of another resistor is connected to the anode of the yellow LED.
pin2 of the same resistor is connected to D9 of the Arduino UNO.
DHT22
- + is connected to 5V of the Arduino UNO.
- Out is connected to D2 of the Arduino UNO.
- - is connected to GND of the Arduino UNO.
Buzzer
- PIN is connected to D7 of the Arduino UNO.
- GND is connected to GND of the Arduino UNO.
Documented 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:
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.