Giter VIP home page Giter VIP logo

grove_barometer_hp20x's Introduction

Grove_barometer HP20x Build Status

Grove - Barometer (High-Accuracy)

This is a driver for Grove_barometer HP20x(high accuracy and waterproof). DataSheet of this sensor:(https://raw.githubusercontent.com/SeeedDocument/Grove-Barometer-High-Accuracy/master/res/HP206C_Datasheet.pdf)

Usage

1.Git clone this resp to your arduino IDE's lib directory.
2.Open the demo "HP20x_dev"

More information please visit wiki page.


This software is written by Oliver Wang ([email protected]) for seeed studio
and is licensed under The MIT License. Check License.txt for more information.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Bitdeli Badge

Analytics

grove_barometer_hp20x's People

Contributors

baorepo avatar casywang avatar killingjacky avatar lanselambor avatar per1234 avatar pillar1989 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grove_barometer_hp20x's Issues

Minus Temperature

Hello,

I have a question, how to calculate temperature that are 0 or minus.
If there are minus temperature it shows me any very hight temperature about 42900000 °C.

Thanks for your help !

Best regards
swissglider

Altitude and pressure values change at each read/convert

Hello,

I want to have an accurate relative altitude so I bought the Grove - Barometer (High-Accuracy) Sensor with the HP206C high-accuracy. But I am disappointed about the values are read.

I am using the example program that display the temperature, pressure and altitude each 1 second. I expected to see closed values between 2 acquisitions because of the high accuracy of the sensor (0.01m) but I see large variation. For instance, you can see several times in the serial log below a change in altitude of about 2 meters whereas the sensor does not move.

I tried to configure the sensor using HP20X_CONVERT_OSR4096 instead of HP20X_CONVERT_OSR1024 and changed OSR_ConvertTime to 150ms. I do not see a difference.

Could you give some tips about how read accurate values?

****HP20x_dev demo by seeed studio****

Calculation formula: H = [8.5(101325-P)]/100 

****HP20x_dev demo by seeed studio****

Calculation formula: H = [8.5(101325-P)]/100 

------------------

Temper:
20.08C.

Filter:
14.70C.

Pressure:
888.47hPa.

Filter:
545.01hPa

Altitude:
1095.89m.

Filter:
547.95m.

------------------

------------------

Temper:
20.08C.

Filter:
16.75C.

Pressure:
888.26hPa.

Filter:
797.68hPa

Altitude:
1097.83m.

Filter:
840.24m.

------------------

------------------

Temper:
20.09C.

Filter:
18.81C.

Pressure:
888.21hPa.

Filter:
848.71hPa

Altitude:
1098.30m.

Filter:
1004.95m.

------------------

------------------

Temper:
20.09C.

Filter:
19.57C.

Pressure:
888.26hPa.

Filter:
876.63hPa

Altitude:
1097.83m.

Filter:
1061.35m.

------------------

------------------

Temper:
20.09C.

Filter:
19.99C.

Pressure:
888.48hPa.

Filter:
883.73hPa

Altitude:
1095.80m.

Filter:
1083.13m.

------------------

------------------

Temper:
20.08C.

Filter:
20.04C.

Pressure:
888.26hPa.

Filter:
886.35hPa

Altitude:
1097.83m.

Filter:
1092.42m.

------------------

------------------

Temper:
20.08C.

Filter:
20.07C.

Pressure:
888.26hPa.

Filter:
887.81hPa

Altitude:
1097.83m.

Filter:
1096.13m.

------------------

------------------

Temper:
20.09C.

Filter:
20.08C.

Pressure:
888.35hPa.

Filter:
888.13hPa

Altitude:
1097.00m.

Filter:
1096.64m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.31hPa.

Filter:
888.24hPa

Altitude:
1097.37m.

Filter:
1097.09m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.09hPa.

Filter:
888.15hPa

Altitude:
1099.41m.

Filter:
1098.40m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.30hPa.

Filter:
888.24hPa

Altitude:
1097.47m.

Filter:
1097.80m.

------------------

------------------

Temper:
20.08C.

Filter:
20.08C.

Pressure:
888.44hPa.

Filter:
888.36hPa

Altitude:
1096.16m.

Filter:
1096.83m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.13hPa.

Filter:
888.21hPa

Altitude:
1099.04m.

Filter:
1098.27m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
887.98hPa.

Filter:
888.07hPa

Altitude:
1100.43m.

Filter:
1099.55m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.40hPa.

Filter:
888.27hPa

Altitude:
1096.54m.

Filter:
1097.70m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.42hPa.

Filter:
888.38hPa

Altitude:
1096.36m.

Filter:
1097.06m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.44hPa.

Filter:
888.41hPa

Altitude:
1096.16m.

Filter:
1096.50m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.16hPa.

Filter:
888.25hPa

Altitude:
1098.76m.

Filter:
1097.83m.

------------------

------------------

Temper:
20.09C.

Filter:
20.09C.

Pressure:
888.20hPa.

Filter:
888.22hPa

Altitude:
1098.39m.

Filter:
1098.24m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.23hPa.

Filter:
888.23hPa

Altitude:
1098.12m.

Filter:
1098.17m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.38hPa.

Filter:
888.33hPa

Altitude:
1096.72m.

Filter:
1097.32m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.38hPa.

Filter:
888.36hPa

Altitude:
1096.72m.

Filter:
1096.93m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.29hPa.

Filter:
888.31hPa

Altitude:
1097.56m.

Filter:
1097.30m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.34hPa.

Filter:
888.33hPa

Altitude:
1097.09m.

Filter:
1097.16m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.12hPa.

Filter:
888.20hPa

Altitude:
1099.13m.

Filter:
1098.33m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.39hPa.

Filter:
888.32hPa

Altitude:
1096.63m.

Filter:
1097.33m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.30hPa.

Filter:
888.31hPa

Altitude:
1097.47m.

Filter:
1097.42m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.33hPa.

Filter:
888.32hPa

Altitude:
1097.19m.

Filter:
1097.27m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.25hPa.

Filter:
888.28hPa

Altitude:
1097.92m.

Filter:
1097.56m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.12hPa.

Filter:
888.18hPa

Altitude:
1099.13m.

Filter:
1098.53m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.42hPa.

Filter:
888.34hPa

Altitude:
1096.36m.

Filter:
1097.25m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.30hPa.

Filter:
888.32hPa

Altitude:
1097.47m.

Filter:
1097.39m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.33hPa.

Filter:
888.32hPa

Altitude:
1097.19m.

Filter:
1097.26m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.21hPa.

Filter:
888.26hPa

Altitude:
1098.30m.

Filter:
1097.72m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.20hPa.

Filter:
888.22hPa

Altitude:
1098.39m.

Filter:
1098.14m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.26hPa.

Filter:
888.25hPa

Altitude:
1097.83m.

Filter:
1097.96m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.39hPa.

Filter:
888.33hPa

Altitude:
1096.63m.

Filter:
1096.99m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.30hPa.

Filter:
888.31hPa

Altitude:
1097.47m.

Filter:
1097.25m.

------------------

------------------

Temper:
20.10C.

Filter:
20.10C.

Pressure:
888.18hPa.

Filter:
888.22hPa

Altitude:
1098.58m.

Filter:
1098.02m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.21hPa.

Filter:
888.21hPa

Altitude:
1098.30m.

Filter:
1098.20m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.39hPa.

Filter:
888.33hPa

Altitude:
1096.63m.

Filter:
1097.27m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.29hPa.

Filter:
888.31hPa

Altitude:
1097.56m.

Filter:
1097.47m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.21hPa.

Filter:
888.25hPa

Altitude:
1098.30m.

Filter:
1097.96m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.18hPa.

Filter:
888.20hPa

Altitude:
1098.58m.

Filter:
1098.33m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.21hPa.

Filter:
888.21hPa

Altitude:
1098.30m.

Filter:
1098.31m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.30hPa.

Filter:
888.27hPa

Altitude:
1097.47m.

Filter:
1097.81m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.31hPa.

Filter:
888.29hPa

Altitude:
1097.37m.

Filter:
1097.58m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.30hPa.

Filter:
888.30hPa

Altitude:
1097.47m.

Filter:
1097.51m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.31hPa.

Filter:
888.31hPa

Altitude:
1097.37m.

Filter:
1097.43m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.17hPa.

Filter:
888.23hPa

Altitude:
1098.67m.

Filter:
1098.23m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.37hPa.

Filter:
888.32hPa

Altitude:
1096.82m.

Filter:
1097.30m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.34hPa.

Filter:
888.33hPa

Altitude:
1097.09m.

Filter:
1097.18m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.30hPa.

Filter:
888.31hPa

Altitude:
1097.47m.

Filter:
1097.37m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.14hPa.

Filter:
888.20hPa

Altitude:
1098.95m.

Filter:
1098.31m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.50hPa.

Filter:
888.38hPa

Altitude:
1095.61m.

Filter:
1096.34m.

------------------

------------------

Temper:
20.11C.

Filter:
20.11C.

Pressure:
888.25hPa.

Filter:
888.31hPa

Altitude:
1097.92m.

Filter:
1097.20m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.36hPa.

Filter:
888.34hPa

Altitude:
1096.91m.

Filter:
1097.03m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.36hPa.

Filter:
888.35hPa

Altitude:
1096.91m.

Filter:
1096.95m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.41hPa.

Filter:
888.39hPa

Altitude:
1096.45m.

Filter:
1096.62m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.28hPa.

Filter:
888.32hPa

Altitude:
1097.65m.

Filter:
1097.08m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.35hPa.

Filter:
888.34hPa

Altitude:
1097.00m.

Filter:
1097.03m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.29hPa.

Filter:
888.31hPa

Altitude:
1097.56m.

Filter:
1097.34m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.37hPa.

Filter:
888.34hPa

Altitude:
1096.82m.

Filter:
1096.98m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.35hPa.

Filter:
888.35hPa

Altitude:
1097.00m.

Filter:
1096.99m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.28hPa.

Filter:
888.30hPa

Altitude:
1097.65m.

Filter:
1097.38m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.24hPa.

Filter:
888.27hPa

Altitude:
1098.02m.

Filter:
1097.85m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.37hPa.

Filter:
888.33hPa

Altitude:
1096.82m.

Filter:
1097.20m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.33hPa.

Filter:
888.33hPa

Altitude:
1097.19m.

Filter:
1097.19m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.33hPa.

Filter:
888.33hPa

Altitude:
1097.19m.

Filter:
1097.19m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.46hPa.

Filter:
888.41hPa

Altitude:
1095.98m.

Filter:
1096.39m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.20hPa.

Filter:
888.29hPa

Altitude:
1098.39m.

Filter:
1097.28m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.32hPa.

Filter:
888.31hPa

Altitude:
1097.28m.

Filter:
1097.28m.

------------------

------------------

Temper:
20.12C.

Filter:
20.12C.

Pressure:
888.42hPa.

Filter:
888.38hPa

Altitude:
1096.36m.

Filter:
1096.74m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.21hPa.

Filter:
888.28hPa

Altitude:
1098.30m.

Filter:
1097.87m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.33hPa.

Filter:
888.31hPa

Altitude:
1097.19m.

Filter:
1097.46m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.07hPa.

Filter:
888.15hPa

Altitude:
1099.59m.

Filter:
1098.71m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.03hPa.

Filter:
888.08hPa

Altitude:
1099.97m.

Filter:
1099.53m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.16hPa.

Filter:
888.13hPa

Altitude:
1098.76m.

Filter:
1099.02m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.16hPa.

Filter:
888.15hPa

Altitude:
1098.76m.

Filter:
1098.87m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.29hPa.

Filter:
888.23hPa

Altitude:
1097.56m.

Filter:
1098.03m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.29hPa.

Filter:
888.27hPa

Altitude:
1097.56m.

Filter:
1097.75m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.24hPa.

Filter:
888.25hPa

Altitude:
1098.02m.

Filter:
1097.89m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.43hPa.

Filter:
888.36hPa

Altitude:
1096.27m.

Filter:
1096.86m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.33hPa.

Filter:
888.34hPa

Altitude:
1097.19m.

Filter:
1097.06m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.16hPa.

Filter:
888.23hPa

Altitude:
1098.76m.

Filter:
1098.30m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.51hPa.

Filter:
888.39hPa

Altitude:
1095.52m.

Filter:
1096.79m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.38hPa.

Filter:
888.38hPa

Altitude:
1096.72m.

Filter:
1096.75m.

------------------

------------------

Temper:
20.13C.

Filter:
20.13C.

Pressure:
888.21hPa.

Filter:
888.28hPa

Altitude:
1098.30m.

Filter:
1097.75m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.38hPa.

Filter:
888.35hPa

Altitude:
1096.72m.

Filter:
1096.98m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.48hPa.

Filter:
888.44hPa

Altitude:
1095.80m.

Filter:
1096.30m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.48hPa.

Filter:
888.46hPa

Altitude:
1095.80m.

Filter:
1095.98m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.16hPa.

Filter:
888.27hPa

Altitude:
1098.76m.

Filter:
1097.63m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.30hPa.

Filter:
888.29hPa

Altitude:
1097.47m.

Filter:
1097.55m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.27hPa.

Filter:
888.28hPa

Altitude:
1097.74m.

Filter:
1097.67m.

------------------

------------------

Temper:
20.14C.

Filter:
20.14C.

Pressure:
888.25hPa.

Filter:
888.26hPa

Altitude:
1097.92m.

Filter:
1097.82m.

------------------

time.h included but not used

I have difficulties to compile KalmanFilter, the error is file time.h not found.

I checked the file KalmanFilter.cpp and I think despite you included it, you are not using time.h.
Maybe you should remove the line ?

Maybe I am wrong but maybe have a look at it just to be sure.

regards,
TTAK

Cannot compile - missing TwoWire library

I loaded your example into Arduino 1.8.1 and I cannot compile it, because of missing TwoWire library:

D:\Program Files\arduino-1.8.1\libraries\HP20x_dev\HP20x_dev.cpp: In constructor 'HP20x_dev::HP20x_dev()':

D:\Program Files\arduino-1.8.1\libraries\HP20x_dev\HP20x_dev.cpp:33:22: error: no matching function for call to 'TwoWire::TwoWire()'

 HP20x_dev::HP20x_dev()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.