Digital pressure sensor Driver

Discussions and support about ChibiOS/EX, the External Peripherals Abstraction Layer.
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Digital pressure sensor Driver

Post by tfAteba »

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.
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Digital pressure sensor Driver

Post by tfAteba »

Hi RoccoMarco,

Any news on this?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Digital pressure sensor Driver

Post by Giovanni »

He is busy with his last exam, this is why he is less present.

Sadly, he will be back ;)

Giovanni
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Digital pressure sensor Driver

Post by tfAteba »

I now understand why he was absent in recent days, I hope it's going well for him!

We will be happy to see him again
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: Digital pressure sensor Driver

Post by RoccoMarco »

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! :mrgreen:
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Digital pressure sensor Driver

Post by tfAteba »

Hi,

Cool now I hope that everything went well for your exam ?

Now that your are back, thing will keep go on :)
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: Digital pressure sensor Driver

Post by RoccoMarco »

Yes everything fine.
Now I have reworked all the EX drivers and I have planned something new (more MEMS, WiFi , BT, Displays)
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Digital pressure sensor Driver

Post by tfAteba »

Exellect, I'm verry exited by what you planed.
Post Reply