MS5803-30BA
Miniature 30 bar Module
SENSOR SOLUTIONS ///MS5803-30BA
09/2015
Page 7
FUNCTIONAL DESCRIPTION
Figure 1: Block diagram of MS5803-30BA
GENERAL
The MS5803-30BA consists of a piezo-resistive sensor and a sensor interface IC. The main function of the MS5803-
30BA is to convert the uncompensated analogue output voltage from the piezo-resistive pressure sensor to a 24-
bit digital value, as well as providing a 24-bit digital value for the temperature of the sensor.
FACTORY CALIBRATION
Every module is individually factory calibrated at two temperatures and two pressures. As a result, 6 coefficients
necessary to compensate for process variations and temperature variations are calculated and stored in the 128-
bit PROM of each module. These bits (partitioned into 6 coefficients W1 to W6) must be read by the microcontroller
software and used in the program converting D1 and D2 into compensated pressure and temperature values.
The 2 coefficients W0 and W7 are for factory configuration and CRC.
SERIAL INTERFACE
The MS5803-30BA has built in two types of serial interfaces: SPI and I
2
C. Pulling the Protocol Select pin PS to low
selects the SPI protocol, pulling PS to high activates the I
2
C bus protocol.
Pin PS
Mode
Pins used
High
I
2
C
SDA, SCL, CSB
Low
SPI
SDI, SDO, SCLK, CSB
SPI MODE
The external microcontroller clocks in the data through the input SCLK (Serial CLocK) and SDI (Serial Data In). In
the SPI mode module can accept both mode 0 and mode 3 for the clock polarity and phase. The sensor responds
on the output SDO (Serial Data Out). The pin CSB (Chip Select) is used to enable/disable the interface, so that
other devices can talk on the same SPI bus. The CSB pin can be pulled high after the command is sent or after the
end of the command execution (for example end of conversion). The best noise performance from the module is
obtained when the SPI bus is quiet and without communication to other devices during the ADC conversion in
progress.
VDD
GND
PS
SCLK / SCL
SDO
SDI / SDA
Meas. MUX
ADC
Digital
Interface
Memory
(PROM)
128 bits
SENSOR
SGND
+IN
-IN
dig.
Filter
Sensor
Interface IC
PGA
CSB
MS5803-30BA
Miniature 30 bar Module
SENSOR SOLUTIONS ///MS5803-30BA
09/2015
Page 8
I
2
C MODE
The external microcontroller clocks in the data through the input SCLK (Serial CLocK) and SDA (Serial DAta). The
sensor responds on the same pin SDA which is bidirectional for the I
2
C bus interface. So this interface type uses
only 2 signal lines and does not require a chip select, which can be favorable to reduce board space. In I
2
C-Mode
the complement of the pin CSB (Chip Select) represents the LSB of the I
2
C address. It is possible to use two sensors
with two different addresses on the I
2
C bus. The pin CSB shall be connected to VDD or GND (do not leave
unconnected!).
Pin CSB
Address (7 bits)
High
0x76 (1110110 b)
Low
0x77 (1110111 b)
COMMANDS
The MS5803-30BA has only five basic commands:
1. Reset
2. Read PROM (128 bit of calibration words)
3. D1 conversion
4. D2 conversion
5. Read ADC result (24 bit pressure / temperature)
Size of each command is 1 byte (8 bits) as described in the table below. After ADC read commands the device will
return 24 bit result and after the PROM read 16bit result. The address of the PROM is embedded inside of the
PROM read command using the a2, a1 and a0 bits.
Command byte
hex value
Bit number
0
1
2
3
4
5
6
7
Bit name
PRM
COV
-
Typ
Ad2/
Os2
Ad1/
Os1
Ad0/
Os0
Stop
Command
Reset
0
0
0
1
1
1
1
0
0x1E
Convert D1 (OSR=256)
0
1
0
0
0
0
0
0
0x40
Convert D1 (OSR=512)
0
1
0
0
0
0
1
0
0x42
Convert D1 (OSR=1024)
0
1
0
0
0
1
0
0
0x44
Convert D1 (OSR=2048)
0
1
0
0
0
1
1
0
0x46
Convert D1 (OSR=4096)
0
1
0
0
1
0
0
0
0x48
Convert D2 (OSR=256)
0
1
0
1
0
0
0
0
0x50
Convert D2 (OSR=512)
0
1
0
1
0
0
1
0
0x52
Convert D2 (OSR=1024)
0
1
0
1
0
1
0
0
0x54
Convert D2 (OSR=2048)
0
1
0
1
0
1
1
0
0x56
Convert D2 (OSR=4096)
0
1
0
1
1
0
0
0
0x58
ADC Read
0
0
0
0
0
0
0
0
0x00
PROM Read
1
0
1
0
Ad2
Ad1
Ad0
0
0xA0 to
0xAE
Figure 2: Command structure
MS5803-30BA
Miniature 30 bar Module
SENSOR SOLUTIONS ///MS5803-30BA
09/2015
Page 9
PRESSURE AND TEMPERATURE CALCULATION
Figure 3: Flow chart for pressure and temperature reading and software compensation.
Size
[1]
[bit] min max
C1
Pressure sensitivity | SENS
T1
unsigned int 16 16 0 65535 29112
C2
Pressure offset | OFF
T1
unsigned int 16 16 0 65535 26814
C3 Temperature coefficient of pressure sensitivity | TCS unsigned int 16 16 0 65535 19125
C4 Temperature coefficient of pressure offset | TCO unsigned int 16 16 0 65535 17865
C5
Reference temperature | T
REF
unsigned int 16 16 0 65535 32057
C6 Temperature coefficient of the temperature | TEMPSENS unsigned int 16 16 0 65535 31305
D1
Digital pressure value unsigned int 32 24 0 16777216 4944364
D2
Digital temperature value unsigned int 32 24 0 16777216 8198974
dT
Difference between actual and reference temperature
[2]
dT = D2 - T
REF
= D2 - C5 * 2
8
signed int 32 25 -16776960 16777216 -7618
1971
= 19.71 °C
OFF
Offset at actual temperature
[3]
OFF = OFF
T1
+ TCO * dT = C2 * 2
16
+ (C4 * dT ) / 2
7
signed int 64 41 -8589672450 12884705280 1756219057
SENS
Sensitivity at actual temperature
[4]
SENS = SENS
T1
+ TCS * dT = C1 * 2
15
+ (C3 * dT ) / 2
8
signed int 64 41 -4294836225 6442352640 953372897
59998
= 5999.8 mbar
Notes
[1]
[2]
[3]
[4]
Calculate temperature compensated pressure
8500
-4000
TEMP
41
Convert calibration data into coefficients (see bit pattern of W1 to W4)
Variable
Example /
Typical
Value
Recommended
variable type
Description | Equation
signed int 32
Actual temperature (-40…85°C with 0.01°C resolution)
TEMP = 20°C + dT * TEMPSENS = 2000 + dT * C6 / 2
23
Read digital pressure and temperature data
signed int 32
Temperature compensated pressure (0…30bar with
0.1mbar resolution)
P = D1 * SENS - OFF = (D1 * SENS / 2
21
- OFF) / 2
13
min and max have to be defined
min and max have to be defined
min and max have to be defined
Maximal size of intermediate result during evaluation of variable
300000
0
58
P
Start
Maximum values for calculation results:
P
MIN
= 0mbar P
MAX
= 30bar
T
MIN
= -40°C T
MAX
= 85°C T
REF
= 20°C
Read calibration data (factory calibrated) from PROM
Read digital pressure and temperature data
Calculate temperature
Calculate temperature compensated pressure
Display pressure and temperature value

MS580330BA01-00

Mfr. #:
Manufacturer:
TE Connectivity / Measurement Specialties
Description:
Board Mount Pressure Sensors MS5803-30BA 30BAR WHITE GEL
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet