Roger, Thanks for your response. But just to be clear, I'm not using Bosch code at all, and I'm not having calculation problems. My immediate issue is that I can't read the Temperature / Pressure results registers in the BMP180. I can read the EEPROM just fine and can read the calibration coefficients\ without any trouble. I can also read the ID register without any trouble. Only when I start a temperature or pressure conversion, wait the appropriate amount of time for the conversion to complete, I'm currently using 25ms to be sure, and then try to read the results do I have a problem. My code basically just hangs up. =20 I'm going to keep plugging away and trying different things until I get it working. I have ordered a couple more sensors just in case there is something wrong with the one I have. I may be chasing an internal problem with the sensor, ie.. It might have gotten damaged somehow. I have had it for a while and it has been stashed in a cabinet for some time, so getting damaged is not out of the question. Regards, Jim > -------- Original Message -------- > Subject: Re: [PIC]: I2C Communications With A BMP180 > Temperature/Pressure/Altitude Sensor > From: Roger Morrell > Date: Tue, March 20, 2018 12:29 pm > To: "Microcontroller discussion list - Public." >=20 >=20 > I did some work around this a while back. From memory there was a problem= with some of the Bosch code as it used shifting to divide and this did not= work properly when doing negative numbers.=20 >=20 > I was using it to calculate altitude and=20 > Sent from my iPhone >=20 > > 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 coul= d get the BMP180 library for Arduino and port it or just see what they are = doing so you can fix your code. > >=20 > > Bob > > ________________________________________ > > From: piclist-bounces@mit.edu on behalf of ji= m@jpes.com > > Sent: Tuesday, March 20, 2018 9:15 AM > > To: piclist@mit.edu > > Subject: [PIC]: I2C Communications With A BMP180 Temperature/Pressure/A= ltitude 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 >=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 .