# Title: Keylock Click Board™ ## Description: The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the mikroBUS™ line. The key can be removed from the lock in any of the three positions. The package contains two keys and one protective cap. KEYLOCK FEATURES The contact mechanism provides unequaled logic-level reliability and smoother, positive detent actuation. Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting. SPECIFICATIONS Type Pushbutton/Switches Applications Use the three different positions of the mechanism to turn applications on or off, for home security applications, for industrial equipment, etc. On-board modules Keylock switch with 3 positions Key Features Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting Interface GPIO Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout of the Keylock Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Output position 1 1 1 AN PWM 16 2 Output position 2 NC 2 RST INT 15 3 Output position 3 NC 3 CS TX 14 NC NC 4 SCK RX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power supply +3.3V 7 3.3V 5V 10 +5V Power supply Ground GND 8 GND GND 9 GND Ground ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, HMI, MikroE, NKK Switches, Switch ## Price range: 18.9 - 18.9 GBP ## Link: https://thedebugstore.com/products/mikroe-2564-keylock-click-board-uk ## Compare-at price range: 27.0 - 27.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [HMI Interface Click Boards™](https://thedebugstore.com/a/llms/collections/hmi-interface-click-boards-catalogue-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Pushbutton/Switch Click Boards™](https://thedebugstore.com/a/llms/collections/pushbutton-switch-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [NKK Switches Device Support Catalogue - Debug Store](https://thedebugstore.com/a/llms/collections/nkk-switches-device-support) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-2564, Available: yes, Inventory: 1 ## Metafields - full_description:

The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the mikroBUS™ line.

The key can be removed from the lock in any of the three positions. The package contains two keys and one protective cap.

KEYLOCK FEATURES

The contact mechanism provides unequaled logic-level reliability and smoother, positive detent actuation.

Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting.

SPECIFICATIONS

Type Pushbutton/Switches
Applications Use the three different positions of the mechanism to turn applications on or off, for home security applications, for industrial equipment, etc.
On-board modules Keylock switch with 3 positions
Key Features Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting
Interface GPIO
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout of the Keylock Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
Output position 1 1 1 AN PWM 16 2 Output position 2
NC 2 RST INT 15 3 Output position 3
NC 3 CS TX 14 NC
NC 4 SCK RX 13 NC
NC 5 MISO SCL 12 NC
NC 6 MOSI SDA 11 NC
Power supply +3.3V 7 3.3V 5V 10 +5V Power supply
Ground GND 8 GND GND 9 GND Ground

 

 

 
- description_tag: The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The Click Board™ is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the MikroBUS line. Available from Debug Store UK. - title_tag: MikroE Keylock Click Board™ (MIKROE-2564) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Keylock Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 22 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 24.86 - amazon_fr_currency: EUR - amazon_fr_price: 24.86 - amazon_es_currency: EUR - amazon_es_price: 24.86 - amazon_nl_currency: EUR - amazon_nl_price: 24.86 - amazon_it_currency: EUR - amazon_it_price: 24.86 - amazon_se_curency: SEK - amazon_se_price: 250.8 - amazon_product_id: 8606018711444 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The Click Board™ is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the MikroBUS line.The Click Board™ comes with two keys and a protective cap for the mechanism. - amazon_long_description:

The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The Click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the mikroBUS line.

MIKROE-2564 | Keylock Click Board™.

The key can be removed from the lock in any of the three positions. The package contains two keys and one protective cap.

Keylock Features

The contact mechanism provides unequaled logic-level reliability and smoother, positive detent actuation.
Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting.

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-keylock-click-52x_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-keylock-front_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-keylock-back_1.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-keylock-back_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-2564 - backorder_label: If no stock shown above, check availability - google_product_category: 2082 - condition: new - custom_product: false - mpn: MIKROE-2564 - google_product_category: Electronics - custom_label_0: Click Board - attachments: [{"download_file":[{"download_file":"Keylock Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"NKK Switches Switch Specifications"}],"download_filetype":[{"download_filetype":"pdf"}]}] - examples:

Code examples for Keylock Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.

CODE SNIPPET

This is a simple example of how the Keylock Click Board™ works, depending on the state of the Keylock click the appropriate position will be detected.

01 uint8_t state;
02 char txt[20];
03 
04 void systemInit()
05 {
06     ANCON0 = 0x00;
07     ANCON1 = 0x00;
08     ANCON2 = 0x00;  
09    UART1_Init(9600);
10 }
11 
12 void Keylock_Init()
13 {
14     KEYLOCK_STATE_1_Direction = 1;
15     KEYLOCK_STATE_2_Direction = 1;
16     KEYLOCK_STATE_3_Direction = 1;
17 }
18 
19 void Keylock_Task()
20 {
21     state =  KEYLOCK_STATE_1*1 + KEYLOCK_STATE_2*2 + KEYLOCK_STATE_3*3;
22     UART1_Write_text("Keylock is in state:");
23     IntToStr(state,txt) ;
24     UART1_Write_Text(txt);
25     UART1_Write_Text( "rn" );
26     delay_ms(500);
27 }
28 
29 void main()
30 {
31     systemInit();
32     Keylock_Init();
33 
34    while( 1 )
35     {
36             Keylock_Task();
37     }
38 }
- device_vendor: NKK Switches - device_type: SK14DG13 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545019581"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Keylock Click Board™","bold":true,"italic":true},{"type":"text","value":" carries a processed sealed key lock mechanism that can be set in three different positions. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the mikroBUS™ line."},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The key can be removed from the lock in any of the three positions. The package contains two keys and one protective cap."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"KEYLOCK FEATURES"}]},{"type":"paragraph","children":[{"type":"text","value":"The contact mechanism provides unequaled logic-level reliability and smoother, positive detent actuation."}]},{"type":"paragraph","children":[{"type":"text","value":"Detent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPushbutton/Switches\nApplications\nUse the three different positions of the mechanism to turn applications on or off, for home security applications, for industrial equipment, etc.\nOn-board modules\nKeylock switch with 3 positions\nKey Features\nDetent mechanism, with its spring-operated steel ball, gives crisp, positive action for accurate switch setting\nInterface\nGPIO\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"Keylock Click Board™","bold":true},{"type":"text","value":" ","bold":true},{"type":"text","value":"corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nOutput position 1\n1\n1\nAN\nPWM\n16\n2\nOutput position 2\nNC\n2\nRST\nINT\n15\n3\nOutput position 3\nNC\n3\nCS\nTX\n14\nNC\nNC\n4\nSCK\nRX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nPower supply\n+3.3V\n7\n3.3V\n5V\n10\n+5V\nPower supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]},{"type":"paragraph","children":[{"type":"text","value":" "}]}]} - summary:

The Keylock Click Board™ carries a processed sealed key lock mechanism that can be set in three different positions. The Click Board™ is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the PWM, INT, and AN pin on the MikroBUS line.

The Keylock Click Board™ comes with two keys and a protective cap for the mechanism.