Digital pressure sensor Driver

Discussions and support about ChibiOS/EX, the External Peripherals Abstraction Layer.
User avatar
tfAteba
Posts: 472
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 68 times
Been thanked: 40 times

Re: Digital pressure sensor Driver

Postby tfAteba » Sun Oct 15, 2017 11:09 pm

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.
regards,

Theo.

User avatar
tfAteba
Posts: 472
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 68 times
Been thanked: 40 times

Re: Digital pressure sensor Driver

Postby tfAteba » Thu Feb 01, 2018 10:49 am

Hi RoccoMarco,

Any news on this?
regards,

Theo.

User avatar
Giovanni
Site Admin
Posts: 10735
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 306 times
Been thanked: 257 times
Contact:

Re: Digital pressure sensor Driver

Postby Giovanni » Thu Feb 01, 2018 3:40 pm

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

Sadly, he will be back ;)

Giovanni

User avatar
tfAteba
Posts: 472
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 68 times
Been thanked: 40 times

Re: Digital pressure sensor Driver

Postby tfAteba » Thu Feb 01, 2018 9:38 pm

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
regards,

Theo.

User avatar
RoccoMarco
Posts: 582
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 70 times
Been thanked: 52 times
Contact:

Re: Digital pressure sensor Driver

Postby RoccoMarco » Tue Mar 13, 2018 10:33 am

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:
Ciao,
RM

User avatar
tfAteba
Posts: 472
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 68 times
Been thanked: 40 times

Re: Digital pressure sensor Driver

Postby tfAteba » Tue Mar 13, 2018 12:43 pm

Hi,

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

Now that your are back, thing will keep go on :)
regards,

Theo.

User avatar
RoccoMarco
Posts: 582
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 70 times
Been thanked: 52 times
Contact:

Re: Digital pressure sensor Driver

Postby RoccoMarco » Tue Mar 13, 2018 3:14 pm

Yes everything fine.
Now I have reworked all the EX drivers and I have planned something new (more MEMS, WiFi , BT, Displays)
Ciao,
RM

User avatar
tfAteba
Posts: 472
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 68 times
Been thanked: 40 times

Re: Digital pressure sensor Driver

Postby tfAteba » Tue Mar 13, 2018 3:43 pm

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

Theo.


Return to “ChibiOS/EX”

Who is online

Users browsing this forum: No registered users and 1 guest