I2C Communication for Honeywell pressure sensor

Thread Starter

nirmit27

Joined Mar 5, 2018
6
Hi

I am using Honeywell pressure sensor to measure pressure of air in a pipe.

for this have to use I2C Communication with pic PIC16F1787

Capture.JPG Circuit for this

is my Circuit is perfect ? Help me out
in programming side i used I2C protocol
for Honeywell air pressure sensor's Digital I2C address is 0X49.
to reading data from sensor
the program flow are 1st master send data to slave
>send start condition
> send Digital address (0X48)
> stop condition
2ndly read data from slave means slave response to master
> start condition
> Digital address (0x49)
> than reading data

moreover for same program for RTC DS1307 slave
i am getting data from RTC with RTC address in same program but i am not even getting garbage value for Honeywell sensor for same I2C pin and configuration

so is there any programming change for this particular sensor
is there any additional change for this sensor for I2C protocol programming

Data sheet of Honeywell sensor is
https://sensing.honeywell.com/honey...ow-10-slpm-300-slpm-datasheet-008268-5-en.pdf

please help me out


--

Thank You
Er. Nirmit Patel
9925789327
 

geekoftheweek

Joined Oct 6, 2013
1,221
Does it at least acknowledge the address? I see on the bottom of page 8 they have a 2 mA limit for the I2C pins... could you be trying to sink too much current?

Try I2C address 0xA4 to write and 0xA5 to read.. 0x49 is the 7 bit address..
Didn't catch that... would for sure cause some headaches.
 

Ian Rogers

Joined Dec 12, 2012
1,136
Here is the datasheet's interpretation. As the TS shown he was using 0x49 and 0x48 he was clearly using the full eight bis..


ic2.png
 
Top