ESP32-Based Smart Weather Station with MPU-6050 and BMP180 Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, an MPU-6050 accelerometer and gyroscope, a BMP180 barometric pressure sensor, and a buzzer. The ESP32 serves as the central controller, interfacing with the sensors and the buzzer. The sensors communicate with the ESP32 via the I2C protocol, while the buzzer is controlled through a GPIO pin.
Component List
ESP32
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
MPU-6050
- Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
BMP180
- Description: A barometric pressure sensor that can measure atmospheric pressure and temperature.
- Pins: 3.3, SDA, SCL, GND, VCC
Buzzer
- Description: An audio signaling device that produces sound.
- Pins: PIN, GND
Wiring Details
ESP32
- 3V3: Connected to VCC of MPU-6050 and BMP180
- GND: Connected to GND of MPU-6050, BMP180, and Buzzer
- D22: Connected to SCL of MPU-6050 and BMP180
- D21: Connected to SDA of MPU-6050 and BMP180
- D2: Connected to PIN of Buzzer
MPU-6050
- VCC: Connected to 3V3 of ESP32
- GND: Connected to GND of ESP32
- SCL: Connected to D22 of ESP32
- SDA: Connected to D21 of ESP32
BMP180
- VCC: Connected to 3V3 of ESP32
- GND: Connected to GND of ESP32
- SCL: Connected to D22 of ESP32
- SDA: Connected to D21 of ESP32
Buzzer
- PIN: Connected to D2 of ESP32
- GND: Connected to GND of ESP32
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. The ESP32 microcontroller interfaces with the MPU-6050 and BMP180 sensors via the I2C protocol and controls the buzzer through a GPIO pin.