The XGZP6847D is a digital pressure sensor that offers quick and precise pressure readings in air circuits. Unlike the commonly available analog versions in maker applications, this digital variant provides more accurate and temperature-calibrated readings. With a range of 0-10 bar, the XGZP6847D is versatile for a wide array of projects.
For more information, visit the manufacturer's website: CFSensor XGZP6847D
This library was created for easy and efficient use in your projects. Should work with any Arduino / ESP32 / STM32 project
- Digital Precision: Offers more precise readings compared to analog sensors, especially useful in temperature-variable environments.
- Calibration: Self-calibration with integrated temperature sensor
- Wide Range: Capable of measuring pressures from 0 to 10 bar, suitable for diverse applications.
- I2C Communication: Utilizes I2C for data transfer. The sensor has a fixed address of 0x6D.
- Multiplexer Compatibility: Designed to work with a TCA9548A multiplexer, this library simplifies connecting multiple sensors to a project. It can manage up to 8 sensors with ease.
- Initialization: Create an object, for example,
XGZP6847D pressure1(3);
where3
is the communication channel on the multiplexer. - Reading Pressure:
pressure1.readPressure()
returns the pressure converted into bar. - Reading Temperature:
pressure1.readTemperature()
provides the temperature in Celsius, which is useful for applications without the need for a separate temperature sensor.
- Temperature Calibration: fixed
- Read Negative Value: fixed
- Add int readPressurePa(): received data in Pascal
This library requires a TCA9548 multiplexer for proper operation. Each sensor must be initialized with its I2C address corresponding to the correct port on the multiplexer using the Wire.h
library.