Skip to content
Get started

SPD2010 Touchscreen

The spd2010 touchscreen platform supports the SPD2010 capacitive touch controller. It requires an I²C bus and a display. The default calibration covers a 412×412 display.

touchscreen:
- platform: spd2010
display: main_display
  • interrupt_pin (Optional, Pin Schema): The controller’s interrupt pin. Must be an internal GPIO. When omitted, the controller is polled.
  • reset_pin (Optional, Pin Schema): The controller’s active-low reset pin. GPIO expanders are supported. Omit this if the board handles touch reset.
  • address (Optional, int): I²C address. Defaults to 0x53.
  • update_interval (Optional, Time): Polling interval when no interrupt pin is configured. Defaults to 50ms.
  • calibration (Optional): Defaults to x_min: 0, x_max: 411, y_min: 0, and y_max: 411. Override these values for other panel dimensions.
  • All other options from Touchscreen.

The driver reports each contact using its controller ID and releases contacts when their strength becomes zero. Use ESPHome’s touchscreen automations or LVGL for gestures.