This is a demo project for the Pmod TMP3 made by Digilent. The temperature of the air is measured and displayed on the Serial monitor in Fahrenheit and in degrees Celsius. To control the Pmod, an Arduino UNO is used, which also sends the data to the computer. To communicate with the peripheral device, I2C communication protocol is used, the device address being 0x48 (if all three jumpers JP1, JP2 and JP3 are set on GND). The recieved data is a 12-bit number in two's complement format, representing the temperature in degrees Celsius.
Output of the Pmod TMP3 test progam