Arduino UNO Weather Station with BME280 Sensor and I2C LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with a BME/BMP280 sensor, a 16x2 I2C LCD display, a green LED, and a resistor. The Arduino UNO serves as the central controller, reading data from the BME/BMP280 sensor and displaying it on the LCD. The LED is controlled via a digital pin on the Arduino, with a resistor used to limit the current.
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
BME/BMP280
- Description: A combined digital humidity, pressure, and temperature sensor.
- Pins: GND, SCL, SDA, VIN
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
LED: Two Pin (green)
- Description: A green LED with two pins.
- Pins: cathode, anode
Resistor
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
Wiring Details
Arduino UNO
- 3.3V: Connected to VIN of BME/BMP280
- 5V: Connected to VCC of 16x2 I2C LCD
- GND: Connected to GND of BME/BMP280, 16x2 I2C LCD, and cathode of LED
- A4: Connected to SDA of BME/BMP280
- A5: Connected to SCL of BME/BMP280
- SCL: Connected to SCL of 16x2 I2C LCD
- SDA: Connected to SDA of 16x2 I2C LCD
- D8: Connected to pin2 of Resistor
BME/BMP280
- VIN: Connected to 3.3V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- SCL: Connected to A5 of Arduino UNO
- SDA: Connected to A4 of Arduino UNO
16x2 I2C LCD
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- SCL: Connected to SCL of Arduino UNO
- SDA: Connected to SDA of Arduino UNO
LED: Two Pin (green)
- cathode: Connected to GND of Arduino UNO
- anode: Connected to pin1 of Resistor
Resistor
- pin1: Connected to anode of LED
- pin2: Connected to D8 of Arduino UNO
Code Documentation
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.txt
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the Arduino UNO.