Bán Module cảm biến áp suất không khí BMP180 GY-68 giá tốt nhất
0
đánh giá
29.000 ₫
Thương hiệu | No Brand |
---|---|
Gửi từ | Khánh Hòa |
Mô Tả Sản Phẩm
Module cảm biến áp suất không khí BMP180 GY-68 đo áp suất của môi trường sử dụng áp kế số. Bằng cách chuyển đổi áp suất thành độ cao tương ứng, bạn có thể dùng cho việc xác định độ cao của robot, máy bay hay một vật thể được phóng lên cao.
Module cảm biến áp suất không khí BMP180 GY-68 có thể đo được áp suất trong dải 300 ~ 1100hPa, Thiết bị chỉ hoạt động với dòng điện nhỏ khoảng 0.3uA thích hợp cho các thiết bị sử dụng Pin.
Module cảm biến áp suất không khí BMP180 GY-68 đi kèm bộ hiệu chỉnh và sẵn sàng cho việc sử dụng. Giao tiếp chuẩn I2C đã có trở kéo lên sẵn trên board thuận tiện cho việc sử dụng. Sử dụng I2C, thiết bị cung cấp áp suất và nhiệt độ lên đến 16bits
THÔNG SỐ KỸ THUẬT:
Điện áp cung cấp: 1.8 ~ 3.6V
Công suất tiêu thụ thập: 0.5uA tại 1Hz
Giao tiếp chuẩn I2C
Tốc độ I2C max: 3.5MHz
Độ nhiễu rất thấp:: lên đến 0.02hPa (17cm)
Có sẵn bộ hiểu chỉnh bên trong.
Dải đo áp suất: 300hPa ~ 1100hPa (+9000m đến -500m)
Trọng lượng: 1.18g
Kích thước: 21mm x 18mm
Kết nối:
BMP180 UNO R3 MEGA
VCC 3.3V 3.3V
GND GND GND
SCL A5 SCL
SDA A4 SDA
Tải thư viện I2Cdev.h : https://github.com/jrowberg/i2cdevlib
thư viện BMP085.h: https://github.com/adafruit/Adafruit-BMP085-Library
Code:
#include "Wire.h"
#include "I2Cdev.h"
#include "BMP085.h"
BMP085 barometer;
float temperature;
float pressure;
float altitude;
int32_t lastMicros;
#define LED_PIN 13 // (Arduino is 13, Teensy is 11, Teensy++ is 6)
bool blinkState = false;
void setup() {
// join I2C bus (I2Cdev library doesn't do this automatically)
Wire.begin();
Serial.begin(9600);
Serial.println("Initializing I2C devices...");
barometer.initialize();
Serial.println("Testing device connections...");
Serial.println(barometer.testConnection() ? "BMP085 connection successful" : "BMP085 connection failed");
pinMode(LED_PIN, OUTPUT);
}
void loop() {
barometer.setControl(BMP085_MODE_TEMPERATURE);
lastMicros = micros();
while (micros() - lastMicros < barometer.getMeasureDelayMicroseconds());
temperature = barometer.getTemperatureC();
barometer.setControl(BMP085_MODE_PRESSURE_3);
while (micros() - lastMicros < barometer.getMeasureDelayMicroseconds());
pressure = barometer.getPressure();
altitude = barometer.getAltitude(pressure);
Serial.print("T/P/At");
Serial.print(temperature); Serial.print("t");
Serial.print(pressure); Serial.print("t");
Serial.print(altitude);
Serial.println("");
blinkState = !blinkState;
digitalWrite(LED_PIN, blinkState);
delay(100);
}
So sánh
GY-68 BMP180 I2C Digital Barometric Pressure Sensor Module
5
12
đánh giá
12
đã bán
12.064 ₫
Module cảm biến áp suất không khí GY-68 BMP180 - 4A7
5
10
đánh giá
28
đã bán
13.500 ₫
module cảm biến áp suất không khí BMP180 GY-68 kde3430
0
đánh giá
43.500 ₫
Cảm biến áp suất GY-68 BMP180
0
đánh giá
49.000 ₫
Cảm Biến Áp Suất GY-68 BMP180
0
đánh giá
29.500 ₫
Cảm biến áp suất GY-68 BMP180-linhkiendientubk
0
đánh giá
49.000 ₫
Cảm biến áp suất GY-68 BMP180-linhkiendientubk
0
đánh giá
49.000 ₫
A0126 - Cảm biến áp suất GY-68 BMP180
5
4
đánh giá
7
đã bán
18.000 ₫