Differential pressure sensor, I2C, SDA, SCl Code?

I am trying to write the code which will enable an arduino uno to process data coming from a differential pressure sensor.

It has all been wired and set up correctly and I have downloaded the arduino software and have connected the arduino to a computer via a USB A to USB B cable

Differential Pressure Sensor: OMRON D6F-PH0025AD1

Data Sheet: https://www.omron.com/ecb/products/pdf/en-d6f_ph.pdf

It is connected to the SDL and SCA ports on the arduino.

I need the arduino to show the hex differential pressure value calculated by the sensor onto my computer so i can convert it into a pressure reading.

thanks

Chris

This link should help you get started. Good luck. :slight_smile:

Gammon Forum : Electronics : Microprocessors : I2C - Two-Wire Peripheral Interface - for Arduino

:fearful: thanks i'll check it out

D6F-PH : https://www.omron.com/ecb/products/sensor/61/d6f-ph.html
The Application Note shows the registers.

Here is some code, the code in the last post might work : Omron sensor and i2c - Sensors - Arduino Forum