Pressure sensor xgzp6867

hey guys i got this project to do with the presssure sensor xgzp6867 ... i need to see if the pressure of a vacuum pump is higher or below 95kpa anyone can help me with the code pleaseee :slightly_smiling_face: i'am still new with the arduino

Which xgzp6867xxx
There are analogue/digital/3.3volt/5volt versions.
Which Arduino.
Leo..

arduino uno ,power supply 5v,analogue

Wawa is referring to this:

I can find only one datasheet: https://www.micros.com.pl/mediaserver/CZ_XGZP6867a010kpg_0001.pdf

The XGZP6867 does not show in the sensors in the English section: http://www.cfsensor.com/prolist/0.html Warning, some browsers detect security problems

The I2C version (XGZP6867D) is mentioned in the Chinese section: http://www.cfsensor.cn/zcxzinfo/14.html Warning, some browsers detect security problems

There is code on this forum and on Github for the I2C model. The trick is to wait between the commands. I could not find a datasheet for the I2C commands.

For the analog model, connect it to a analog input and do a analogRead() and send that value to the Serial Monitor. If that works, then some math is needed to calculate the pressure.

taib1, is there something written on the sensor ? Can you try to read that ?
Is the datasheet from micros.com.pl enough information for you to connect it ? Do not connect the unused pins. Unused pins for a pressure sensor are sometimes connected to the internal circuit which are used during the production.
Store that datasheet on your computer.

1 Like

i did tho i'am havin sum troubles with writing the code out still new with the arduino tbh xo

Arduino is open source and everything is online. You can start here: https://www.arduino.cc/en/Tutorial/BuiltInExamples/ReadAnalogVoltage

Can you draw on a piece of paper how you are going to connect the sensor to the Arduino ? Make a photo and upload it so we can see it.

If we knew something about your vac pump, we might suggest an alternative way to test it's pressure.

Hi, @taib1
Welcome to the forum.

Please explain pressure of a vacuum pump, I think you mean -95kpa.

Will your sensor measure negative pressure.
Can you tell us the exact part number, that is all the numbers/letters, in the part number, this will establish if you have a gauge neg or gauge neg/pos?
A link to where you purchased your sensor would be good.

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

1 Like

this the datasheet of the sensor it meusres neg/pos (-100kPa~0kPa…700kPa)

The A010 is analogue 0-10kPa, no vacuum.
Leo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.