Arduino UNO Controlled Smart Lighting with Bluetooth and Temperature Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to control a set of three red LEDs using an Arduino UNO microcontroller. It includes a Bluetooth module (HC-05) for wireless communication and a DHT22 sensor for measuring temperature and humidity. Each LED is connected to a digital pin on the Arduino and is protected by a 200 Ohm resistor. The HC-05 Bluetooth module interfaces with the Arduino via serial communication, allowing remote control or data exchange. The DHT22 sensor is connected to an analog input for environmental data acquisition.
Component List
LEDs (Red)
- Description: Standard two-pin red LEDs used for indication or display purposes.
- Pins: cathode, anode
Arduino UNO
- Description: A microcontroller board based on the ATmega328P, widely used for prototyping and educational purposes.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D13-D0
Resistors (200 Ohms)
- Description: Resistors used to limit the current through the LEDs, preventing damage to the LEDs.
- Value: 200 Ohms
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication with the Arduino.
- Pins: Key, VCC, TXD, RXD, State, GND
DHT22
- Description: A sensor for measuring ambient temperature and humidity.
- Pins: +, Out, -
Wiring Details
LEDs (Red)
- Anode: Connected to a digital pin (D10, D11, D12) on the Arduino UNO.
- Cathode: Connected to one end of a 200 Ohm resistor.
Arduino UNO
- 5V: Provides power to the HC-05 Bluetooth Module and DHT22 sensor.
- GND: Common ground for the circuit.
- Digital Pins (D10, D11, D12): Control the LEDs.
- Analog Pin (A0): Reads data from the DHT22 sensor.
- Digital Pins (D0, D1): Serial communication with the HC-05 Bluetooth Module.
Resistors (200 Ohms)
- One End: Connected to the cathode of an LED.
- Other End: Connected to the ground (GND) of the Arduino UNO.
HC-05 Bluetooth Module
- VCC: Powered by the 5V output from the Arduino UNO.
- GND: Connected to the ground (GND) of the Arduino UNO.
- TXD: Transmits data to the RX (D0) pin of the Arduino UNO.
- RXD: Receives data from the TX (D1) pin of the Arduino UNO.
DHT22
- +: Powered by the 5V output from the Arduino UNO.
- Out: Sends data to the analog input (A0) of the Arduino UNO.
- -: Connected to the ground (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:
}
Note: The provided code is a template and does not contain any functional code to control the LEDs, read from the DHT22 sensor, or communicate with the HC-05 Bluetooth module. The user is expected to implement the necessary setup and loop functions.