Anyone used the Bosch BMP085 I2C baro sensor yet ?


Results 1 to 40 of 52

Threaded View

  1. #19
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Barking at the hardest tree ?

    No the title is right....

    I've just done some reading at Melabs about Longs in the recent versions of PBP and how they work with 18F series PIC's. I now think I may be doing sensor this the hard way with trying to use a 12F or 16F PIC.

    A broad question: If the math involved in using this sensor only uses Longs and no floating point, can I use a 18FXXXX PIC to crunch the signed math, or is there a likely newbie Longs trap to fall into ?

    I'd copy/paste the data sheets equations here to show you, but it's copy/paste protected. I'll attach it as a file.
    It's only the last conversion from pressure to altitude that seems to use a float, and I can worry about that when I get that far (I hope). Page 12 is the guts of it.
    Attached Images Attached Images

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts