Package Exports
- mcp9808-sensor
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mcp9808-sensor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mcp9808-sensor
Welcome to mcp9808-sensor, a Node.js I2C module for the Microchip MCP98089 digital thermometer. Adafruit sells a MCP9808 breakout board and here is the datasheet.
This module uses i2c-bus which should provide access with Node.js on Linux boards like the Raspberry Pi Zero, 1, 2, or 3, BeagleBone, BeagleBone Black, or Intel Edison.
I2C Address
The default I2C address is 0x18
. You can change the address by tying a conbination of the A0 A1 A2
pins to VDD. Each pin of the A0 A1 A2
set adds an offset to the base address of 0x18
Pin | Offset |
---|---|
A0 |
1 |
A1 |
2 |
A2 |
4 |