{
  "id": "howmanyoliversarethere/micropython-tmp100",
  "name": "micropython-tmp100",
  "prettyName": "micropython-tmp100",
  "description": "MicroPython driver for the TI TMP100/TMP101 I2C temperature sensors",
  "version": "",
  "author": "howmanyoliversarethere",
  "license": "MIT",
  "tags": [],
  "status": "VALID",
  "official": false,
  "source": "https://github.com/howmanyoliversarethere/micropython-tmp100",
  "updatedAt": "2026-10-28T08:53:25.634Z",
  "page": "https://checkmim.com/packages/howmanyoliversarethere+micropython-tmp100",
  "createdAt": "2026-10-28T08:53:22.715Z",
  "submittedBy": "oliverr",
  "install": {
    "mpremote": "mpremote mip install github:howmanyoliversarethere/micropython-tmp100",
    "mip": "import mip; mip.install(\"github:howmanyoliversarethere/micropython-tmp100\")"
  },
  "readme": "# TMP100 / TMP101 temperature sensor\n\nA MicroPython driver for the Texas Instruments **TMP100** and **TMP101**\nI2C digital temperature sensors: 9- to 12-bit readings (down to\n0.0625 °C), shutdown and one-shot modes, and the thermostat limits that\ndrive the TMP101's ALERT pin.\n\nCopy `tmp100.py` onto your board, or install it with `mip`:\n\n```python\nimport mip\nmip.install(\"github:HowManyOliversAreThere/micropython-tmp100\")\n```\n\n## Usage\n\n```python\nfrom machine import I2C, Pin\nimport tmp100\n\ni2c = I2C(0, sda=Pin(19), scl=Pin(20), freq=400_000)\nsensor = tmp100.TMP100(i2c, address=0x48, resolution=12)\nprint(sensor.temperature())     # °C\n\n# Low power: sleep between readings.\nsensor.shutdown()\nprint(sensor.one_shot())        # converts once, waits, returns °C\n```\n\n## Notes\n\n- The address is 0x48 to 0x4F, depending on the ADD0/ADD1 pins (TMP100)\n  or ADD0 (TMP101). Check your datasheet's table, since ADD pins can also\n  be left floating for some addresses.\n- 12-bit conversions take up to 600 ms, and the first reading after\n  power-up is 0.0 °C until a conversion finishes.\n- The part has no ID register. `check()` confirms the device still\n  answers and holds the configuration it was given.\n\n## License\n\nMIT - see [LICENSE](LICENSE).\n"
}