{"product_id":"mikroe-2152-2x2-key-click-board-uk","title":"2x2 Key Click Board™","description":"\u003cdiv\u003e\n\u003ch3\u003eDEBOUNCE CIRCUIT\u003c\/h3\u003e\n\u003c\/div\u003e\n\n\u003cdiv\u003e\n\u003cp\u003eIn electronics, two metal components tend to bounce or create multiple signals when they are in contact with each other — like when you push a button — before they get to a stable state. You want a single contact to be recorded, but the microcontroller records this as if you pressed the button many times.\u003c\/p\u003e\n\n\u003cp\u003eSo debouncing is, as the name states, the removal of bounces or spikes of low and high voltages. Graphically speaking, you want a clean line, not spikes. A debounce circuit makes sure that there are no voltage changes on the output. Thanks to it, one button press is recorded as such.\u003c\/p\u003e\n\u003c\/div\u003e\n\n\u003ch3\u003eINTERRUPT SERVICE ROUTINE\u003c\/h3\u003e\n\n\u003cdiv\u003e\n\u003cp\u003eAll four Schmitt-trigger outputs are connected to input pins of the logic OR gate 74HC32, whose output is directly connected to the INT pin on mikroBUS. This pin is used to signalize an interrupt to the MCU any time a button is pressed.\u003c\/p\u003e\n\n\u003cp\u003eIn this way, the MCU software can be implemented as a simple polling routine, without any delays programmed in the code (like it would be necessary if there wasn't a hardware debouncing circuit present).\u003c\/p\u003e\n\n\u003cp\u003eThanks to the INT pin you can easily program a common interrupt service routine, in order to detect when a button is pressed (the state of the button changes from low to high logic level).\u003c\/p\u003e\n\u003c\/div\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\u003ePushbutton\/Switches\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eApplications\u003c\/td\u003e\n            \u003ctd\u003eHuman machine interface applications\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eOn-board modules\u003c\/td\u003e\n            \u003ctd\u003e74HC32 quad 2-input OR gate from NXP and the SN74HC14 Hex Schmitt-Trigger Inverter from Texas Instruments\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eKey Features\u003c\/td\u003e\n            \u003ctd\u003e74HC32 quad 2-input OR gate, SN74HC14 Hex Schmitt-Trigger Inverte\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInterface\u003c\/td\u003e\n            \u003ctd\u003eGPIO\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\u003eM (42.9 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 or 5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eADDITIONAL INFORMATION\u003c\/h3\u003e\n\n\u003cul\u003e\n    \u003cli\u003eJ2 is the interrupt enable pin (by default it is in the enable status).\u003c\/li\u003e\n    \u003cli\u003eJ1 is the power selection pin.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePINOUT DIAGRAM\u003c\/h3\u003e\n\n\u003cp\u003eThis table shows how the pinout on 2x2 Key click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth colspan=\"4\"\u003e\u003cimg alt=\"Mikrobus logo.png\" class=\"fr-fic fr-dii\" data-entity-type=\"\" data-entity-uuid=\"\" 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    \u003c\/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eWhen button T1 is pressed the pin is active\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eT1-OUT\u003c\/strong\u003e\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\u003e\u003cstrong\u003eT4-OUT\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eWhen button T4 is pressed the pin is active\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eWhen button T2 is pressed the pin is active\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eT2-OUT\u003c\/strong\u003e\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\u003e\u003cstrong\u003eTINT\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eInterrupt pin that notifies the MCU that a button is pressed\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eWhen button T3 is pressed the pin is active\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eT3-OUT\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e3\u003c\/td\u003e\n            \u003ctd\u003eCS\u003c\/td\u003e\n            \u003ctd\u003eTX\u003c\/td\u003e\n            \u003ctd\u003e14\u003c\/td\u003e\n            \u003ctd\u003eNC\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\u003eRX\u003c\/td\u003e\n            \u003ctd\u003e13\u003c\/td\u003e\n            \u003ctd\u003eNC\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\u003e+3.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\u003e\u003cstrong\u003e+5V\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003ePower supply\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\u003e \u003c\/h3\u003e\n\n\u003cdiv\u003e \u003c\/div\u003e","brand":"Mikroelektronika d.o.o.","offers":[{"title":"Default Title","offer_id":37768391131325,"sku":"MIKROE-2152","price":11.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6931\/8333\/files\/mikroelektronika-d-o-o-mikroe-2152-mikroe-2x2-key-click-board-mikroe-2152-42685767057631.png?v=1722899809","url":"https:\/\/thedebugstore.com\/es\/products\/mikroe-2152-2x2-key-click-board-uk","provider":"Debug Store","version":"1.0","type":"link"}