Cap Touch 2 Click is a capacitive touch sensing Click board™ which features the CAP1166, an advanced touch/proximity sensor IC, packed with a range of different touch/proximity functionalities, allowing development of robust and aesthetically pleasing touch interfaces. Besides six touch sensitive channels, the sensor IC has six independent LED drivers, with several operating modes, including touch sensor linking, as well as the pulsing and breathing effects. It also supports Multiple Touch Pattern Detection (MTPD), and press-and-hold function. Capacitive touch sensor inputs are protected from false detections, which can be caused by the low noise and RF interferences, providing a very reliable touch sensing functionality.
Due to advanced capacitive touch proximity functions and technologies that allow reliable sensing, Cap Touch 2 Click offers very reliable and accurate sensing for any application that uses capacitive touch sensing functions, such as desktop or notebook computers, LCD/TFT monitors, various types of consumer electronics, home appliances, and other applications that can benefit of having an appealing, reliable and feature-rich touch activated user interface.
The capacitive sensor IC used on the Cap Touch 2 Click is the CAP1166, a 6 channel capacitive touch sensor with 6 LED drivers, from Microchip. This IC is composed of six input capacitive touch channels, implemented with the RightTouch® technology, six LED drives with programmable signaling functions, and the logic section, which uses the standard SPI communication interface. Besides the SPI bus, the logic section uses few more lines - for the device reset and for triggering the alert (interrupt) event.
The Click board itself has six PCB pads, used to sense touch or proximity events. These pads are the only elements on the top of the board, allowing installation of the protective acrylic glass layer. These pads can be programmed to generate a touch event for both when they are pressed, and when they are released. The capacitive sensor channels feature programmable sensitivity and an automatic recalibration, used to compensate for environmental changes. The recalibration procedure can be triggered either automatically, or on-demand, and it is used to set the base register value for the “not touched” state of the input channel. The enabled input channels are polled in a cyclic order and if the difference between the base value and the measured value on a particular channel is over the threshold, a touch event will be generated.
The CAP1166 IC also integrates sections that provide an efficient interference protection. The EMI and RFI detection sections provide protection by discarding the corrupted bytes if the detected noise threshold is exceeded. Also, false input readings, such as the negative values and “stuck button” events are handled by the internal algorithms, which will set the respective bits to indicate the problem, and can be set to trigger a recalibration procedure.
There are three power modes of operation:
Multiple touch pattern detection (MTPD) is used to set the pattern which will generate a touch event. This pattern may consist of multiple specific sensors touched at once, a minimal number of touched sensors, or when their noise flag bit is set in the status register. This function can be used to detect a closed lid or similar event.
Cap Touch 2 Click contains six LEDs, mounted on the back side of the PCB, inside the specially designed openings. These LEDs can be linked to the corresponding sensing channel or can be controlled by the host MCU. As described above, these LEDs can be programmed to indicate a touch event with a range of lighting effects, including breathing, two modes of pulsing with the programmable parameters, and an ON-OFF state.
The interrupt engine allows to differentiate between the simple touch, and touch and hold events. The interrupt can be generated once when a pad touch is detected, or it can be repeatedly generated while the pad is touched. The programmable timer is started after the first touch event on a specific channel, and if no release event is detected after the timer expires, the interrupt is generated, in the programmed intervals. This function is very useful for building volume up/down buttons, light dimming buttons, and similar applications. The interrupt event will also drive the /ALERT pin to a state, defined in the respective configuration register. This pin is routed to the mikroBUS™ INT pin and it is used to trigger an interrupt event on the host MCU.
The RST pin is routed to the RST pin of the mikroBUS™ and it is used to reset the CAP1166 IC. To reset the device, this pin has to be set to a HIGH logic level. This will clear all the readings and reset the configuration registers to their factory default values. The device will be kept in a Deep Sleep mode until this pin is set to a LOW logic level. This pin is equipped with a pull-down resistor.
More information about the registers and their functions can be found in the CAP1166 IC datasheet. However, the provided Click library offers a function for easy and simple control of the Cap Touch 2 Click. The provided application example demonstrates their functionality and it can be used as a reference for custom projects.
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
No reviews yet.
Hookup guide?