{"product_id":"12x12mm-tactile-push-button-switch-4-pin","title":"12x12mm 4-Pin Through-Hole Tactile Push Button Switch","description":"\u003cdiv class=\"nznpd\"\u003e\n\u003cdiv class=\"nznpd__lead\"\u003e\u003cp class=\"nznpd__intro\"\u003eA 12 x 12 mm momentary tactile push button for PCBs and project panels. It is twice the width of a standard 6 mm tactile switch, with a square stem that takes the common push-on caps made for 12 mm tactile switches. Sold per switch with a minimum order of 5.\u003c\/p\u003e\u003c\/div\u003e\n\u003csection class=\"nznpd__block\"\u003e\n\u003ch3 class=\"nznpd__h\"\u003eSpecifications\u003c\/h3\u003e\n\u003cdiv class=\"nznpd__specs\"\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eAction\u003c\/span\u003e\u003cstrong\u003eMomentary, normally open\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eBody size\u003c\/span\u003e\u003cstrong\u003e12 x 12 mm\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eOverall height\u003c\/span\u003e\u003cstrong\u003eAbout 7.3 mm\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eLeads\u003c\/span\u003e\u003cstrong\u003e4 through-hole, 2 per side\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eLead spacing\u003c\/span\u003e\u003cstrong\u003eAbout 5.0 x 12.5 mm\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eActuator\u003c\/span\u003e\u003cstrong\u003eSquare stem, no cap fitted\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eSuggested use\u003c\/span\u003e\u003cstrong\u003eSignals up to 12V DC, 50mA\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eWorks with\u003c\/span\u003e\u003cstrong\u003e3.3V and 5V boards\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"nznpd__spec\"\u003e\n\u003cspan\u003eMinimum order\u003c\/span\u003e\u003cstrong\u003e5 switches\u003c\/strong\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"nznpd__block\"\u003e\n\u003ch3 class=\"nznpd__h\"\u003eDatasheets\u003c\/h3\u003e\n\u003cdiv class=\"nznpd__ds\"\u003e\n\u003ca class=\"nznpd__dsbar\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0664\/6127\/0112\/files\/SW-TACT-12X12-4P-Datasheet.pdf?v=1792529847\" target=\"_blank\" rel=\"noopener\" aria-label=\"Download the 12 x 12 mm tactile switch datasheet (PDF)\"\u003e\n\u003csvg width=\"20\" height=\"20\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\u003cpath d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"\u003e\u003c\/path\u003e\u003cpolyline points=\"14 2 14 8 20 8\"\u003e\u003c\/polyline\u003e\u003c\/svg\u003e\n\u003cspan\u003eFull technical datasheet\u003c\/span\u003e\n\u003cspan class=\"nznpd__dsmeta\"\u003ePDF\u003csvg width=\"17\" height=\"17\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\u003cpath d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\u003e\u003c\/path\u003e\u003cpolyline points=\"7 10 12 15 17 10\"\u003e\u003c\/polyline\u003e\u003cline x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\u003e\u003c\/line\u003e\u003c\/svg\u003e\u003c\/span\u003e\n\u003c\/a\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"nznpd__block\"\u003e\n\u003ch3 class=\"nznpd__h\"\u003eWhat's in the box\u003c\/h3\u003e\n\u003cdiv class=\"nznpd__included\"\u003e\n\u003cdiv class=\"nznpd__qty\"\u003e1×\u003c\/div\u003e\n\u003cdiv\u003e\n\u003cstrong\u003e12 x 12 mm tactile switch\u003c\/strong\u003e\u003cp\u003eOrder at least 5. The quantity in your basket is the number of switches you receive. Caps are not included.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"nznpd__block\"\u003e\n\u003ch3 class=\"nznpd__h\"\u003eGreat for\u003c\/h3\u003e\n\u003cdiv class=\"nznpd__uses\"\u003e\n\u003cdiv class=\"nznpd__use\"\u003eStart, stop and mode buttons on an Arduino or ESP32 project\u003c\/div\u003e\n\u003cdiv class=\"nznpd__use\"\u003eGame controllers and arcade-style panels\u003c\/div\u003e\n\u003cdiv class=\"nznpd__use\"\u003eReset buttons you can press without a pen tip\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"nznpd__block\"\u003e\n\u003cdiv class=\"nznpd__qs\"\u003e\n\u003ch3\u003eWiring \u0026amp; getting started\u003c\/h3\u003e\n\u003col class=\"nznpd__steps\"\u003e\n\u003cli\u003e\u003cdiv\u003e\n\u003cstrong\u003eUse two diagonal leads\u003c\/strong\u003e\u003cp\u003eThe four leads form two sides of one switch. Diagonally opposite leads are always on different sides, so wiring to a diagonal pair works whichever way round the switch sits.\u003c\/p\u003e\n\u003c\/div\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cdiv\u003e\n\u003cstrong\u003eConnect to your board\u003c\/strong\u003e\u003cp\u003eWire one lead to GND and the other to a digital pin set to INPUT_PULLUP. The pin reads HIGH when released and LOW while pressed.\u003c\/p\u003e\n\u003c\/div\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cdiv\u003e\n\u003cstrong\u003eDebounce in code\u003c\/strong\u003e\u003cp\u003eThe contacts bounce for a few milliseconds. Ignore changes for about 20 to 50 ms after each press, or use a debounce library.\u003c\/p\u003e\n\u003c\/div\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cdiv\u003e\n\u003cstrong\u003eAdd a cap if you like\u003c\/strong\u003e\u003cp\u003ePush a 12 mm square-stem tactile cap straight down onto the stem. A multimeter on continuity confirms which leads are joined before you solder.\u003c\/p\u003e\n\u003c\/div\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003cp class=\"nznpd__note\"\u003e\u003cstrong\u003eNote:\u003c\/strong\u003e The lead spacing and height are approximate. Fit one switch to your board or panel before drilling a batch or ordering PCBs. For a smaller button see the \u003ca href=\"\/products\/6x6mm-tactile-push-button-switch-smt-4pin-6x6x4-3mm-pack-10\"\u003e6x6mm 4-pin tactile switch\u003c\/a\u003e.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"NZN Electronics","offers":[{"title":"Default Title","offer_id":67680230801504,"sku":"SW-TACT-12X12-4P","price":0.56,"currency_code":"NZD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0664\/6127\/0112\/files\/SW-TACT-12X12-4P-01-hero.png?v=1792531925","url":"https:\/\/www.nznelectronics.co.nz\/products\/12x12mm-tactile-push-button-switch-4-pin","provider":"NZN Electronics","version":"1.0","type":"link"}