westaust55
Moderator
Having purchased a HOPERF HP03S i2c pressure sensor I have tonight got it hooked up along with 3 other i2c devices.
The PICAXE and two i2c devices operate at 4.5 to 5Vdc and the HOPERF HH10D (Humidity) and HP03S (Pressure) sensors operate at 3.3Vdc.
Noting that others are also interested in pressure sensors including the HOPERF range and wishing to avoid hijacking other threads, I will present some details here as time permits.
Some background first:
there are a couple of pressure sensors in the HP0x range
1. the HP01 series, and
2. the HP03 series
there are others but they are not discussed here
the HP01 series operate from 2 to 5Vdc but only give a relative pressure value.
the HP03 series operate from 2 to 3.3Vdc and have 11 calibration parameters stored in an onboard EEPROM at address $000 so the calculated result is actual pressure in hPa (or mbar).
The HP03 EEPROM mates well with the HH10D humidity sensor where the EEPROM is at address $001.
Each pressure sensor series is available in two or three formats.
"S" (as in HP03S) is a surface mount format with a board of just 9 x 9mm with 6 contacts along one edge at 1.27mm centres.
"D" (as in HP03D) is a socket mounting module 15mm x 10mm with 6 pins at 0.1" / 2.54mm centres.
I have purchased the HP03S and managed to solder six very short leads from the edge contacts to a 6pin header.
Attached is a table showing the EEPROM locations for the 11 parameters and the values I have read.
All are within the stated ranges for each parameter.
Note that HOPERF modules (HH10D and HP0x range) store the MSByte in the lower byte of a word pair whereas the PICAXE BASIC has the MSByte in the upper byte of a word pair.
Get the HOPERF module parameter bytes reversed and things will not make sense. Out of the 11 parameters if I read the byte pairs wrong, I would see 4 parameters out of the stated range and all incorrect (giving crazy values no doubt)
More another day as I experiment (but very heavy work commitments for the next few weeks) . . . .
The PICAXE and two i2c devices operate at 4.5 to 5Vdc and the HOPERF HH10D (Humidity) and HP03S (Pressure) sensors operate at 3.3Vdc.
Noting that others are also interested in pressure sensors including the HOPERF range and wishing to avoid hijacking other threads, I will present some details here as time permits.
Some background first:
there are a couple of pressure sensors in the HP0x range
1. the HP01 series, and
2. the HP03 series
there are others but they are not discussed here
the HP01 series operate from 2 to 5Vdc but only give a relative pressure value.
the HP03 series operate from 2 to 3.3Vdc and have 11 calibration parameters stored in an onboard EEPROM at address $000 so the calculated result is actual pressure in hPa (or mbar).
The HP03 EEPROM mates well with the HH10D humidity sensor where the EEPROM is at address $001.
Each pressure sensor series is available in two or three formats.
"S" (as in HP03S) is a surface mount format with a board of just 9 x 9mm with 6 contacts along one edge at 1.27mm centres.
"D" (as in HP03D) is a socket mounting module 15mm x 10mm with 6 pins at 0.1" / 2.54mm centres.
I have purchased the HP03S and managed to solder six very short leads from the edge contacts to a 6pin header.
Attached is a table showing the EEPROM locations for the 11 parameters and the values I have read.
All are within the stated ranges for each parameter.
Note that HOPERF modules (HH10D and HP0x range) store the MSByte in the lower byte of a word pair whereas the PICAXE BASIC has the MSByte in the upper byte of a word pair.
Get the HOPERF module parameter bytes reversed and things will not make sense. Out of the 11 parameters if I read the byte pairs wrong, I would see 4 parameters out of the stated range and all incorrect (giving crazy values no doubt)
More another day as I experiment (but very heavy work commitments for the next few weeks) . . . .
Attachments
-
3.5 KB Views: 75
Last edited: