LabWired The easy way to build hardware
I²C device

CAP1188 Touch

The CAP1188 Touch is an I²C device in the LabWired part catalog. Its catalog type is cap1188. It connects to the MCU over I²C at the default address 0x29. The catalog gives a supply range of 3–5.5 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: Declarative I²C kit — core/configs/devices/cap1188.yaml. Latched status bits and MAIN_CONTROL.INT behave as on silicon (a still-held pad re-asserts INT after the write-0). NOT modelled: the ALERT pad (nothing drives a pin), the noise detector, multiple-touch blocking, the guard channel, the LED drivers, recalibration and standby. Touch strength is a fixed 50%-of-full-scale threshold, not the analogue calibration loop.

Key facts

CategoryI²C devices
Catalog typecap1188
InterfaceI²C
Default I²C address0x29 (41 decimal)
Supply range3–5.5 V
Pins4
DatasheetMicrochip CAP1188 datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

CAP1188 Touch pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
SDA Open-drain I²C data (SDA)
SCL Open-drain I²C clock (SCL)

How to simulate the CAP1188 Touch in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the CAP1188 Touch (catalog type cap1188).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 3–5.5 V.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Run the firmware. It finds the part on the I²C bus at 0x29 and reads and writes it as on hardware.

Other parts at I²C address 0x29

These catalog parts use the same default address. Two parts at one address cannot share one bus segment. A bus switch such as the TCA9548A puts them on separate segments.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from Microchip CAP1188 datasheet.