{"product_id":"sparkfun-mikroe-cap-touch-2-click","title":"SparkFun MIKROE Cap Touch 2 Click","description":"\u003cp\u003eCap 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.\u003c\/p\u003e \u003cp\u003eDue 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eThere are three power modes of operation:\u003c\/p\u003e \u003cul\u003e \u003cli\u003eFully Active mode, which monitors all the input channels and all the LED drivers are active. Registers are available for both reading and writing.\u003c\/li\u003e \u003cli\u003eStand-by mode, which will monitor only the selected channels. The selected channels will be able to trigger interrupts. Communication will be still functional and the device can be set to a Fully Active mode. This mode uses less power than the Fully Active mode.\u003c\/li\u003e \u003cli\u003eDeep Sleep mode, which consumes the least power. In this mode, all the input channels and LED drivers are disabled. The communication is possible only when the CAP1166 IC is targeted by the host MCU.\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eMultiple 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.\u003c\/p\u003e \u003cp\u003eCap 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eMore 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.\u003c\/p\u003e \u003cp\u003e\u003cstrong\u003eFeatures:\u003c\/strong\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003eInterface: SPI\u003c\/li\u003e \u003cli\u003eCompatibility: mikroBUSâ�¢\u003c\/li\u003e \u003cli\u003eDimensions: 57.15 x 25.4mm\u003c\/li\u003e \u003cli\u003eInput Voltage: 3.3V\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e\u003cstrong\u003eDocuments:\u003c\/strong\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/3\/6\/c\/d\/c\/Schematic-19966-MIKROE_Cap_Touch_2_Click.pdf\"\u003eSchematic\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/6\/c\/a\/6\/2\/CAP1166.pdf\"\u003eCAP1166 Datasheet\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/www.mikroe.com\/mikrosdk\"\u003emikroSDK\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/github.com\/MikroElektronika\/mikrosdk_click_v2\/tree\/master\/clicks\/captouch2\"\u003eGitHub\u003c\/a\u003e\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e\u003cstrong\u003eVideos\u003c\/strong\u003e\u003c\/p\u003e \u003cdiv class=\"flex-video-wrap clearfix\"\u003e \u003cdiv class=\"flex-video widescreen img\"\u003e \u003ciframe src=\"https:\/\/www.youtube.com\/embed\/L_iMMQHPQhA\/?autohide=1\u0026amp;border=0\u0026amp;wmode=opaque\u0026amp;enablejsapi=1\" frameborder=\"0\" allowfullscreen width=\"560\" height=\"315\"\u003e\u003c\/iframe\u003e \u003c\/div\u003e \u003c\/div\u003e","brand":"sparkfun-10","offers":[{"title":"Default Title","offer_id":40531143917653,"sku":"19966:SEN-19966:spark","price":2530.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1034\/1611\/products\/19966_-_MIKROE_Cap_Touch_2_Click_2.jpg?v=1678246700","url":"https:\/\/www.tanotis.com\/products\/sparkfun-mikroe-cap-touch-2-click","provider":"Tanotis","version":"1.0","type":"link"}