công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MPL3115A2 bảng dữ liệu(PDF) 4 Page - SparkFun Electronics

tên linh kiện MPL3115A2
Giải thích chi tiết về linh kiện  MPL3115A2 Pressure Sensor Hookup Guide
PDF  6 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SPARKFUN [SparkFun Electronics]
Trang chủ  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

MPL3115A2 bảng dữ liệu(HTML) 4 Page - SparkFun Electronics

  MPL3115A2 Datasheet HTML 1Page - SparkFun Electronics MPL3115A2 Datasheet HTML 2Page - SparkFun Electronics MPL3115A2 Datasheet HTML 3Page - SparkFun Electronics MPL3115A2 Datasheet HTML 4Page - SparkFun Electronics MPL3115A2 Datasheet HTML 5Page - SparkFun Electronics MPL3115A2 Datasheet HTML 6Page - SparkFun Electronics  
Zoom Inzoom in Zoom Outzoom out
 4 / 6 page
background image
Pressure readings!
Explanation of Functions
The library and example code demonstrate the most popular functions
supported by the MPL3115A2. Here is an explanation of all the available
functions in the library:
• myPressure.begin() gets sensor on the I C bus.
• myPressure.readAltitude() returns a float with meters above sea
level. Ex: 1638.94
• myPressure.readAltitudeFt() returns a float with feet above sea
level. Ex: 5376.68
• myPressure.readPressure() returns a float with barometric pressure
in Pa. Ex: 83351.25
• myPressure.readTemp() returns a float with current temperature in
Celsius. Ex: 23.37
• myPressure.readTempF() returns a float with current temperature in
Fahrenheit. Ex: 73.96
• myPressure.setModeBarometer() puts the sensor into Pascal
measurement mode.
• myPressure.setModeAltimeter() puts the sensor into altimetry
mode.
• myPressure.setModeStandy() puts the sensor into Standby mode.
Required when changing CTRL1 register.
• myPressure.setModeActive() starts taking measurements!
• myPressure.setOversampleRate(byte) sets the # of samples from
1 to 128. See note below *
• myPressure.enableEventFlags() sets the fundamental event flags.
Required during setup.
When you call the readAltitude, readAltitudeFt, readPressure, or readTemp
you will get a float with the sensor reading or an error code:
• 1638.94 is an example of a valid reading.
• -999 indicates that I2C timed out (512ms max). Check your
connections.
Oversample settings
2
Page 4 of 6



Html Pages

1 2 3 4 5 6


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com