Home

Serial Enabled Air Pressure Sensor Module User's Guide

image

Contents

1. 1 2 Features DC 3 3V or 5V power supply e SPI interface 8 UART interface e High measurement accuracy and stability e DIP like packaging facilitates integration 1 3 Applications Mobile phones e GPS receivers e Altimeter applications Personal Navigation Devices PND Digital cameras with altimeter function 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 1 e SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE e Chapter 2 Hardware Detail 2 1 Pin Description TABLE 2 1 PIN DESCRIPTION sensor clock 32 768 KHz Input Selection of SPI and UART interface When this pin is given SPISEL low level UART is available When this pin is given high level is available Serial Data Receive Serial Data Transmit Not connected m 13 15 17 19 Ground 20 23 24 21 22 3 3V 3 3V supply Note 1 Do not use SV and 3 3V power supply simultaneously 2 pins the module 3 3V is high level and OV is low level 1 5 6 7 8 14 16 18 12 RA TX NC CL O DI V ND S SD S 5 G MB SM11111 Ver1 0 Page2 2004 2011 Sure Electronics Inc e SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE electronics USER S GUIDE Chapter 3 Electrical Characteristics 3 1 Operating Conditions of MS5561 TABLE 3 1 PARAMETERS Note Storage and operation in an environment of dry and non corrosive gases 3 2 Operating Conditions of M
2. T EE isss kemana aj aa lt lt lt 9 10110 e1njpJedua 40 Temperature C FIGURE 3 5 PRESSURE ERROR ACCURACY VS TEMPERATURE TYPICAL Pressure Error Accuracy vs temperature typical 1000 1st order 1000 2nd order 800 1st order 800 2nd order gt e 4 QN 10119 91055914 300 1st order 300 2nd order Temperature 2004 2011 Sure Electronics Inc ge 6 MB SM11111 Ver1 0 Pa Electrical Characteristics FIGURE 3 6 PRESSURE ERROR VS SUPPLY VOLTAGE TYPICAL Pressure error vs supply voltage typical 300mbar 1000mbar 800mbar lt gt 36 4 1 1011 81766814 Voltage V FIGURE 3 7 TEMPERATURE ERROR VS SUPPLY VOLTAGE TYPICAL Temperature error vs supply voltage typical 9 10146 eanje1edue Voltage V ge 7 MB SM11111 Ver1 0 Pa 2004 2011 Sure Electronics Inc SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE electronics USER S GUIDE Chapter 4 SPI Interface FIGURE 4 1 EXTERNAL MCU CONNECTION SCHEMATIC ON BOARD MCU USED 0000000000000 External MCU With M SDO Serial Data Out M SDI Serial Data In M SCL Serial Clock 32768 2 Oscillator at 32 768 kHz for 55561 SPISEL External microcontroller selection When SPISEL is given low level on bo
3. With M SDO Serial Data Out M SDI Serial Data In M SCL Serial Clock 32768 7 Oscillator at 32 768 kHz for 55561 SPISEL External microcontroller selection RXD Serial Data Receive TXD Serial Data Transmit When SPISEL is given low level on board microcontroller is used to do operations to 56651 as shown in figure 4 1 When SPISEL is given high level you can use external microcontroller to do operations to MS6651 as shown in figure 4 2 When an external microcontroller is used the on board MCU doesn t work Following are details of UART communication FIGURE 5 1 UART COMMUNICATION CONNECTION SCHEMATIC GND 5 1 UART Configuration Baud rate 9600bps Start bit 1bit Data bit 8bits Parity bit Obit Stop bit 1bit Note UART level is COMS level High level is 3 3V and low level OV MB SM11111 Ver1 0 Page 12 2004 2011 Sure Electronics Inc Serial Enabled Air Pressure Sensor Module 5 2 UART Command 5 3 Examples TABLE 5 1 COMMAND SET Output the current temperature value Temperature in C is displayed in the first line Temperature in displayed in the second line Output the current air pressure with the unit of Pa Output the current height Output temperature value in Output temperature value in Test mode Serial port keeps on outputting temperature in and the current air pressure Note e UART commands shall start with s
4. SURE electronics Serial Enabled Air Pressure Sensor Module User s Guide 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 BAROMETER MODULE SURE USER S GUIDE amp electronics Table of Contents Chapter 1 Overview reer EE 1 Ted OVCRVICW 1 1 2 I CANIN CS NA GG Pana 1 1 3 ADDUGANONS eoi 1 Chapter 2 Hardware Detail isss aa 2 2 1 IPIiDescriBlioli ici tei Deo ine e ad 2 Chapter 3 Electrical Characteristics 2 3 3 1 Operating Conditions of 55561 3 3 2 Operating Conditions of Module 3 2 2 Digital INDUS m PL 4 3 4 DIG al OUIDUIS ont dos tu E dos 4 3 5 Pressure Output Characteristics 4 3 6 Temperature Output Characteristics 5 3 7 Typical Characteristi6S pte a agi aa 5 Chapter ASPAR ioi eua a ana eue Eu aana 8 Chapter 5 UART Interface sasana aapa dendo ck ud San opu e Ed cte a 12 5 1 UART ConliguratiOl ooo omae Mor te agan aa aa
5. 4 Start bit Stop bit address word 2 11 1100 0 Note The 0 added after the frame is placed to have one more clock after the stop bits on the SCLK line The other frames become Conversion start for pressure measurement D1 OFh amp 40h Conversion start for temperature measurement D2 OFh amp 20h Read calibration word 1 W1 1Dh amp 50h Read calibration word 2 W2 1Dh amp 60h Read calibration word 3 W3 1Dh amp 90h Read calibration word 4 W4 1Dh amp AOh Reset sequence command 15h amp 55h amp 40h With SPI protocol two parameters need to be checked or adjusted during the configuration of microcontroller s SPI module Clock Idle state must be low Transmission must occur on rising edge of the serial clock when the microcontroller wants to send data received by the sensor On the other side when the microcontroller wants to receive data sent by the sensor transmission must occur on the falling edge of the clock 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 9 SPI Interface FIGURE 4 4 TRANSMISSION uController Sensor FIGURE 4 5 FLOW CHART FOR PRESSURE AND TEMPERATURE READING AND SOFTWARE COMPENSATION Basic equations Example 5 Read calibration data factory calibrated from Wordi 46940 5 PROM of M35561 Word2 40217 en Word1 Word2 Word3 and Word4 4x16 Bit Word3 25172 Worda4 47212 Prassure
6. Power the module b Send commands to the module via the port For example send sure P to the module and then the current air pressure will be displayed on the computer FIGURE 5 2 OBTAIN THE CURRENT AIR PRESSURE 1 2 ij a 3 HEHEHEHEHEHEHRHEHE HRS B d d MB SM11111 Ver1 0 Page 14 2004 2011 Sure Electronics Inc SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE e electronics USER S GUIDE Chapter 6 Mechanical Drawing FIGURE 6 1 MECHANICAL DRAWING 1 10inch 27 90mm BARO OUALOR 818 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 15 e SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE electronics USER S GUIDE Chapter 7 Notes Humidity and Water Protection This module is designed for the integration into portable devices and sufficiently protected against humidity A silicone gel for enhanced protection against humidity covers the membrane of the pressure transducer The module must not be used for under water applications Light Sensitivity The MS5561 is protected against sunlight by its metal cap It is however important to note that the sensor may still be slightly sensitive to sunlight especially to infrared light sources This is due to the strong photo effect of silicon As the effect is reversible there will be no damage but the user has to take care that in the final product the sensor cannot be exposed
7. sensitivity C1 23470 Pressure offset C22 1324 Temperature coefficient of pressure sensitivity 1 it 737 Temperature coefficient of pressure offset 1 it CA 303 Reference Temperature i Temperature coefficient of the temperature 6 ES 628 25 Read digital pressure value from MS5561 D1 16 Bit D1 16460 a bu j Read digital temperature value from M55561 D2 16 Bit D2 27856 ks c Calculate calibration temperature 25248 UT 8 5 20224 2 Calculate actual temperature 4 Difference between actual temperature and reference E tempe ratune dT D2 2 Tyr 2608 oT D2 UT T e p Actual temperature EMP D2 20 aT D2 TEMPSENS TEMP 391 TEMP 200 dT C6 50 2 0 1 resolution 39 1 Calculate temperature compensated pressure Ofset at actual temperature OFF D2 OF FT 14 TCO aT De OFF 5220 OFF C2 4 C4 512 dTy2 Sensitivity at actual temperature SENS D2 SENSTI TCS dT D2 SENS 42223 SENS C3 dTy2 24576 X SENS Di 7168 2 OFF Litlar tap P D1 D2 D1 SENS D2 OFF D2 PlXUu 25010 0 1 mbar resolution P 2718 971 6 mbar Display pressure and temperature value Note 1 Readings of D2 can be done less frequently but the display will be less stable in this case 2 For a stable display of 0 1 mbar resolution it is recommended to display the av
8. to direct light during operation MB SM11111 Ver1 0 Page 16 2004 2011 Sure Electronics Inc Tik SENSOR MODULE electronics USER S GUIDE Chapter 8 Contact Us e SERIAL ENABLED AIR PRESSURE o SURE e Sure Electronics Co Ltd East zone 3F Building 6 Jingang Technology Innovation Center No 108 Ganjiabian Rd ZIP 210000 Qixia District Nanjing P R China Tel 86 25 68154800 860 Fax 86 25 68154891 832 Website www sure electronics com Email customerservice sure electronics com 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 17
9. aia 12 5 2 UART Comnmarid oce asec eed 13 9 3 EXAMP S noe A again aa nada a a T ta o 13 HOW TO USO a a hla bak lasta 14 Chapter 6 Mechanical 15 Chapter 7 e H 16 Chapter 0 COMNAC vm 17 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Pagei Serial Enabled Air Pressure Sensor Module NOTES Product Version Ver 1 0 Document Version Ver 1 0 I 4 MB SM11111 Ver1 0 Page ii 2004 2011 Sure Electronics Inc e SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE electronics USER S GUIDE Chapter 1 Overview 1 1 Overview Thanks for purchasing the air pressure sensor module by Sure Electronics This module is an accurate pressure and temperature measuring device utilizing 55561 sensor PIC16F690 Pressure and temperature values can be directly obtain via SPI or UART interface on the module eliminating complicated calculation process Original calibration data can be directly obtained from 5561 It allows for use of other microprocessors to do operations to 55561 A DIP like design is adopted facilitating system integration FIGURE 1 1 OVERVIEW 6 0 6 0 0 6 0 6 2 TI IT D CD 0 6 6 O Note All the diagrams in this manual are for reference only
10. ard microcontroller is used to do operations to 56651 as shown in figure 4 1 When SPISEL is given high level you can use external microcontroller to do operations to 56651 as shown in figure 4 2 When an external microcontroller is used the on board MCU doesn t work Following is the process Example reading calibration words 2 and 4 on a 55561 MB SM11111 Ver1 0 Page 8 2004 2011 Sure Electronics Inc Serial Enabled Air Pressure Sensor Module FIGURE 4 2 EXAMPLE READING CALIBRATION WORDS 2 AND 4 ON A MS5561 Calibration data read out sequence for word 2 word 4 Q j l ndhi E i T TT to oa i i i DIN sequence t read address sepe pepe eheu Start bit Stop bit F ALT address word 2 E 1 Extract from MS5534B datasheet Fig 6c page 13 address word 4 The frame to be sent is 1 1 1 0 1 0 1 1 0 0 0 0 for calibration word 2 With SPI protocol it is only possible to send 8 bits at a time one byte The frame must be divided by two and some 0 must be placed before and after the frame to complete the two bytes It becomes 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 0 Separated in bytes 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 0 In Hexadecimal 1Dh 60h FIGURE 4 3 CALIBRATION FOR WORD 2 mm all l Fs sequence coefficient read address EM 15 22 29 20
11. erage of 8 subsequent pressure values MB SM11111 Ver1 0 Page 10 2004 2011 Sure Electronics Inc Serial Enabled Air Pressure Sensor Module FIGURE 4 6 ARRANGEMENT BIT PATTERN OF CALIBRATION DATA IN WORD1 WORD4 E Cail CA 15 bit 1 bit v eese Te Te T Te TT TT TT Te 10 bit 6 6 bit v e Te Te Te Te oe om Te Te Te ET T9 TT T C4 10 bit 6 bit v e Te Te TT T Te om TT T C3 10 bit 6 bit wa pe Te Te Te T Te Te Te T eT Te Te T In order to obtain best accuracy over the whole temperature range it is recommended to compensate for the non linearity of the output of the temperature sensor This can be achieved by correcting the calculated temperature and pressure by a second order correction factor The second order factors are calculated as follows FIGURE 4 7 FLOW CHART FOR CALCULATING THE TEMPERATURE AND PRESSURE TO THE OPTIMUM ACCURACY lt TEMP 200 7 lt 200 lt TEMP lt 450 lt gt 450 7 5 yes yas Low temperatures No correction High temperatures T2 C6 24 200 TEMP 200 TEMP 2 2 3 C6 24 450 1450 TEMP 2 P2 3 T2 P 3500y2 Pa T2 P 100002 Calculate pressure and temperature TEMP TEMP T2 P P Pa 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 11 e SERIAL ENABLED AIR PRESSURE SURE SENSOR MODULE e electronics USER S GUIDE Chapter 5 UART Interface
12. odule TABLE 3 2 PARAMETERS 25 Voo 3 0 V OR Parameter Symbol Operating pressure range Supply current average during conversion 2 standby no conversion Current E MCLK 32 768 consumption into MCLK Operating temperature range MCLK 32 768 Conversion time sony External clock 4 MCLK 30 000 32 768 35 000 signal sex 99 wa Note 1 Under the assumption of one conversion every second Conversion means either a pressure or a temperature measurement started by a command to the serial interface of 55561 2 During conversion the sensor will be switched on and off in order to reduce power consumption the total on time within a conversion is about 2 ms 3 It can be reduced by switching off MCLK while MS5561 is in standby mode 4 is strongly recommended that a crystal oscillator be used because the device is sensitive to clock jitter A square wave form of the clock signal is a must 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 3 Serial Enabled Air Pressure Sensor Module 3 3 Digital Inputs TABLE 3 3 PARAMETERS 40 C TO 85 3 3 V OR 5V Syma wn typ we uw Trout oh Votage va 29 asorte vi oe Tv 200 Signal Fat Tine Tia 3 4 Digital Outputs TABLE 3 4 PARAMETERS 40 C 85 C Vpp 3 3V OR 5V Outp
13. tics This temperature information is not required for most applications but it is necessary to allow for temperature compensation of the pressure output TABLE 3 6 PARAMETERS Typ T 20 T 40 to 85 C 0 8 3 EZ 000 NEN lt lt Maximum Error over 2 Vpp 2 2V to 3 6 V 0 2 Supply Voltage Note 1 With the second order temperature compensation as described in Section FUNCTION See next section for typical operating curves 2 AtTa 25 C 3 7 Typical Characteristics FIGURE 3 1 ADC VALUE D1 VS PRESSURE TYPICAL ADcC walue Di vs Pressure typical 22000 20000 18000 16000 14000 ADC value Di LSB 300 400 500 600 Foo Boo Boo 1000 1100 Pressure mbar FIGURE 3 2 ADC VALUE D2 VS TEMPERATURE TYPICAL D2 vs Temperature typical 40000 33000 30000 D2 LSB 25000 20000 gt A 15000 2004 2011 Sure Electronics Inc MB SM11111_Ver1 0_Page 5 Serial Enabled Air Pressure Sensor Module FIGURE 3 3 ABSOLUTE PRESSURE ACCURACY Absolute Pressure Accuracy after Calibration 2nd order compensation equi 40118 81155814 Pressure mbar FIGURE 3 4 TEMPERATURE ERROR ACCURACY VS TEMPERATURE TYPICAL typical Temperature Error Accuracy vs temperature standard Temperature error with 2nd order calculation calculation Temperature error
14. ure and followed by a space 0x20 end with enter e UART commands shall be expressed in ASCII e UART commands are not case sensitive e Altitude is gotten when sea level is one standard air pressure If sea level is not one standard air pressure the altitude won t be accurate but only relative height will be obtained For example the altitude of location A is 50m and altitude of location B is 90m B is relatively 40m higher than A The tolerance is 10m e n Test mode pressing any key can exit 1 Current Temperature sure t Temperature C amp F 0016 8 Celsius 0062 2 Fahrenheit 2 Current Air Pressure sure p Air pressure 1010 9 mbar 3 Current Height sure h Height 00020 meters 4 Current Temperature in sure Temperature C 0018 3 Celsius 5 Current Temperature in sure t f Temperature F 0065 3 Fahrenheit 6 Test Mode sure test Enter auto sending mode press any key to exit Air pressure 1011 1 mbar Temperature C 0018 3 Celsius Air pressure 1011 1 mbar 2004 2011 Sure Electronics Inc MB SM11111 Ver1 0 Page 13 UART Interface Temperature C 0018 3 Celsius Air pressure 1011 1 mbar Temperature C 0018 3 Celsius Air pressure 1011 1 mbar Temperature C 0018 3 Celsius k The auto sending mode has exited 7 Bad Command If commands entered are wrong it will return Bad command For example sure kl bad command 5 4 How to Use a
15. ut Low Votage va lan 06ma o 066 V SignalRiseTime t 200 e 200 rs 3 5 Pressure Output Characteristics With the calibration data stored in the interface IC of the MS5561 the following characteristics can be achieved Von 3 0 V unless noted otherwise TABLE 3 5 PARAMETERS 300 to 1000 mbar Resolution mbar 25 Absolute Pressure 750 to 1100 mbar 1 5 1 5 Accuracy 25 Relative Pressure 750 to 1100 mbar 3 0 5 0 5 mbar Accuracy 25 T Oto 50 C l 1 1 mbar Relative Pressure Error E 300 to 1000 mbar over Temperature 40 to 85 mbar p 300 to 1000 mbar Long term Stability 12 months mbar Maximum Error over mbar Supply Voltage Note 1 A stable pressure reading of the given resolution requires taking the average of 2 to 4 subsequent pressure values due to noise of the ADC 2 Maximum error of pressure reading over the pressure range 3 Maximum error of pressure reading over the pressure range after offset adjustment at one pressure point 4 With the second order temperature compensation as described in Section FUNCTION See next section for typical operating curves 5 The long term stability is measured with non soldered devices MB SM11111 Ver1 0 Page 4 2004 2011 Sure Electronics Inc Electrical Characteristics 3 6 Temperature Output Characteris

Download Pdf Manuals

image

Related Search

Related Contents

MODE D`EMPLOI  OSS Operations  Design Dynamics DVF-36S-N User's Manual  Integral 32GB DDR3 1333MHz  Hitachi CP-A352WNM overhead projector  Descargar Manual 1  Samsung 941MG Uporabniški priročnik  Rotel RE-860 User's Manual  Omega DX10 / Epander EX10R - Wersi  Urban Revolt Lace  

Copyright © All rights reserved.
Failed to retrieve file