4.4.5 Temperature Sensor

The MCP9808 digital temperature sensor converts temperatures between -20°C and +100°C to a digital word with ±0.25°C/±0.5°C (typical/maximum) accuracy.

Additional features:
  • Accuracy:
    • ±0.25°C (typical) from -40°C to +125°C
    • ±0.5°C (maximum) from -20°C to +100°C
  • User Selectable Measurement Resolution:
    • 0.5°C, 0.25°C, 0.125°C, 0.0625°C
  • User Programmable Temperature Limits:
    • Temperature Window Limit
    • Critical Temperature Limit
  • User Programmable Temperature Alert Output
  • Operating Voltage Range:
    • 2.7V to 5.5V
  • Operating Current:
    • 200 μA (typical)
  • Shutdown Current:
    • 0.1 μA (typical)
The MCP9808 temperature sensor is connected to the ATmega4808 through I2C and a GPIO for the user-configurable alert output.
Note: 7-bit I2C address: 0x18.
Table 4-8. MCP9808
MCP9808 PinATmega4808 PinFunctionShared Functionality
SDAPA2TWI0 SDAATECC608A and mikroBUS
SCLPA3TWI0 SCLATECC608A and mikroBUS
AlertPC2ASYNC External Interrupt