Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

MS8607 Datasheet(PDF) 8 Page - Humirel

No. de pieza MS8607
Descripción Electrónicos  Digital Pressure and Humidity Sensor
PDF  4 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  HUMIREL [Humirel]
Página de inicio  http://www.humirel.com
Logo HUMIREL - Humirel

MS8607 Datasheet(HTML) 8 Page - Humirel

  MS8607 Datasheet HTML 1Page - Humirel MS8607 Datasheet HTML 2Page - Humirel MS8607 Datasheet HTML 3Page - Humirel MS8607 Datasheet HTML 4Page - Humirel  
Zoom Inzoom in Zoom Outzoom out
 8 / 4 page
background image
MEAS MS8607 DCS FOR ZedBoard
Digital Pressure and Humudity Sensor
SENSOR SOLUTIONS /// MEAS MS8607 DCS DEVELOPMENT KIT
07/2016
Page 8
if(stat==ms8607_status_i2c_transfer_error)
printf("Transfer Error.\n");
// Wait for another key press and then display the main menu again
printf("\nPress any key to continue...\n");
read(1, (char*)&key_input, 1);
ms8607_main_menu();
}else if(key_input == '2'){
// If the '2' key is pressed
// Read the PROM coefficients from the MS8607
printf("\n");
printf("Reading PROM Coefficients...\n");
stat = ms8607_read_prom();
// Display status returned from read_prom operation
// and display prom values if successful
printf("Read PROM Complete with status: ");
if(stat==ms8607_status_ok){
prom_read_flag=1;
printf("Ok.\n");
printf("\n");
printf("_________________________________________________\n");
printf("|
PROM Addr
|Coeff (Base 10)|
Coeff (Hex)
|\n");
printf("|---------------+---------------+---------------|\n");
for(i=0;i<7;i++){
printf("|\t%d\t|
%5d\t|
0x%4X\t|\n",i,(unsigned int)ms8607_prom_coeffs[i],(unsigned int)ms8607_prom_coeffs[i]);
}
}else if(stat==ms8607_status_i2c_transfer_error){
printf("Transfer Error.\n");
}
// Wait for another key press and then display the main menu again
printf("\nPress any key to continue...\n");
read(1, (char*)&key_input, 1);
ms8607_main_menu();
}else if(key_input == '3'){
// If the '3' key is pressed
// Display humidity resolution selection menu
printf("\n");
printf("Select a humidity resolution:\n");
printf("
(1)
- 12-Bit Relative Humidity\n");
printf("
(2)
- 11-Bit Relative Humidity\n");
printf("
(3)
- 10-Bit Relative Humidity\n");
printf("
(4)
-
8-Bit Relative Humidity\n");
// Get keyboard input ignoring keypresses that are not or '1' or '2' or '3' or '4'
read(1, (char*)&key_input, 1);
while(key_input!='1' && key_input!='2' && key_input!='3' && key_input!='4'){
read(1, (char*)&key_input, 1);
}
if(key_input == '1'){
// If the '1' key is pressed
// Set humidity resolution to 12-bits
stat = ms8607_set_humidity_resolution(ms8607_humidity_resolution_12b);
printf("\nSetting MS8607 Humidity Resolution to 12-bits\n");
}else if(key_input == '2'){
// If the '2' key is pressed
// Set humidity resolution to 11-bits
stat = ms8607_set_humidity_resolution(ms8607_humidity_resolution_11b);
printf("\nSetting MS8607 Humidity Resolution to 11-bits\n");
}else if(key_input == '3'){
// If the '3' key is pressed
// Set humidity resolution to 10-bits
stat = ms8607_set_humidity_resolution(ms8607_humidity_resolution_10b);
printf("\nSetting MS8607 Humidity Resolution to 10-bits\n");
}else if(key_input == '4'){
// If the '4' key is pressed
// Set humidity resolution to
8-bits
stat = ms8607_set_humidity_resolution(ms8607_humidity_resolution_8b);
printf("\nSetting MS8607 Humidity Resolution to 8-bits\n");
}
// Display the status returned from the set resolution operation
printf("MS8607 Set Humidity Resolution Complete with status: ");
if(stat==ms8607_status_ok)
printf("Ok.\n");
if(stat==ms8607_status_i2c_transfer_error)
printf("Transfer Error.\n");
// Wait for another key press and then display the main menu again
printf("\nPress any key to continue...\n");
read(1, (char*)&key_input, 1);
ms8607_main_menu();
}else if(key_input == '4'){
// If the '4' key is pressed
// Display resolution selection menu
printf("\n");
printf("Select a pressure/temperature resolution (over-sampling rate):\n");
printf("
(1)
- 256\n");
printf("
(2)
- 512\n");



Html Pages

1 2 3 4


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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