The MS4525DO is a small, ceramic based, PCB mounted pressure transducer from TE Connectivity.The transducer creates a low cost, high performance digital output pressure (14bit) and temperature (11bit).
According to MS4525DO datasheet, the sensor has the following range of measured data:
- differential pressure is from -1 psi to +1 psi or from -6894.757 pa to +6894.757 pa.
- temperature is from -50 to +150 Celcius or from 223 to 423 Kelvin.
If we consider temperature ~288 Kelvin and pressure 101325 Pa according to the ISA model differential pressure interval above should be enough for up to 100 m/sec airspeed that is suitable for a wide area of small VTOL application.
Reference | Datasheet |
Requred periphery | I2C |
Unit tests | test_ms4525do.cpp |
Installation:
- Include the header file
ms4525do.h
and source filems4525do.c
in your C/C++ code. - Ensure that the required dependencies are installed, such as the STM32 HAL library or any other libraries specific to your STM32 development environment.
Usage:
- During the boot of your application initialize I2C driver and then call
ms4525doInit()
- Periodically (with rate 10 Hz) call
ms4525doCollectData()
. If it returnsLIBPERIPH_OK
, then callms4525doParseCollectedData()
.
- Sensor connection with Ardupilot based autopilots: https://ardupilot.org/plane/docs/airspeed.html
- Sensor connection with PX4 based autopilots: https://docs.px4.io/main/en/sensor/airspeed.html