รหัสสินค้า | C01024 |
หมวดหมู่ | วัดอุณหภูมิ / ความชื้น / ความกดอากาศ |
ราคา | 70.00 บาท |
ขนาด | 5 |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 23 ก.ค. 2562 |
อัพเดทล่าสุด | 2 มิ.ย. 2568 |
ความพึงพอใจ | 5.00/5 จาก 1 คน |
คงเหลือ | 4 ชิ้น |
จำนวน | ชิ้น |
Sensor BMP180 สำหรับวัดความกดดันอากาศความแม่นยำสูง สามารถนำไปประยุคใช้งานเกี่ยวกับการวัดระดับความสูง อิทธิพลต่อความกดอากาศ เช่น
Sensor BMP180 (GY-68) สามารถวัดค่าความกดดันอากาศ ใน Range ที่ 300-1100hPa การเชื่อมต่อ ไปยัง Arduino ผ่าน I2C Interface จึงเป็นเรื่องง่ายกับการนำไปใช้งานร่วมกับ Arduino
The BMP180 sensor is used to measure air pressure with high accuracy. It can be used to measure altitude and its effect on air pressure, such as the fact that air pressure decreases as altitude increases and temperature decreases. At sea level, normal air pressure is around 1013.20 millibars. The BMP180 (GY-68) sensor can measure air pressure within a range of 300-1100hPa and can be easily connected to an Arduino through an I2C interface for use in various applications.
ข้อมูลเพิ่มเติม
Datasheet : http://9arduino.nisit.net/datasheet/BST-BMP180-DS000-09.pdf
การต่อสาย
Download Library :
Code ตัวอย่าง ของ BMP180 Arduino
#include <Wire.h> //Including wire library | |
#include <SFE_BMP180.h> //Including BMP180 library | |
#define ALTITUDE 35.6 //Altitude where I live (change this to your altitude) | |
SFE_BMP180 pressure; //Creating an object | |
void setup() { | |
Serial.begin(9600); //Starting serial communication | |
Serial.println("Program started"); | |
if (pressure.begin()) //If initialization was successful, continue | |
Serial.println("BMP180 init success"); | |
else //Else, stop code forever | |
{ | |
Serial.println("BMP180 init fail"); | |
while (1); | |
} | |
} | |
void loop() { | |
char status; | |
double T, P, p0; //Creating variables for temp, pressure and relative pressure | |
Serial.print("You provided altitude: "); | |
Serial.print(ALTITUDE, 0); | |
Serial.println(" meters"); | |
status = pressure.startTemperature(); | |
if (status != 0) { | |
delay(status); | |
status = pressure.getTemperature(T); | |
if (status != 0) { | |
Serial.print("Temp: "); | |
Serial.print(T, 1); | |
Serial.println(" deg C"); | |
status = pressure.startPressure(3); | |
if (status != 0) { | |
delay(status); | |
status = pressure.getPressure(P, T); | |
if (status != 0) { | |
Serial.print("Pressure measurement: "); | |
Serial.print(P); | |
Serial.println(" hPa (Pressure measured using temperature)"); | |
p0 = pressure.sealevel(P, ALTITUDE); | |
Serial.print("Relative (sea-level) pressure: "); | |
Serial.print(p0); | |
Serial.println("hPa"); | |
} | |
} | |
} | |
} | |
delay(1000); | |
} |
หน้าที่เข้าชม | 4,510,768 ครั้ง |
ผู้ชมทั้งหมด | 2,466,540 ครั้ง |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |