MPL115A2 - I2C 대기압/온도센서
(MPL115A2 - I2C Barometric
Pressure/Temperature Sensor)
개요
- 본 센서는 저렴하면서 저전력으로 대기압을 측정하는데 훌륭한 센서입니다.
- 분해능은 1.5hPa 로 BM085(0.03hPa)보다는 정확하지 않습니다만 기본적인 대기압 측정에 훌륭히 사용되는 센서입니다.
- 제품의 PCB에는 센서와 I2C핀상에 10K 풀업저항이 납땜되어 있습니다.
- 2.4V-5.5V 로직전압에서 사용이 가능하여 3V나 5V시스템에서 사용이 가능합니다.
- 센서의 사용은 쉽습니다. 만약 아두이노를 사용하고 있다면, VDD핀을 5V 핀에 연결하고 GND를 그라운드에, SCL 을 I2C Clock(아날로그 5번핀 - 우노의 경우), SDA를 I2C data(UNO의 경우 아날로그 4번)에 연결합니다.
- 그런 후 MPL115A2 Arduino library and example code 를 다운 받아 설치한다음 샘플을 로드합니다.
- 그러면 바로 온도, 대기압, 고도 정보를 시리얼 콘솔에서 확인 할 수 있습니다.
특징
- PCB weight: 0.61g
- Vin: 2.4 to 5.5 VDC
- Logic: 3 to 5V compliant
- Pressure sensing range: 500-1150 hPa (up to 10Km altitude)
- 1.5 hPa / 50 m altitude resolution
튜토리얼
- 데이터 쉬트: MPL115A2 Datasheet
- Using the sensor is easy. For example, if you're using an Arduino, simply connect the VIN pin to the 5V voltage pin, GND to ground, SCL to I2C Clock (Analog 5 on an UNO) and SDA to I2C Data (Analog 4 on an UNO). Then download our MPL115A2 Arduino library and example code for temperature, pressure and basic altitude calculation.Install the library, and load the example sketch. Immediately you'll have the temperature, pressure and altitude data printed in the serial console.