{
  "id": "ttp229-touch16",
  "name": "TTP229 16-key capacitive touch keypad",
  "category": "input",
  "pins": [
    {
      "name": "VCC",
      "role": "power"
    },
    {
      "name": "GND",
      "role": "ground"
    },
    {
      "name": "SCL",
      "role": "digital_in",
      "needsOutput": true,
      "notes": "Clock from the ESP32. Not I2C: a simple 2-wire serial"
    },
    {
      "name": "SDO",
      "role": "digital_out",
      "notes": "Key data out to an ESP32 input"
    },
    {
      "name": "OUT1",
      "role": "passive",
      "notes": "Direct output for key 1 in 8-key mode, not needed with SCL/SDO"
    },
    {
      "name": "OUT2",
      "role": "passive"
    },
    {
      "name": "OUT3",
      "role": "passive"
    },
    {
      "name": "OUT4",
      "role": "passive"
    },
    {
      "name": "OUT5",
      "role": "passive"
    },
    {
      "name": "OUT6",
      "role": "passive"
    },
    {
      "name": "OUT7",
      "role": "passive"
    },
    {
      "name": "OUT8",
      "role": "passive"
    }
  ],
  "bus": "gpio",
  "voltage": "3.3-5",
  "model": {
    "shape": "module",
    "size": [
      65,
      50,
      3
    ],
    "color": "#B22222"
  },
  "keywords": [
    "ttp229",
    "touch keypad",
    "16 keys",
    "capacitive",
    "touch",
    "tastierino touch"
  ],
  "sources": [
    {
      "title": "Tontek TTP229-BSF datasheet",
      "section": "2-wire serial output (SCL, SDO); 8 or 16 keys by option pin (TP2 on the module); 2.4 to 5.5 V"
    },
    {
      "title": "Common TTP229 module",
      "section": "Header order varies: check the silkscreen"
    }
  ]
}