I was interrupted and accidentally cut off my message=20 And to get an accurate reading you need to do the temperature calculations.= I decked that while the BMP 180 might be an industry standard there are ot= her sensors that will do the temp compensation in hardware=20 I was able to read the values Ok the issue was in doing the compensation ca= lculations=20 Roger Sent from my iPhone > On Mar 20, 2018, at 10:17 AM, Bob Blick wrote: >=20 > Hi Jim, >=20 > Were you able to find any examples on the web for PIC? If not, you could = get the BMP180 library for Arduino and port it or just see what they are do= ing so you can fix your code. >=20 > Bob > ________________________________________ > From: piclist-bounces@mit.edu on behalf of jim@= jpes.com > Sent: Tuesday, March 20, 2018 9:15 AM > To: piclist@mit.edu > Subject: [PIC]: I2C Communications With A BMP180 Temperature/Pressure/Alt= itude Sensor >=20 >=20 > All, >=20 > Does anyone have any experience with this sensor? I have tried > getting the temperature and pressure > conversions to work, but I'm having no luck so far. I am using > MikroCPro for PIC compiler with the I2C > library. to write my program. I can get the unit ID and the > calibration data from EEPROM. But no matter > what I do, I cannot get the temperature or pressure values. > I've looked on the web for examples, and I'm believe I'm doing > everything correctly. I was just > wondering if there is something that I'm missing. If anyone has any > ideas, please let me know. >=20 > Thanks all, >=20 > Regards, >=20 > Jim >=20 >=20 > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .