B4R Library BMP180 - Pressure And Temperature - B4X

B4X Programming Forum
  • Home
  • Products B4A B4i B4J B4R
  • Showcase
  • Store
  • Learn General Guides Video Tutorials Glossary
  • Teach
  • Blog
  • Forums #B4X Discord (unofficial) B4X Facebook Group B4X Github
  • New posts What's new New profile posts Latest activity
  • Members Current visitors New profile posts Search profile posts
Log in Register What's new
  • #B4X Discord (unofficial)
  • B4X Facebook Group
  • B4X Github
Menu Log in Register Install the app Install
  • Welcome to B4X forum! B4X is a set of simple and powerful cross platform RAD tools:
    • B4A (free) - Android development
    • B4J (free) - Desktop and Server development
    • B4i - iOS development
    • B4R (free) - Arduino, ESP8266 and ESP32 development
    All developers, with any skill level, are welcome to join the B4X community.
  • Home
  • Forums
  • B4R - Arduino, ESP8266 and ESP32
  • B4R Libraries
You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser. B4R LibraryBMP180 - Pressure and temperature
  • Thread starter Erel
  • Start date Jun 9, 2016
  • Similar Threads Similar Threads
Example: https://www.b4x.com/android/forum/threads/wrapping-library-for-bmp180-sensor.67647/#post-429006 Based on this open source project: https://github.com/sparkfun/BMP180_Breakout The connections are described in the above link. Note that you need to connect it to 3.3v. Network example: https://www.b4x.com/android/forum/threads/esp8266-udp-bmp180-simple-weather-station.70243/

Attachments

  • rSFE_BMP180.zip 6.6 KB · Views: 1,418
Last edited: Aug 22, 2016 Click to expand... Erel Written by

Erel

B4X founder Staff member Licensed User Longtime User
  • Messages 137,206
  • Reaction score 83,398
  • Points 613
W

william235

Member
I cannot get this to run. I am new to B4R but not to programming. How do I add this library? I get a missing reference error related to the library. This is my first time using the product. Any help would be greatly appreciated. Erel

Erel

B4X founder
Staff member Licensed User Longtime User Please post the exact error message.
william235 said: How do I add this library? Click to expand...
1. Configure the additional libraries path under Tools - Configure Paths. 2. Extract the zip file and copy its content to that folder (keep the folders structure). [B4X] Features that Erel recommends to avoid [B4X] "Code Smells" - common mistakes and other tips W

william235

Member
Got past the issue I just posted but now I am hitting this issue. In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" And thanks very much for your previous reply. Erel

Erel

B4X founder
Staff member Licensed User Longtime User Do you see this file in the library folder: SS-2016-08-21_16.49.37.png ? [B4X] Features that Erel recommends to avoid [B4X] "Code Smells" - common mistakes and other tips W

william235

Member
upload_2016-8-21_9-54-36.png

Attachments

  • upload_2016-8-21_9-54-12.png upload_2016-8-21_9-54-12.png 258.9 KB · Views: 866
W

william235

Member
It looks like it might be one level down, not in the same place as your screen shot. Is that the case? Erel

Erel

B4X founder
Staff member Licensed User Longtime User 1. Delete these 4 files and the xml file. 2. Create a new folder named c:\B4RLibraries 3. Configure the IDE to use it (Tools - Configure Paths). 4. Copy the xml file and the folder to c:\B4RLibraries. [B4X] Features that Erel recommends to avoid [B4X] "Code Smells" - common mistakes and other tips W

william235

Member
copied it to one level up and still same error W

william235

Member
Will do....doing now W

william235

Member
Did what was suggested and got the same Error: B4R version: 1.20 Parsing code. (0.00s) Compiling code. (0.02s) Building project (0.02s) Compiling & deploying Ino project (WeMos D1 R2 & mini - COM5) Error In file included from C:\Users\William\Desktop\B4R Libraries\Objects\src\src.ino:1:0: sketch\B4RDefines.h:24:25: fatal error: rSFE_BMP180.h: No such file or directory #include "rSFE_BMP180.h" ^ compilation terminated. exit status 1 Error compiling for board WeMos D1 R2 & mini. upload_2016-8-21_10-8-3.png upload_2016-8-21_10-9-0.png Erel

Erel

B4X founder
Staff member Licensed User Longtime User Do you see this file under: C:\Users\William\Desktop\B4R Libraries\Objects\src\ ? Try to clean the project by clicking on Ctrl + P. [B4X] Features that Erel recommends to avoid [B4X] "Code Smells" - common mistakes and other tips W

william235

Member
I apologize that I have wasted your time. I got it. Though I created the libraries as you suggest they were incorrectly configured. I got the code running. Thanks very much for your responses. I look forward to getting into this application. Best regards, Bill Miller Erel

Erel

B4X founder
Staff member Licensed User Longtime User V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned. [B4X] Features that Erel recommends to avoid [B4X] "Code Smells" - common mistakes and other tips W

william235

Member
Erel said: V1.10 is attached to the first post. It is based on the latest version of sparkfun library. It fixes the issue with incorrect values returned. Click to expand...
Perfect!!!!!! Thanks so much. I was able to get the hardware running with the Arduino SFE library. Now this works as well. I much prefer this programming environment. You must log in or register to reply here.

Similar Threads

Martin Larsen
  • Article
B4R Library BMP180 with ESP8266-01 support - Pressure and temperature
  • Martin Larsen
  • Mar 18, 2021
  • B4R Libraries
Replies 0 Views 3K Mar 18, 2021 Martin Larsen Martin Larsen T
  • Question
B4R Question ESP8266, UDP and BMP180
  • tonga
  • Sep 25, 2017
  • B4R Questions
Replies 1 Views 3K Sep 26, 2017 Erel Erel Erel
  • Article
B4R Library rAdafruitBMP280 - BMP280 temperature & pressure sensor
  • Erel
  • Nov 27, 2016
  • B4R Libraries
2 Replies 27 Views 12K Jul 7, 2017 pappicio P Erel
  • Article
B4R Tutorial ESP8266 + UDP + BMP180 = Simple weather station
  • Erel
  • Aug 22, 2016
  • B4R Tutorials
Replies 5 Views 18K Sep 25, 2017 Erel Erel rwblinn
  • Question
B4R Question Wrapping Library for BMP180 sensor
  • rwblinn
  • Jun 7, 2016
  • B4R Questions
Replies 14 Views 6K Aug 22, 2016 Erel Erel Share: Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Share Link
  • Home
  • Forums
  • B4R - Arduino, ESP8266 and ESP32
  • B4R Libraries
  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register. By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…
Top

Tag » Arduino Sfe Bmp180.h Download