Pages: [1]   Go Down
Author Topic: HP02S barometric sensor.  (Read 393 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been given some of these old(ish) barometric sensors, so before I start trying to sort out a library for their use, I wonder if anyone has already had any success with them?

They are the barometric sensors that turn up as used in a lot of domestic, radio linked weather stations (the earlier Maplin models used them) and are an I2C device which gave an 0x50 address when scanned. (Not the one shown on the datasheet which has me thinking)

The data sheet can be downloaded from http://www.hoperf.com/sensor/barometer_16/HP02S.htm so there's no need for any of the walks-on-water brigade to say that I've not given them enough information before they start shooting me down in flames for daring to ask a question.

If anyone has used them then it simply saves me from reinventing the wheel.

Many thanks

Dale H

Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 23
Posts: 1020
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you can manage to read the onboad ROM  then this can succeed.
There is an arduino- library for this kind om memory, you'll find it.
Use datasheet/white paper  to find the correct address.
(hope next task is creating a xclk signal)
Logged

Ny

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Note that you should do the conversion from uncompensated to compensated in float math as there are some big divisions that could truncate the value when the math is done in integer math

from datasheet
dUP=D1-D0
dUT=(29*(T1-T0)/50-(T1-T0)^2/76666)*S/C
P=P0+100*(dUP+dUT)/S

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the replies - I shall be spending some more time with the things in the next week or so.
If anything useful occurs then I'll post it here although, as I say they are quite old and not 'off the shelf' as far as I can see.

Dale H
Logged

Pages: [1]   Go Up
Jump to: