Hello all,
Two weeks ago, Rocco Marco made some comment about the BMP085 driver code. It was in a private discussion.
So Here is a resume of action that have to be done.
1) In the BMP085 main demo file, I have some global variables for calibration data. These variables are share by many instance of the driver if there is for example many Barometers used. This is clearly a bad point.
2) In the BMP085 driver, to have the temperature and the pressure, I'm using the algorithm provided by Bosch for this barometer, but Marco and I would prefer to have the data by using a generic formula as cooked data = (raw data* driver->sensitivity) - driver->bias
For the moment, I have just implemented the first point. Now the calibration data are part of the BMP085 driver so that every in,stance of the BMP085 driver have is own calibration data and avoid conflicts.
Marco, did you have the time last week to look at the second point (Maths)? This tow last week I was too busy . I just committed the change to the trunk, so you can take a look and base you change on that.
Thanks.
Digital pressure sensor Driver
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Digital pressure sensor Driver
He is busy with his last exam, this is why he is less present.
Sadly, he will be back
Giovanni
Sadly, he will be back
Giovanni
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Digital pressure sensor Driver
Giovanni wrote:He is busy with his last exam, this is why he is less present.
Sadly, he will be back
Giovanni
I am back!
Ciao,
RM
RM
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Digital pressure sensor Driver
Yes everything fine.
Now I have reworked all the EX drivers and I have planned something new (more MEMS, WiFi , BT, Displays)
Now I have reworked all the EX drivers and I have planned something new (more MEMS, WiFi , BT, Displays)
Ciao,
RM
RM
Who is online
Users browsing this forum: No registered users and 3 guests