Incorrect readings for mbar and altitude
Opened this issue · 4 comments
Decman84 commented
Hi Kris,
I’m using the teensy 3.5 and the e7180 and using this code while most output looks good my altitude based reading are off by quite a bit... aka I’m at approx 190m (according to google) yet my sensor output is suggesting -50 consistently.
It appears to be sensing variation at this level it’s just off by quite a factor. Can you advise if you think the sensor is faulty or whether I just need to baseline the config somehow
kriswiner commented
The barometer is an absolute pressure sensor not an altitude sensor. it is
common for absolute altitude estimation to be off by quite a lot (<20%)
since it varies along with the local weather. The altitude estimation is,
however, pretty good for relative changes.
But I will admit, a 250 meter discrepancy is much larger than anything I
have seen. I am at 330 meters and often see a reading as low as 250 m or so
and as high as 350 m.
Are you sure you have the units right? The formula is for specific units,
you can look it up online.
…On Tue, May 29, 2018 at 3:15 PM, Decman84 ***@***.***> wrote:
Hi Kris,
I’m using the teensy 3.5 and the e7180 and using this code while most
output looks good my altitude based reading are off by quite a bit... aka
I’m at approx 190m (according to google) yet my sensor output is suggesting
-50 consistently.
It appears to be sensing variation at this level it’s just off by quite a
factor. Can you advise if you think the sensor is faulty or whether I just
need to baseline the config somehow
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qh5YPYEpqUDJqgECGoxe1oiOikp6ks5t3ciPgaJpZM4USTiY>
.
Decman84 commented
Hi Kris,
Thanks for the speedy response. I was just looking at the output from your standard code set.
Do I need to do further calculations on top of that output?
By the way fantastic sensor, it’s early days for me but loving your work.
Declan
Sent from my iPhone
On 30 May 2018, at 8:24 am, Kris Winer <notifications@github.com<mailto:notifications@github.com>> wrote:
The barometer is an absolute pressure sensor not an altitude sensor. it is
common for absolute altitude estimation to be off by quite a lot (<20%)
since it varies along with the local weather. The altitude estimation is,
however, pretty good for relative changes.
But I will admit, a 250 meter discrepancy is much larger than anything I
have seen. I am at 330 meters and often see a reading as low as 250 m or so
and as high as 350 m.
Are you sure you have the units right? The formula is for specific units,
you can look it up online.
On Tue, May 29, 2018 at 3:15 PM, Decman84 ***@***.******@***.***>> wrote:
Hi Kris,
I’m using the teensy 3.5 and the e7180 and using this code while most
output looks good my altitude based reading are off by quite a bit... aka
I’m at approx 190m (according to google) yet my sensor output is suggesting
-50 consistently.
It appears to be sensing variation at this level it’s just off by quite a
factor. Can you advise if you think the sensor is faulty or whether I just
need to baseline the config somehow
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qh5YPYEpqUDJqgECGoxe1oiOikp6ks5t3ciPgaJpZM4USTiY>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#26 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ade27Bs0KBFv34xhVpyqpdBsZYkipqSuks5t3cqlgaJpZM4USTiY>.
kriswiner commented
No output should be in feet I think. Still -50 feet is a lot different from
+400 feet...
…On Tue, May 29, 2018 at 3:59 PM, Decman84 ***@***.***> wrote:
Hi Kris,
Thanks for the speedy response. I was just looking at the output from your
standard code set.
Do I need to do further calculations on top of that output?
By the way fantastic sensor, it’s early days for me but loving your work.
Declan
Sent from my iPhone
On 30 May 2018, at 8:24 am, Kris Winer ***@***.***<mailto:
***@***.***>> wrote:
The barometer is an absolute pressure sensor not an altitude sensor. it is
common for absolute altitude estimation to be off by quite a lot (<20%)
since it varies along with the local weather. The altitude estimation is,
however, pretty good for relative changes.
But I will admit, a 250 meter discrepancy is much larger than anything I
have seen. I am at 330 meters and often see a reading as low as 250 m or
so
and as high as 350 m.
Are you sure you have the units right? The formula is for specific units,
you can look it up online.
On Tue, May 29, 2018 at 3:15 PM, Decman84 ***@***.***<
***@***.***>> wrote:
> Hi Kris,
> I’m using the teensy 3.5 and the e7180 and using this code while most
> output looks good my altitude based reading are off by quite a bit...
aka
> I’m at approx 190m (according to google) yet my sensor output is
suggesting
> -50 consistently.
> It appears to be sensing variation at this level it’s just off by quite
a
> factor. Can you advise if you think the sensor is faulty or whether I
just
> need to baseline the config somehow
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#26>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AGY1qh5YPYEpqUDJqgECGoxe1oiOikp6ks5t3ciPgaJpZM4USTiY>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
kriswiner/EM7180_SENtral_sensor_hub#26#issuecomment-392967276>, or
mute the thread<https://github.com/notifications/unsubscribe-auth/
Ade27Bs0KBFv34xhVpyqpdBsZYkipqSuks5t3cqlgaJpZM4USTiY>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qhILgTy4Hxcv2vSwSy5eba591cOqks5t3dLNgaJpZM4USTiY>
.
Decman84 commented
Ahh yes, slight typo in my case.
Not a critical sensor for my use case at the moment so the variation is not that important.
At some stage ill get another em7180 as my prototype progresses and that may shed light on where the issue lies.
Thanks for your help.
Declan
Sent from my iPhone
On 30 May 2018, at 9:28 am, Kris Winer <notifications@github.com<mailto:notifications@github.com>> wrote:
No output should be in feet I think. Still -50 feet is a lot different from
+400 feet...
On Tue, May 29, 2018 at 3:59 PM, Decman84 ***@***.******@***.***>> wrote:
Hi Kris,
Thanks for the speedy response. I was just looking at the output from your
standard code set.
Do I need to do further calculations on top of that output?
By the way fantastic sensor, it’s early days for me but loving your work.
Declan
Sent from my iPhone
On 30 May 2018, at 8:24 am, Kris Winer ***@***.******@***.***><mailto:
***@***.******@***.***>>> wrote:
The barometer is an absolute pressure sensor not an altitude sensor. it is
common for absolute altitude estimation to be off by quite a lot (<20%)
since it varies along with the local weather. The altitude estimation is,
however, pretty good for relative changes.
But I will admit, a 250 meter discrepancy is much larger than anything I
have seen. I am at 330 meters and often see a reading as low as 250 m or
so
and as high as 350 m.
Are you sure you have the units right? The formula is for specific units,
you can look it up online.
On Tue, May 29, 2018 at 3:15 PM, Decman84 ***@***.******@***.***><
***@***.***>> wrote:
> Hi Kris,
> I’m using the teensy 3.5 and the e7180 and using this code while most
> output looks good my altitude based reading are off by quite a bit...
aka
> I’m at approx 190m (according to google) yet my sensor output is
suggesting
> -50 consistently.
> It appears to be sensing variation at this level it’s just off by quite
a
> factor. Can you advise if you think the sensor is faulty or whether I
just
> need to baseline the config somehow
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#26>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AGY1qh5YPYEpqUDJqgECGoxe1oiOikp6ks5t3ciPgaJpZM4USTiY>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
kriswiner/EM7180_SENtral_sensor_hub#26#issuecomment-392967276>, or
mute the thread<https://github.com/notifications/unsubscribe-auth/
Ade27Bs0KBFv34xhVpyqpdBsZYkipqSuks5t3cqlgaJpZM4USTiY>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qhILgTy4Hxcv2vSwSy5eba591cOqks5t3dLNgaJpZM4USTiY>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#26 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ade27EQRpLYvTXXfNbCdh8dvLm2kuXxeks5t3dmVgaJpZM4USTiY>.