{"product_id":"saml-touch-click-board-mikroe-3414-uk","title":"SAML Touch Click Board™","description":"\u003cp\u003eThe \u003cstrong\u003eSAML Click Board™\u003c\/strong\u003e is a perfect example of how simple the implementation of the Q-Touch \u003csup\u003e® \u003c\/sup\u003etechnology from Microchip can be. Besides the ATSAML10 MCU itself, the Click board™ contains a few additional hardware components. Thanks to the highly integrated PTC module supported by the Q-Touch \u003csup\u003e®\u003c\/sup\u003e, the development of complex touch applications becomes extremely simple and fast. Featuring many inherited benefits compared to mechanical buttons and sliders, this Click board™ can be used for the development of various HMI interfaces, touch-operated control panels, interfaces used in very harsh and humid environments, etc.\u003c\/p\u003e\n\n\u003ch3\u003eHow Does The SAML Click Board™ Work?\u003c\/h3\u003e\n\n\u003cp\u003eThe main component of the \u003cstrong\u003eSAML Click Board™\u003c\/strong\u003e is the ATSAML10, an ultra-low-power 32-bit ARM \u003csup\u003e® \u003c\/sup\u003eCortex \u003csup\u003e® \u003c\/sup\u003eMicroController Unit (MCU) from Microchip. Among many other features, this MCU contains the enhanced Peripheral Touch Controller (PTC) module, making it a perfect solution for various capacitive touch-based applications that require superior noise immunity. One of the key features of the PTC module is its ability to reliably sense touch events, even when covered with water. SAML click demonstrates the overall hardware simplicity of one such application: capacitive pads are directly connected to the MCU pins, with no additional components required. Everything is already integrated within the PTC module of the ATSAML10 MCU itself, allowing very fast development. The only passive components on this click are the resistors that limit the current through the LEDs and accompanying filtering capacitors.\u003c\/p\u003e\n\n\u003cp\u003e\u003cimg alt=\"MikroElektronika MIKROE-3414 SAML Touch Click Board, front with touch slider and buttons, rear with ATSAML10E16\" data-entity-type=\"\" data-entity-uuid=\"\" data-mce-src=\"https:\/\/www.mikroe.com\/img\/images\/SAML-Touch-10-click-inner-img.jpg\" src=\"https:\/\/www.mikroe.com\/img\/images\/SAML-Touch-10-click-inner-img.jpg\"\u003e\u003c\/p\u003e\n\n\u003cp\u003eAs mentioned before, the enhanced PTC module provides many benefits over similar solutions. The most distinctive is its parallel acquisition capability, allowing it to process all the inputs in parallel and simultaneous detection of multiple touch events. This increases the responsiveness of the touch interface, compared to traditional sequential acquisition circuits. It also provides better noise immunity and more robustness when used in harsh and humid environments. This allows the Click board™ to use an acrylic overlay, and still detects touch events with perfect accuracy.\u003c\/p\u003e\n\n\u003cp\u003eAnother feature of the enhanced PTC module is the Driven Shield Plus capability. This capability adds another layer of noise protection to the application. It allows touch sensors to work while exposed to moisture, sweat, rain, and even running water. Any of the capacitive touch channels can be used as a driven shield channel, offering IP-68 compliant protection.\u003c\/p\u003e\n\n\u003cp\u003eA cleverly designed firmware is responsible for events detection, visual feedback over LED indicators, and for communication with the host MCU. The MCU firmware is written using Q-Touch® libraries from Microchip, which offer full support for PTC modules. The communication with the ATSAML10 is realized over the UART interface. A set of UART command strings are available for touch detection, as well as for the touch slider position. However, the Click board™ is supported by a mikroSDK compatible library, offering simple functions, saving the developer to write UART command parsers. These functions allow faster development and simplified software design.\u003c\/p\u003e\n\n\u003cp\u003eThe Click board™ is designed to work with 3.3V only. If interfacing with systems that use 5V for their operation, an appropriate level translating circuitry has to be used.\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eType\u003c\/td\u003e\n            \u003ctd\u003eCapacitive\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eApplications\u003c\/td\u003e\n            \u003ctd\u003eFeaturing many inherited benefits compared to mechanical buttons and sliders, this Click board™ can be used for the development of various HMI interfaces, touch-operated control panels, interfaces used in a very harsh and humid environment, etc.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eOn-board modules\u003c\/td\u003e\n            \u003ctd\u003eATSAML10, a powerful, low-power, 32-bit ARM® Cortex® Micro Controller Unit (MCU) by Microchip.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eKey Features\u003c\/td\u003e\n            \u003ctd\u003eATSAML10 onboard, a powerful MCU with the Integrated PTC capacitive touch peripheral module, parallel acquisition greatly improves responsiveness, Driven Shield Plus feature offers immunity to using the Click board™ in humid conditions, clean and visually appealing indication of the touch over LEDs, two buttons plus one slider, etc.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInterface\u003c\/td\u003e\n            \u003ctd\u003eUART\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eCompatibility\u003c\/td\u003e\n            \u003ctd\u003emikroBUS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eClick board size\u003c\/td\u003e\n            \u003ctd\u003eL (57.15 x 25.4 mm)\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInput Voltage\u003c\/td\u003e\n            \u003ctd\u003e3.3V\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003ePinout diagram\u003c\/h3\u003e\n\n\u003cp\u003eThis table shows how the pinout on the \u003cstrong\u003eSAML Click Board™\u003c\/strong\u003e\u003cstrong\u003e \u003c\/strong\u003ecorresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth\u003e\u003cimg alt=\"MikroElektronika MIKROE-3414 SAML Touch Click Board, mikroBUS label graphic in black text\" data-entity-type=\"\" data-entity-uuid=\"\" data-mce-src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\"\u003e\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e1\u003c\/td\u003e\n            \u003ctd\u003eAN\u003c\/td\u003e\n            \u003ctd\u003ePWM\u003c\/td\u003e\n            \u003ctd\u003e16\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e2\u003c\/td\u003e\n            \u003ctd\u003eRST\u003c\/td\u003e\n            \u003ctd\u003eINT\u003c\/td\u003e\n            \u003ctd\u003e15\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e3\u003c\/td\u003e\n            \u003ctd\u003eCS\u003c\/td\u003e\n            \u003ctd\u003eRX\u003c\/td\u003e\n            \u003ctd\u003e14\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eTX\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eUART Transmit\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e4\u003c\/td\u003e\n            \u003ctd\u003eSCK\u003c\/td\u003e\n            \u003ctd\u003eTX\u003c\/td\u003e\n            \u003ctd\u003e13\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eRX\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eUART Receive\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e5\u003c\/td\u003e\n            \u003ctd\u003eMISO\u003c\/td\u003e\n            \u003ctd\u003eSCL\u003c\/td\u003e\n            \u003ctd\u003e12\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e6\u003c\/td\u003e\n            \u003ctd\u003eMOSI\u003c\/td\u003e\n            \u003ctd\u003eSDA\u003c\/td\u003e\n            \u003ctd\u003e11\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePower Supply\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e3.3V\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e7\u003c\/td\u003e\n            \u003ctd\u003e3.3V\u003c\/td\u003e\n            \u003ctd\u003e5V\u003c\/td\u003e\n            \u003ctd\u003e10\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e8\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003e9\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eOnboard settings and indicators\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003cth\u003eLabel\u003c\/th\u003e\n            \u003cth\u003eName\u003c\/th\u003e\n            \u003cth\u003eDefault\u003c\/th\u003e\n            \u003cth\u003e Description\u003c\/th\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eLD1 - LD6\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003eCapacitive slide bargraph indicator\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eLD7\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003eTouch button 1 LED indicator\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eLD8\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003eTouch button 2 LED indicator\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eSoftware Support\u003c\/h3\u003e\n\n\u003cp\u003eWe provide a library for the \u003cstrong\u003eSAML Click Board™\u003c\/strong\u003e on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.\u003c\/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eLibrary Description\u003c\/strong\u003e\u003c\/p\u003e\n\n\u003cp\u003eThe library contains the function which parses the response received by the module and checks the buttons and slider.\u003c\/p\u003e\n\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\n\u003cul\u003e\n    \u003cli\u003e\n\u003ccode\u003evoid samltouch_parser(char *dataIn, samltouch_state_T *state) \u003c\/code\u003e- The function parses the response it receives\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eExamples description\u003c\/strong\u003e\u003c\/p\u003e\n\n\u003cp\u003eThe application is composed of three sections :\u003c\/p\u003e\n\n\u003cul\u003e\n    \u003cli\u003eSystem Initialization - Initializes UART used for the communication with SAML Touch module and UART used for information logging.\u003c\/li\u003e\n    \u003cli\u003eApplication Initialization - Initializes driver init and timer init.\u003c\/li\u003e\n    \u003cli\u003eApplication Task - running in the parallel core state machine. Check that button 1 or button 2 or the active slider is pressed. If it detects that buttons 1 or 2 are pressed, it logs a button detection message. If it detects that the slider is active, it logs a message that the slider is active and its current position is 0-255.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cpre\u003e\nvoid applicationTask()\n{\n\/\/ CORE STATE MACHINE\n    samltouch_process();\n    \n    if(timerCounter \u0026gt; 100)\n    {\n        if(SAML_Touch.button2 == 1)\n        {\n            mikrobus_logWrite( \"Button 2 is pressed.\", _LOG_LINE );\n        }\n        else if(SAML_Touch.button1 == 1)\n        {\n            mikrobus_logWrite( \"Button 1 is pressed.\", _LOG_LINE );\n        }\n        timerCounter = 0;\n    }\n    \n    if(SAML_Touch.sw_state == 1)\n    {\n        mikrobus_logWrite( \"Slider is active.\", _LOG_LINE );\n        if(SAML_Touch.sw_pos != 0)\n        {\n            mikrobus_logWrite( \"Slider position is  \", _LOG_TEXT );\n            IntToStr(SAML_Touch.sw_pos, demoText);\n            mikrobus_logWrite( demoText, _LOG_LINE );\n        }\n    }\n}\n\n\u003c\/pre\u003e\n\n\u003cp\u003eAdditional Functions :\u003c\/p\u003e\n\n\u003cp\u003eAll additional functions such as timer initialization and default handler.\u003c\/p\u003e\n\n\u003cp\u003eThe full application code, and ready to use projects can be found on our LibStock page.\u003c\/p\u003e\n\n\u003cp\u003eOther mikroE Libraries used in the example:\u003c\/p\u003e\n\n\u003cul\u003e\n    \u003cli\u003e\u003ccode\u003eString\u003c\/code\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ccode\u003eUART\u003c\/code\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ccode\u003eConversions\u003c\/code\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eAdditional notes and information\u003c\/strong\u003e\u003c\/p\u003e\n\n\u003cp\u003eDepending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.\u003c\/p\u003e\n\n\u003ch3\u003emikroSDK\u003c\/h3\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eSAML Click Board™\u003c\/strong\u003e is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.\u003c\/p\u003e","brand":"Mikroelektronika d.o.o.","offers":[{"title":"Default Title","offer_id":37768420851901,"sku":"MIKROE-3414","price":18.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6931\/8333\/products\/mikroelektronika-d-o-o-click-board-saml-touch-click-board-29644336529597.jpg?v=1685125739","url":"https:\/\/thedebugstore.com\/es\/products\/saml-touch-click-board-mikroe-3414-uk","provider":"Debug Store","version":"1.0","type":"link"}