Open Log Artemis and Digital Barometer - LPS28DFW - How to enable Mode 2?

Greetings all,

New to OLA and hoping to get things to “just work” out of the box. I have the OLA updated to 2.8 FW and the LPS28DFW seems to be working great in “mode 1.” I know for my use case I need to enable “mode 2” to be able to get higher pressure readings. Is there a way in the configuration menus to get this working? Or will I have to get into editing code?

Thank you in advance!

Hi @TheBrownHobbit ,

Just adding a link to your Feature Request - see below.

Best wishes,
Paul

The configuration menus (the logging/configuration interface on OLA) expose options like output rate, resolution, logging frequency, and enabling/disabling sensors. Still, they do not expose every internal register or special operating mode of sensors. In the case of the LPS28DFW, the mode switch between Mode 1 and Mode 2 is controlled by a register write (it’s not surfaced in the OLA menus by default).

1 Like

Thanks for the reply!

After a kind nudge from Paul, I have managed to do the SW work to make this work and put in the pull request:

It seems to be working well on my local build :smiley:

1 Like

Greetings all (tagging @PaulZC, @TS-Russell and @dilshana )

Looking for a little help here. I thought I had this working well but it this appears to not be working quite right. in both Mode 1 and Mode 2 I appear to be limited to approximately 1900 hpa instead of the 4000-4060 hpa advertised. I thought everything was working right, but now that I am up testing in that range it just appears to be saturated and there is no difference in behaviour between mode 1 and mode 2.

can anyone take a peak and see if they have ideas of what I might be doing wrong?
can anyone try this on a LPS28DFW of their own?
does it make sense that mode 1 should work up to 1900 hpa when it is only advertised to work up to 1260 hpa?

Thank you in advance for your help!

Hi Todd (@TheBrownHobbit ),

Please see:

Best wishes,
Paul

PS. @dilshana uses AI to create their posts. The posts are better than they used to be, but still take them with a pinch of salt.

3 Likes