ЁЯФ╣ Overview
The BMP180 is a sensor that measures atmospheric pressure and temperature. It is commonly used in weather stations, altitude measurement, and IoT projects. In this tutorial, we will interface the BMP180 sensor with Raspberry Pi 3 and display the readings.
ЁЯЫа️ Components Required
✔️ Raspberry Pi 3
✔️ BMP180 Sensor
✔️ Breadboard & Jumper Wires
ЁЯФМ Circuit Diagram
The BMP180 communicates with the Raspberry Pi using the I2C protocol.
ЁЯФЧ BMP180 to Raspberry Pi Connections
BMP180 Pin | Connection |
---|---|
VCC | 3.3V (Raspberry Pi) |
GND | GND |
SDA | GPIO 2 (I2C SDA) |
SCL | GPIO 3 (I2C SCL) |
ЁЯУЬ Python Code to Read BMP180 Sensor
Save the following Python script as bmp180_sensor.py
and run it on Raspberry Pi.
ЁЯТб How It Works
- The BMP180 sensor uses the I2C protocol to communicate with the Raspberry Pi.
- The Python script sends commands to the sensor and reads the temperature values.
- The sensor returns the temperature data, which is displayed on the screen.
ЁЯОп Applications
✅ Weather stations
✅ Altitude measurement
✅ IoT-based climate monitoring
ЁЯУЭ рдорд░ाрдаीрдд рд╕рдордЬाрд╡рдгी (Marathi Explanation)
ЁЯФ╣ рдкрд░िрдЪрдп
BMP180 рд╕ेрди्рд╕рд░ рд╣ा рд╣рд╡ाрдоाрдиाрдЪा рджाрдм (Pressure) рдЖрдгि рддाрдкрдоाрди (Temperature) рдоोрдЬрдг्рдпाрд╕ाрдаी рд╡ाрдкрд░рд▓ा рдЬाрддो. рдпाрдЪा рдЙрдкрдпोрдЧ рд╣рд╡ाрдоाрди рдХेंрдж्рд░े, IoT рдк्рд░рдХрд▓्рдк рдЖрдгि рдЙंрдЪी рдоोрдЬрдг्рдпाрд╕ाрдаी рдХेрд▓ा рдЬाрддो.
ЁЯЫа️ рдЖрд╡рд╢्рдпрдХ рдШрдЯрдХ
✔️ рд░ाрд╕्рдкрдмेрд░ी рдкाрдп рей
✔️ BMP180 рд╕ेрди्рд╕рд░
✔️ рдм्рд░ेрдбрдмोрд░्рдб рдЖрдгि рдЬрдо्рдкрд░ рд╡ाрдпрд░
ЁЯФМ рд╕рд░्рдХिрдЯ рдХрдиेрдХ्рд╢рди
BMP180 рд╕ेрди्рд╕рд░ I2C рдк्рд░ोрдЯोрдХॉрд▓ рд╡ाрдкрд░рддो.
BMP180 рдкिрди | рд░ाрд╕्рдкрдмेрд░ी рдкाрдп рдХрдиेрдХ्рд╢рди |
---|---|
VCC | 3.3V |
GND | GND |
SDA | GPIO 2 (I2C SDA) |
SCL | GPIO 3 (I2C SCL) |
ЁЯУЬ рдкाрдпрдеॉрди рдХोрдб
рд╣ा рдХोрдб bmp180_sensor.py
рдиाрд╡ाрдиे рд╕ेрд╡्рд╣ рдХрд░ा рдЖрдгि рдЪाрд▓рд╡ा.
ЁЯТб рд╣े рдХрд╕े рдХाрд░्рдп рдХрд░рддे?
- BMP180 рд╕ेрди्рд╕рд░ I2C рдк्рд░ोрдЯोрдХॉрд▓ рд╡ाрдкрд░ूрди рд░ाрд╕्рдкрдмेрд░ी рдкाрдпрд╢ी рд╕ंрд╡ाрдж рд╕ाрдзрддो.
- рдкाрдпрдеॉрди рдХोрдб рд╕ेрди्рд╕рд░рд▓ा рдХрдоांрдб рдкाрдард╡рддो рдЖрдгि рддाрдкрдоाрди рд╡ाрдЪрддो.
- рд╕ेрди्рд╕рд░ рдбेрдЯा рд╕्рдХ्рд░ीрдирд╡рд░ рдк्рд░рджрд░्рд╢िрдд рдХрд░рддो.
ЁЯОп рдЙрдкрдпोрдЧ
✅ рд╣рд╡ाрдоाрди рдХेंрдж्рд░े
✅ рдЙंрдЪी рдоोрдЬрдгी (Altitude Measurement)
✅ IoT-рдЖрдзाрд░िрдд рддाрдкрдоाрди рдиिрд░ीрдХ्рд╖рдг
Comments