{
  "id": "opt3001",
  "name": "OPT3001 ambient light (CJMCU-3001)",
  "category": "sensor",
  "measures": [
    "light"
  ],
  "pins": [
    {
      "name": "VCC",
      "role": "power",
      "notes": "Chip maximum is 3.6 V: use 3V3 only"
    },
    {
      "name": "GND",
      "role": "ground"
    },
    {
      "name": "SDA",
      "role": "i2c_sda"
    },
    {
      "name": "SCL",
      "role": "i2c_scl"
    },
    {
      "name": "INT",
      "role": "int",
      "notes": "Interrupt output (open drain), optional"
    },
    {
      "name": "ADDR",
      "role": "passive",
      "notes": "Address: GND = 0x44, VCC = 0x45, SDA = 0x46, SCL = 0x47"
    }
  ],
  "bus": "i2c",
  "addresses": [
    "0x44",
    "0x45",
    "0x46",
    "0x47"
  ],
  "idCheck": {
    "register": "0x7F",
    "expect": "0x30"
  },
  "voltage": "3.3",
  "pullupsOnBoard": true,
  "model": {
    "shape": "breakout",
    "size": [
      16.3,
      12,
      1.6
    ],
    "color": "#5B2A86"
  },
  "keywords": [
    "opt3001",
    "cjmcu-3001",
    "texas instruments",
    "lux",
    "ambient light",
    "luce",
    "luminosità"
  ],
  "sources": [
    {
      "title": "TI OPT3001 datasheet",
      "section": "Device ID register 0x7F = 0x3001 (first byte read is 0x30)"
    },
    {
      "title": "TI OPT3001 datasheet",
      "section": "ADDR pin: GND, VDD, SDA, SCL = 0x44 to 0x47; supply 1.6 to 3.6 V"
    }
  ]
}