Arduino UNO-Based Smart Weather Station with Bluetooth and I2C LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with an LCD screen, a Bluetooth module, and a combined ENS160 and AHT21 sensor module. The Arduino UNO serves as the central controller, managing data display on the LCD screen, communication with the Bluetooth module, and data acquisition from the sensor module.
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
LCD screen 16x2 I2C
- Description: A 16x2 character LCD display with I2C interface.
- Pins: SCL, SDA, VCC, GND
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
ENS160+AHT21
- Description: A combined sensor module for air quality (ENS160) and temperature/humidity (AHT21).
- Pins: VIN, 3V3, GND, SCL, SDA, ADD, CS, INT
Wiring Details
Arduino UNO
- A4: Connected to SDA of LCD screen and ENS160+AHT21
- A5: Connected to SCL of LCD screen and ENS160+AHT21
- 5V: Connected to VCC of LCD screen, VCC of HC-05 Bluetooth Module, and VIN of ENS160+AHT21
- GND: Connected to GND of LCD screen, GND of HC-05 Bluetooth Module, and GND of ENS160+AHT21
- 3.3V: Connected to 3V3 of ENS160+AHT21
- D1: Connected to RXD of HC-05 Bluetooth Module
- D0: Connected to TXD of HC-05 Bluetooth Module
LCD screen 16x2 I2C
- SDA: Connected to A4 of Arduino UNO and SDA of ENS160+AHT21
- SCL: Connected to A5 of Arduino UNO and SCL of ENS160+AHT21
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
HC-05 Bluetooth Module
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- RXD: Connected to D1 of Arduino UNO
- TXD: Connected to D0 of Arduino UNO
ENS160+AHT21
- VIN: Connected to 5V of Arduino UNO
- 3V3: Connected to 3.3V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- SDA: Connected to A4 of Arduino UNO and SDA of LCD screen
- SCL: Connected to A5 of Arduino UNO and SCL of LCD screen
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly.
Additional Documentation
This section is reserved for any additional documentation or notes that may be required for the project.