Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pmod:pmodhygro:reference-manual [2022/09/13 17:35] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | pmod:pmodhygro:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pmod HYGRO Reference Manual ====== | ||
| + | The Digilent Pmod HYGRO (Revision A) is a relative humidity sensor with an integrated temperature sensor for highly accurate measurements at low power. With the {{http:// | ||
| + | {{Digilent Image Gallery | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | }} | ||
| + | |||
| + | == Download This Reference Manual == | ||
| + | * {{ : | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Features ===== | ||
| + | * Relative humidity accuracy ±2% | ||
| + | * Temperature sensor accuracy 0.2 °C | ||
| + | * Good stability at high humidity | ||
| + | * 14-bit measurement resolution | ||
| + | * Internal resistive heating element | ||
| + | * 6-pin Pmod connector with I²C interface | ||
| + | * Pass-through Pmod host port for daisy chaining | ||
| + | |||
| + | |||
| + | ---- | ||
| + | =====Functional Description ===== | ||
| + | The Pmod HYGRO is designed to digitally report the relative humidity and ambient temperature upon request by the host board. Up to 14-bits of resolution for each sensor may be collected by allowing for longer conversion times. A resistive heating element can be enabled to test the sensor or drive off condensation that accumulates on the sensor after being consistently exposed to high humidity conditions. | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | =====Specifications ===== | ||
| + | ^ Parameter | ||
| + | | Power Supply Voltage | ||
| + | | Serial Clock Frequency | ||
| + | ^ Parameter | ||
| + | | RH Accuracy | ||
| + | | RH Repeatability | ||
| + | | RH Hysteresis | ||
| + | | RH Response Time | ||
| + | | Temperature Accuracy | ||
| + | | Sleep Mode Current Draw | 100 | ||
| + | |||
| + | ---- | ||
| + | ===== Interfacing with the Pmod===== | ||
| + | The Pmod HYGRO communicates with the host board via the [[pmod: | ||
| + | |||
| + | ==== Configuration Register ==== | ||
| + | |||
| + | The Configuration register (address 0x02) allows users to control the resolution of the temperature and humidity measurements, | ||
| + | |||
| + | ^ Configuration Register Description (Address 0x02) ||||| | ||
| + | ^Bit Name ^Bit Number | ||
| + | |RST |[15] |Software reset bit |0¹ |Normal Operation, this bit self clears | | ||
| + | |::: |::: | ||
| + | |Reserved | ||
| + | |HEAT |[13] |Heater | ||
| + | |::: |::: | ||
| + | |MODE |[12] |Acquisition Mode |0 |Temperature or Humidity is acquired depending on which register you choose to read | | ||
| + | |::: |::: | ||
| + | |BTST |[11] |Battery Status | ||
| + | |::: |::: | ||
| + | |TRES |[10] |Temperature Measurement Resolution | ||
| + | |::: |::: | ||
| + | |HRES |[9: | ||
| + | |::: |::: | ||
| + | |::: |::: | ||
| + | |Reserved | ||
| + | |||
| + | ¹ -- This is the default value on power-up or reset | ||
| + | ==== Temperature and Humidity Registers ==== | ||
| + | |||
| + | The temperature register (address 0x00) and the humidity register (address 0x01) are both 16-bit read only registers with the 14 MSBs corresponding to the 14-bit maximum resolution for both sensors. The two LSBs (bits D1 and D0) are always 0 for both registers. As the measurement resolution increases, the corresponding conversion time for each sensor also increases. A table of typical conversion times from Section 7.5 (Electrical Characteristics) of the [[http:// | ||
| + | |||
| + | ^ Relative Humidity Sensor | ||
| + | | 8-bit resolution | ||
| + | | 11-bit resolution | ||
| + | | 14-bit resolution | ||
| + | |||
| + | Upon device power-up, the Pmod HYGRO requires at least 15 ms prior to being able to perform a measurement. To perform a measurement, | ||
| + | |||
| + | Note that if a write transaction is performed on either the temperature (address 0x00) or humidity (address 0x01) registers during a conversion, the current conversion will be aborted and a new one started. If a read is performed during a conversion, the Pmod HYGRO will respond back with a [[learn/ | ||
| + | |||
| + | ==== Quick data acquisition ==== | ||
| + | Here is the series of commands to acquire relative humidity and temperature data from the Pmod HYGRO in pseudo I²C code. | ||
| + | |||
| + | - Power on the Pmod HYGRO and wait at least 15 ms. | ||
| + | - Call the device ID with a write bit< | ||
| + | - Wait to receive an ACK from the Slave Device | ||
| + | - Write the device address that you want to talk to< | ||
| + | - Wait to receive an ACK from the Slave Device | ||
| + | - Delay at least 12.85 ms (6.35 ms for the Temperature Sensor and 6.50 ms for the Humidity Sensor) | ||
| + | - Read 4 bytes from the temperature and humidity registers (two 8 byte samples from each, MSB then LSB)< | ||
| + | - Convert the readings into usable data. Note that the two LSBs (D1 and D0) will always be set to a value of '' | ||
| + | - Wait at least one full second before initiating another reading to avoid internal heating of the humidity sensor. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== Pinout Table Diagram ==== | ||
| + | |||
| + | ^ Header J1 ^^^ Header J2 ^^^ Jumper Blocks | ||
| + | ^ Pin | ||
| + | | 1 | ||
| + | | 2 | ||
| + | | 3 | ||
| + | | 4 | ||
| + | | 5 | ||
| + | | 6 | ||
| + | |||
| + | The %%Pmod HYGRO%% is an ideal Pmod to use in long term humidity test application. As a very low power Pmod between measurements, | ||
| + | |||
| + | Any external power applied to the Pmod HYGRO must be within 2.7 V and 5.5 V to ensure that the on-board chips operate correctly; however, it is recommended that Pmod is operated at 3.3 V. | ||
| + | |||
| + | ==== Timing Diagram ==== | ||
| + | A sample timing diagram for writing to and reading from the Pmod HYGRO taken from the HDC1080 datasheet are provided below: | ||
| + | |||
| + | //Example write to the Pmod HYGRO// | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | //Example reading from the Pmod HYGRO// | ||
| + | |||
| + | {{ : | ||
| + | ---- | ||
| + | |||
| + | ===== Physical Dimensions ===== | ||
| + | The pins on the pin header are spaced 100 mil apart. The PCB is 1.25 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header. | ||
| + | ---- | ||
| + | ===== Additional Information ===== | ||
| + | The schematics of the %%Pmod HYGRO%% are available {{reference: | ||
| + | |||
| + | More specific information about how to use the %%Pmod HYGRO%% can be found by checking out the additional resources on the Pmod HYGRO [[pmod: | ||
| + | |||
| + | If you have any questions or comments about the %%Pmod HYGRO%%, feel free to post them under the appropriate section (" | ||
| + | |||
| + | {{tag> | ||

