| 数据搜索系统,热门电子元器件搜索 |
|
MS8607 数据表(PDF) 2 Page - Humirel |
|
|
|||||||||||||||||||||||||||||
MS8607 数据表(HTML) 2 Page - Humirel |
|
2 / 4 page ![]() MEAS MS8607 DCS FOR ZedBoard Digital Pressure and Humudity Sensor SENSOR SOLUTIONS /// MEAS MS8607 DCS DEVELOPMENT KIT 07/2016 Page 2 Drivers & Software Detailed example software and drivers are available that execute directly, without modification, on a number of development boards that support an integrated or synthesized microprocessor. The download contains several source files intended to accelerate customer evaluation and design. The source code is written in standard ANSI C format, and all development documentation including theory/operation, register description, and function prototypes are documented in the interface file. Functions Summary Enumerations enum ms8607_status { ms8607_status_ok, ms8607_status_i2c_transfer_error, ms8607_status_crc_error, ms8607_status_heater_on_error } enum ms8607_humidity_resolution { ms8607_humidity_resolution_12b, ms8607_humidity_resolution_8b, ms8607_humidity_resolution_10b, ms8607_humidity_resolution_11b } enum ms8607_pressure_resolution { ms8607_pressure_resolution_osr_256, ms8607_pressure_resolution_osr_512, ms8607_pressure_resolution_osr_1024, ms8607_pressure_resolution_osr_2048, ms8607_pressure_resolution_osr_4096, ms8607_pressure_resolution_osr_8192 } enum ms8607_battery_status { ms8607_battery_ok, ms8607_battery_low } enum ms8607_heater_status { ms8607_heater_off, ms8607_heater_on } Functions void ms8607_init (u32) Initializes the AXI address of the AXI IIC Core, initializes the internal humidity resolution variable to 12b, and initializes the internal pressure resolution- oversampling rate to 8192 in order to reflect the sensor’s initial resolution value on reset. enum ms8607_status ms8607_reset (void) Sends both I2C reset commands to the MS8607 device. enum ms8607_status ms8607_read_prom (void) Reads the factory calibrated coefficients for use in temperature and pressure conversion. enum ms8607_status ms8607_set_humidity_resolution (enum ms8607_humidity_resolution) Read the user register from the device, modify its contents to reflect the resolution that is passed in to this function, and then write the updated user register value to the MS8607 device. enum ms8607_status ms8607_set_pressure_resolution (enum ms8607_pressure_resolution_osr) Set the over-sampling rate resolution for pressure measurements. enum ms8607_status ms8607_read_temperature_pressure_humidity (float* temperature, float* pressure, float* relative_humidity) Send the I2C commands to measure temperature, pressure, and humidity. enum ms8607_status ms8607_get_battery_status (ms8607_battery_status* batt_stat) Send I2C command to read battery status. enum ms8607_status ms8607_get_heater_status (ms8607_battery_status* heat_stat) Send I2C command to read heater status. enum ms8607_status ms8607_enable_heater (void) Send I2C commands to perform a read/modify/write operation that will enable the on-chip heater. enum ms8607_status ms8607_disable_heater (void) Send I2C commands to perform a read/modify/write operation that will disable the on-chip heater. float ms8607_compute_dew_point (float Tamb, float RHamb) Compute dew point temperature in degrees C. Project Setup This project is based on a ZedBoard. The FPGA hardware and the console application will be loaded via SD card. You will need: ZedBoard MS8607 sensor for Digilent Pmod™ board SD card ZedBoard power adapter Digilent Pmod ™ is a trademark. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |