Arduino UNO with DHT11 Sensor and HC-05 Bluetooth OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino UNO microcontroller with several peripheral components: a KY-015 DHT11 temperature and humidity sensor, an HC-05 Bluetooth module, a 0.96" OLED display, and a 16x2 LCD display. The Arduino UNO serves as the central processing unit, interfacing with the DHT11 sensor for environmental data, the HC-05 module for Bluetooth connectivity, and the OLED display for visual output. The LCD display is included in the parts list but is not connected in the current configuration.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
KY-015 DHT11
- A basic, ultra low-cost digital temperature and humidity sensor.
- It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and outputs a digital signal on the data pin.
HC-05
- A commonly used Bluetooth module for wireless communication.
- It can operate as either a slave or a master device, making it a great solution for wireless communication.
0.96" OLED
- A small display that is capable of showing graphics and text in monochrome.
- Uses I2C communication, which requires only two connections to the microcontroller.
LCD Display 16x2
- A simple liquid crystal display capable of displaying 16 characters per line across 2 lines.
- It is not connected in the current circuit configuration.
Wiring Details
Arduino UNO
- 5V connected to OLED VDD, HC-05 VCC, and DHT11 5V
- GND connected to OLED GND, HC-05 GND, and DHT11 GND
- A4 (SDA) connected to OLED SDA
- A5 (SCL) connected to OLED SCK
- D2 connected to DHT11 S (Signal)
- D1 (TX) connected to HC-05 RXD
- D0 (RX) connected to HC-05 TXD
KY-015 DHT11
- 5V connected to Arduino UNO 5V
- S connected to Arduino UNO D2
- GND connected to Arduino UNO GND
HC-05
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- TXD connected to Arduino UNO D0 (RX)
- RXD connected to Arduino UNO D1 (TX)
0.96" OLED
- VDD connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- SCK connected to Arduino UNO A5 (SCL)
- SDA connected to Arduino UNO A4 (SDA)
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 Notes
- The provided code is a template and does not include any functionality. It needs to be populated with the logic for interacting with the connected components.
- The LCD Display 16x2 is listed in the parts but is not wired in the circuit and therefore not included in the code.
- The HC-05 Bluetooth module and the DHT11 sensor require specific libraries and initialization code which are not provided in the template.
- The OLED display requires initialization and a library to communicate over I2C, which is not included in the provided code template.