Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pmod:pmodtmp2:reference-manual [2022/09/13 15:21] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | pmod:pmodtmp2:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pmod TMP2 Reference Manual ====== | ||
| + | The Digilent Pmod TMP2 (Revision B) is a temperature module allowing users to detect ambient temperatures ranging from -40 °C to 150 °C. | ||
| + | |||
| + | {{Digilent Image Gallery | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | }} | ||
| + | |||
| + | == Download This Reference Manual == | ||
| + | * {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Features ===== | ||
| + | * 16-bit ambient temperature sensor | ||
| + | * Typical accuracy better that 0.25 ºC | ||
| + | * 240 ms continuous conversion time | ||
| + | * Programmable over and under-temperature control pins | ||
| + | * No calibration required | ||
| + | * 2×4-pin connector with I2C interface | ||
| + | | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | =====Functional Description ===== | ||
| + | The %%Pmod TMP2%% utilizes the Analog Devices [[http:// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Interfacing with the Pmod===== | ||
| + | The %%Pmod TMP2%% communicates with the host board via the [[pmod: | ||
| + | |||
| + | ==== I²C Address Selection ==== | ||
| + | ^ I²C Addresses | ||
| + | ^ JP2 ^ JP1 ^ Device Address | ||
| + | | Open | ||
| + | | Open | ||
| + | | Shorted | ||
| + | | Shorted | ||
| + | |||
| + | To read the temperature data from the %%Pmod TMP2%%, users must first call the Analog Devices chip by whichever slave [[pmod: | ||
| + | |||
| + | Then, issue a restart condition and perform a read for two bytes of data (the register address is auto-incremented). Users may also notice that because the register address for the temperature data is 0x00, they may read the two data registers upon power-up without having to write to the address register because it is already in the correct location. The address register will need to be written to for subsequent readings. | ||
| + | |||
| + | The %%Pmod TMP2%% can also be set up to trigger two external output pins, CT (critical temperature) and INT (overtemperature or undertemperature interrupt). The CT pin is triggered whenever the critical temperature is reached which starts out at a default temperature of 147 °C. The INT pin by default triggers whenever the high temperature defined by the T< | ||
| + | |||
| + | ==== Pinout Description Table ==== | ||
| + | ^ Header J1 ||| | ||
| + | ^ Pin ^ Signal | ||
| + | | 1 & 5 | SCL | Serial Clock | ||
| + | | 2 & 6 | SDA | Serial Data |:::| JP2 | Open/ | ||
| + | | 3 & 7 | GND | Power Supply Ground | ||
| + | | 4 & 8 | VCC | Positive Power Supply | ||
| + | | | ||
| + | |::: |||::: | ||
| + | |||
| + | By default, the %%Pmod TMP2%% collects data with 13 bits of resolution including the sign bit. Users may calculate the corresponding decimal temperature by reading the 13 bits (with the most significant bit as the sign bit) in a [[: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | * The 2< | ||
| + | |||
| + | Any external power applied to the %%Pmod TMP2%% must be within 2.7V and 5.5V; however, it is recommended that Pmod is operated at 3.3V. | ||
| + | ---- | ||
| + | ===== Physical Dimensions ===== | ||
| + | The pins on the pin header are spaced 100 mil apart. The PCB is 1 inch 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 TMP2%% are available {{reference: | ||
| + | |||
| + | Example code demonstrating how to get information from the %%Pmod TMP2%% can be found [[pmod: | ||
| + | |||
| + | If you have any questions or comments about the %%Pmod TMP2%%, feel free to post them under the appropriate section (" | ||

