{
  "id": "thermal-printer-ttl",
  "name": "Mini thermal receipt printer (TTL, 58 mm)",
  "category": "output",
  "pins": [
    {
      "name": "VH",
      "role": "passive",
      "notes": "Printer power 5 to 9 V, 2 A: its own supply, never from the ESP32"
    },
    {
      "name": "GND",
      "role": "ground",
      "notes": "Join to ESP32 GND too"
    },
    {
      "name": "RX",
      "role": "digital_in",
      "needsOutput": true,
      "notes": "The printer receives here. Connect to an ESP32 TX pin"
    },
    {
      "name": "TX",
      "role": "digital_out",
      "notes": "Printer status, optional. May be 5 V: use a divider"
    }
  ],
  "bus": "gpio",
  "voltage": "5-9",
  "model": {
    "shape": "module",
    "size": [
      80,
      58,
      40
    ],
    "color": "#D9D9D9"
  },
  "keywords": [
    "thermal printer",
    "receipt printer",
    "csn-a2",
    "ttl printer",
    "stampante termica",
    "scontrino"
  ],
  "sources": [
    {
      "title": "Adafruit Mini Thermal Receipt Printer guide",
      "section": "TTL serial at 19200 or 9600 baud (printed on the test page); 5 to 9 V, 2 A supply"
    }
  ]
}