Pages: [1]   Go Down
Author Topic: New library for BMP085  (Read 702 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Adafruit_BMP085 library for the BMP085 barometer does not compile (IDE 1.5.6R2) on the DUE while it does on the UNO and MEGA.

Post http://forum.arduino.cc/index.php?topic=38082.0;prev_next=prev#new is closed for a reply but it points to a sketch with a  library  which compiles and does work with the DUE but provides the wrong answers for both pressures and temperatures:
Code:
Temp(C):1145  Alt(cm):-36895  Pressure(Pa):11848
Temp(C):1145  Alt(cm):-36823  Pressure(Pa):11852
Temp(C):1145  Alt(cm):-37110  Pressure(Pa):11835


Is there an updated BMP085 library around for the DUE?
Thanks!
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 224
Posts: 13915
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

didn't the due haver some i2c problems?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the tip... I never thought Arduino would release the library with errors and not correct it. Searching for "Arduino due"+ " i2c problems" gave many problem listings... but a solution (unless I missed it) does not seem in sight.
Logged

Central MN, USA
Online Online
Tesla Member
***
Karma: 75
Posts: 7268
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino is a project in progress. Give it some time.
Logged


Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 224
Posts: 13915
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could try if the soft I2C lib works on a DUE?
Never tried it

- http://playground.arduino.cc/Main/SoftwareI2CLibrary -
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: