Closed buelowp closed 2 days ago
This issue is stale because it has been open for 6 weeks with no activity. Please comment to this issue if it's still relevant.
Anything ever come of this?
Hi @buelowp, my apologies for this late reply! I am not sure if I got your question correctly: Are you concerned about the difference in temperature values compared to the local thermometer?
It has been a while, but I bumped this after I got a message that it was going to close just in case someone else might see it. The concern at the time was that the pressure measurements were so inconsistent with measurements from a similar device nearby and those from trusted sources. I've since moved on, so if you don't care, I don't either. I am using a different library and different sensor which seem to be working for me more consistently now.
I think now I understand what you were trying to do.
I am not an expert for weather measurements, but I tried to reproduce your observations and had a similar experience: my sensor values are not equal to air pressure measurements of nearby weather stations.
I was measuring 954.0 hPa
while weather.com is reporting 1018.6 hPa
.
So I hooked up another sensor from a different vendor and got similar results. It reports 953.9 hPa
.
I researched a bit on the topic and appearently local weather stations do a sea-level adjustment on their pressure measurements to ensure comparability between locations at different heights.
Doing this sea-level-adjustment for my measurements using the barometric formula and my height of ~551m
leads to ~1013.2 hPa
which is very close to the reported 1018.6 hPa
. There are many assumptions (including the exact height) in the barometric formula, I assume that's where the remaining error of 5.4 hPa
comes from.
Completely understand that this might not be relevant for you anymore, still wanted to look into it.
Best regards Julian
This issue is stale because it has been open more than 6 weeks with no activity. Please comment on this issue if it's still relevant or it will be closed automatically after 1 week.
This issue was closed because it has been stalled for 1 week with no activity.
Have you looked for an answer?
We appreciate you checking the documentation, release notes, or the Developer community before asking. Please tell us where you looked, so we can fill the gap and help the next person too.
I've googled, and looked through your tickets (open,closed). I've seen similar, but most of those seem to be programming issues.
Question/Issue:
I have ported your library to the Particle photon, and it works very well. Thank you. However, I have two DPS310 sensors from Adafruit, and I'm seeing similar results for both. The current measured conditions at the location of the sensor are ~80F (local thermometer), 29.88 InHG (taken from weather.com and weatherunderground.com), altitude ~670 feet above sea level. The values from both sensors are within a safe margin of error of each other, and reflect the print below.
Context I'm using a Particle Photon, release 3.1.0. I'm using your library mostly unmodified (I added prints to init to show the id values), though cloned to my github so I can update the properties file to create a private library. Someone else has uploaded your library unmodified, but didn't publish so I needed to change some names so I could use it. The unit is running in my office, uncovered and away from other equipment. There is no AC at this time, and no moving airflow to speak of.
I've verified my calculations are accurate for inHG online.
I'm running roughly your example, modified to calculate inHg, convert C to F, and calculate altitude.
The sensor identification outputs are
Where did you expect to find the answer? I'm hoping someone can explain why the results are consistent, but not accurate. I can't find another calibration option at this time and am hoping to use this as a weather station input.
THANKS!