LabWired The easy way to build hardware
I²C device

Microchip MCP9808

The Microchip MCP9808 is an I²C device in the LabWired part catalog. Its catalog type is mcp9808. It connects to the MCU over I²C at the default address 0x18. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategoryI²C devices
Catalog typemcp9808
InterfaceI²C
Default I²C address0x18 (24 decimal)
Pins4
DatasheetMicrochip MCP9808 digital temperature sensor datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

Microchip MCP9808 pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
SCL Open-drain I²C clock (SCL)
SDA Open-drain I²C data (SDA)

How to simulate the Microchip MCP9808 in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Microchip MCP9808 (catalog type mcp9808).
  3. Connect VCC and GND to the supply and ground of the board.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Run the firmware. It finds the part on the I²C bus at 0x18 and reads and writes it as on hardware.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from Microchip MCP9808 digital temperature sensor datasheet.