{"product_id":"12-x-12mm-x-7-5mm-push-button","title":"12 x 12mm x 7.5mm Push Button Switch in Pakistan","description":"\u003ch2 id=\"description\" class=\"tab-list-title\"\u003e\u003cspan style=\"font-size: 24px;\"\u003eDescription\u003c\/span\u003e\u003c\/h2\u003e\n\u003cdiv id=\"content_description\" class=\"ty-wysiwyg-content content-description\"\u003e\n\u003cdiv\u003e\u003cspan style=\"font-size: 24px;\"\u003eAvailable 4 colors Red, Black , Green, WHITE ,. These are high quality 12 x 12mm x 7.5mm Push Button Switch. What we really like is the large button head and good tactile feel (it ‘clicks’ really well). These button  great for user input on a PCB or a good, big reset button on a breadboard. Breadboard friendly!\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv\u003e\u003c\/div\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eGeneral purpose PCB tactile  12 x 12mm x 7.5mm Push Button Switch, button height approx 8mm. The button color may differ from the image.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eSwitches don’t require any fancy equations to evaluate. All they do is select between an open circuit and a short circuit. Simple. But how could we live without buttons and switches!? What good is a blinky circuit with no user input? Or a deadly robot with no kill switch? What would our world be without with big red buttons you should \u003ca href=\"http:\/\/www.youtube.com\/watch?v=ku2wFaaPAzI\"\u003enever, ever press\u003c\/a\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eWhat is a Switch?\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eA switch is a component which controls the open-ness or closed-ness of an electric circuit. They allow control over current flow in a circuit (without having to actually get in there and manually cut or splice the wires). Switches are critical components in any circuit which requires user interaction or control.A switch can only exist in one of two states: open or closed. In the off state, a switch looks like an open gap in the circuit.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eThis, in effect, looks like an open circuit, preventing current from flowing.In the on state, a switch acts just like a piece of perfectly-conducting wire. A short. This closes the circuit, turning the system “on” and allowing current to flow unimpeded through the rest of the system.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517afd67ce395f2f49000003.gif?v=1789232311\"\u003e\u003cimg class=\"alignleft\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517afd7cce395f5349000003.gif?v=1789232265\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"400\" height=\"391\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eA circuit diagram with an LED, resistor, and a switch. When the switch is closed, current flows and the LED can illuminate. Otherwise no current flows, and the LED receives no power.\u003c\/em\u003eThere are tons and tons of switches out there: toggle, rotary, DIP, push-button, rocker, membrane, … the list just goes on and on.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eEach of those switch types has a set of unique characteristics to differentiate it from others. Characteristics like what action flips the switch, or how many circuits the switch can control. Next up, we’ll go over some of the more basic switch characteristics.\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eDefining Characteristics of 12 x 12mm x 7.5mm Push Button Switch:\u003c\/span\u003e\u003c\/h2\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eActuation Method\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eIn order to change from one state to another, a switch must be actuated. That is, some sort of physical action must be performed to “flip” the switch’s state. The actuation-method of a switch is one of its more defining characteristics.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5181896ece395fba47000000_9ce87292-1d48-4b9d-83e6-95e67d9e8120.jpg?v=1789232313\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5181896ece395fba47000000.jpg?v=1789232266\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"600\" height=\"397\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eSome examples of switch types. \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9190\"\u003ePush button\u003c\/a\u003e, rocker, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9609\"\u003eslide\u003c\/a\u003e, and \u003ca href=\"https:\/\/www.sparkfun.com\/products\/8642\"\u003emagnetic\u003c\/a\u003e.\u003c\/em\u003eSwitch actuation can come from pushing, sliding, rocking, rotating, throwing, pulling, key-turning, heating, magnetizing, kicking, snapping, licking,…any physical interaction which can cause the mechanical linkages inside the switch to come into, or go out of, contact.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eMomentary vs. Maintained\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eAll switches fall into one of two distinct categories: momentary or maintained.Maintained switches – like the light switches on your wall – stay in one state until actuated into a new one, and then remain in that state until acted upon once again. These switches might also be called toggle or ON\/OFF switches. Momentary switches only remain active as long as they’re actuate. If they’re not being actuate, they remain in their “off” state.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eYou’ve probably got a momentary switch (or 50) right in front of you…keys on a keyboard!Semantic alert! Most of the switches we refer to as “buttons” fall in the momentary category. Activating a button usually means pressing down on it in some manner, which just \u003cem\u003efeels\u003c\/em\u003e like a momentary control. There are such things as a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9808\"\u003emaintained button\u003c\/a\u003e, but for this tutorial when we slip and talk about “buttons”, think “momentary push-down switch”.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eMounting Style\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eAs with most components, the termination style of a switch always comes down to either surface mount (SMD) or through-hole (PTH). Through-hole switches are usually larger in size. Some might be designed to fit in a \u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/how-to-use-a-breadboard\"\u003ebreadboard\u003c\/a\u003e for easy prototyping.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ebaf2ce395f1f18000002_ef4548b6-aa14-49d9-be92-4cb20c73ebb7.jpg?v=1789232315\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ebaf2ce395f1f18000002.jpg?v=1789232268\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"600\" height=\"374\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eThese \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10302\"\u003eTactile buttons\u003c\/a\u003e are through-hole and fit perfectly in a breadboard. Great for prototyping!\u003c\/em\u003eSMD switches are smaller than their PTH counterparts. They sit flat, on top of a PCB. SMD switches usually require a gentle touch, they’re not built to sustain as much switching force as a through-hole switch.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517eba4ece395f2418000002.png?v=1789232270\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517eba4ece395f2418000002.png?v=1789232270\" alt=\"Push Button Switch\" width=\"559\" height=\"238\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eThe \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10915\"\u003eArduino Pro\u003c\/a\u003e has two SMD switches: a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10860\"\u003eslide switch\u003c\/a\u003e for power control, and a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/8720\"\u003epush-button\u003c\/a\u003e for reset control.\u003c\/em\u003ePanel mount switches – designed to sit outside an enclosure – are a popular mounting style as well. It’s hard to flip a switch when it’s hidden inside an enclosure. Panel mount switches come in all sorts of termination styles: PTH, SMD, or heavy-duty solder lugs for soldering to wires.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ec466ce395f246c000000_cb3315f3-6649-4ff7-b4f3-b04db69fdc30.jpg?v=1789232319\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ec466ce395f246c000000.jpg?v=1789232272\" alt=\"Push Button Switch\" width=\"400\" height=\"335\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eA panel mounted \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11314\"\u003eilluminated toggle switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003chr\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eOne more important switch characteristic, which really deserves a page of its own, is the internal circuit arrangement of a switch. Are you looking for an SPST? DPST? 4PDT? What-P-what-now?\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003ePoles and Throws, Open and Closed\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eA switch must have at least two terminals, one for the current to (potentially) go in, another to (potentially) come out. That only describes the simplest version of a switch though. More often than not, a switch has more than two pins. So how do all of those terminals line up with the internal workings of the switch?\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eThis is where knowing how many poles and throws a switch has is essential.The number of poles. on a switch defines how many separate circuits the switch can control. So a switch with one pole, can only influence one single circuit. A four-pole switch can separately control four different circuits. A switch’s throw-count defines how many positions each of the switch’s poles can be connect to. For example, if a switch has two throws, each circuit (pole) in the switch can be connect to one of two terminals.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eKnowing how many poles and throws a switch has, it can be more specifically classify. Commonly you’ll see switches define as “single-pole, single-throw”, “single-pole, double-throw”, “double-pole, double-throw”, which are more often abbreviate down to SPST, SPDT, and DPDT, respectively.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eSPST\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eA single-pole, single-throw (SPST) switch is as simple as it gets. It’s got one output and one input. The switch will either be close or completely disconnecte. SPSTs are perfect for on-off switching. They’re also a very common form of momentary switches. SPST switches should only require two terminals.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ed955ce395f471d000000_fa0ea312-25d4-4321-9482-b68b6217a37a.png?v=1789232323\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ed955ce395f471d000000.png?v=1789232274\" alt=\"Push Button Switch\" width=\"600\" height=\"286\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eThe circuit symbol for an SPST switch in the off position and a through-hole, right-angle, maintained, SPST, rocker switch.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eSPDT\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eAnother common switch-type is the SPDT. SPDTs have three terminals: one common pin and two pins which vie for connection to the common. SPDTs are great for selecting between two power sources, swapping inputs, or whatever it is you do with two circuits trying to go one place. Most simple slide switches are of the SPDT variety. SPDT switches should usually have three terminals. (Sidenote: in a pinch an SPDT can actually be make into an SPST by just leaving one of the switch throws unconnect).\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517edaface395f581d000001_4457ad13-7aef-411d-b982-1c925d4aa237.png?v=1789232325\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517edaface395f581d000001.png?v=1789232276\" alt=\"Push Button Switch\" width=\"600\" height=\"233\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eAn SPDT switch circuit symbol, and an \u003ca href=\"https:\/\/www.sparkfun.com\/products\/102\"\u003eSPDT slide switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eDPDT\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eAdding another pole to the SPDT creates a double-pole, double-throw (DPDT) switch. Basically two SPDT switches, which can control two separate circuits, but are always switch together by a single actuator. DPDTs should have six terminals.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517edbabce395fd51d000000_e60995b7-ca65-4488-8f5e-b3987edbe3ba.png?v=1789232327\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517edbabce395fd51d000000.png?v=1789232278\" alt=\"Push Button Switch\" width=\"600\" height=\"270\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eA DPDT circuit symbol, and a 6-terminal \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11139\"\u003eDPDT rocker switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eXPYT\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eSwitches with more than two poles or throws are not too common, but they’re out there (in all their oddly-shaped, difficult-to-connect-to glory). Once we get past one or two poles\/throws, we just start sticking numbers in the abbreviation. Here’s a 4PDT switch, for example, it can control four separate circuits, 2 positions per circuit:\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ed3fcce395f991d000000_024e4608-aa70-422a-8606-5cf997c330d2.png?v=1789232329\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ed3fcce395f991d000000.png?v=1789232280\" alt=\"Push Button Switch\" width=\"600\" height=\"300\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eA massive 4PDT circuit symbol, and an physically massive \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11153\"\u003e4PDT toggle switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003chr\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003e* Just remember: it’s “poles”, not “pulls”. Seasoned engineers just \u003cem\u003elove\u003c\/em\u003e picking on poor saps who were only looking for a “single-pull, double-throw” switch. (Not speaking from experience here or anything… I mean, in my defence, I didn’t read it in a book, just heard it ambiguously pronounced by the professor. Meanies.)\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eNormally Open\/Closed\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eWhen a momentary switch is not actuate, it’s in a “normal” state. Depending on how the button is construct, its normal state can be either an open circuit or a short circuit. When a button is open until actuate, it’s say to be normally open (abbreviate \u003cem\u003eNO\u003c\/em\u003e).\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eWhen you actuate an NO , you’re closing the circuit, which is why these are also call “push-to-make” switches.Conversely, if this is usually acts as a short circuit unless actuate, it’s call a normally close (\u003cem\u003eNC\u003c\/em\u003e) switch. NC switches are “push-to-break”; actuating the switch creates an open circuit.Among the two types, you’re probably much more likely to encounter a normally open momentary switch.\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eMomentary Switches\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eMomentary switches are switches which only remain in their on state as long as they’re being actuate (press, magnetize, etc.). Most often momentary switches are best use for intermittent user-input cases; stuff like reset or keypad buttons.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eExamples of Momentary Switches\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003ePush-button\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eThe switches are the classic momentary switch. Typically these switches have a really nice, tactile, “clicky” feedback when you press them. They come in all sorts of flavors: big, small, colorful, illuminated (when an LED shines up through the button). They might be terminate as through-hole, surface-mount, or even panel-mount.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/518189efce395f1f45000000_fce87417-2880-4f34-8564-c9658e56e5da.jpg?v=1789232333\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/518189efce395f1f45000000.jpg?v=1789232284\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"600\" height=\"397\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eAn assortment of tactile push-button switches. Starting top-left, clockwise: \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9337\"\u003eblue\u003c\/a\u003e and pink arcade buttons, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9190\"\u003e12mm push button\u003c\/a\u003e, white capped button, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10441\"\u003eorange illuminated\u003c\/a\u003e, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10791\"\u003eright-angle\u003c\/a\u003e, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9807\"\u003epanel-mount\u003c\/a\u003e, and a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/97\"\u003emini push button\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eButton Matrices\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eLarge arrays of momentary buttons, like your keyboard or even smaller groupings like a keypad, usually arrange all of their switches into a big matrix. Every button on the pad is assign a row and column . This requires some extra button-press-processing on the microcontroller end, but free’s up a big chunk of I\/O pins.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ee389ce395f1c1d000000.jpg?v=1789232286\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ee389ce395f1c1d000000.jpg?v=1789232286\" alt=\"Push Button Switch\" width=\"600\" height=\"378\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eEtc.\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eMomentary switches don’t always have to be actuate by a pushdown. It could be push-sideways, like the movement action in a handful of joysticks.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182a714ce395fed1d000000_d6ccf271-f489-4bb9-ab7b-29449c9fb4a4.png?v=1789232335\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182a714ce395fed1d000000.png?v=1789232288\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"500\" height=\"274\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eAn \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9182\"\u003earcade joystick\u003c\/a\u003e uses four microswitches to sense up, down, left and right movements. The tiny little surface-mount \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11187\"\u003e5-way tactile switch\u003c\/a\u003e is an SP5T directional switch (up, down, left, right, and press-down).\u003c\/em\u003eOn the other end of the spectrum, \u003ca href=\"https:\/\/www.sparkfun.com\/products\/8642\"\u003ereed switches\u003c\/a\u003e open or close when exposed to the presence of a magnetic field. These are great for making a non-contact switch.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/51818ba1ce395fab44000000_e001526b-c396-4932-a4e3-96dfd60c948d.jpg?v=1789232337\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/51818ba1ce395fab44000000.jpg?v=1789232290\" alt=\"Push Button Switch\" width=\"600\" height=\"174\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eA couple of reed switches: \u003ca href=\"https:\/\/www.sparkfun.com\/products\/8642\"\u003enon-insulated\u003c\/a\u003e (bottom) and \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10601\"\u003einsulated\u003c\/a\u003e\u003c\/em\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eMaintained Switches\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eA maintained switch retains its state until it’s actuated into a new one. Just look to the nearest wall for an example of a maintained switch – the thing controlling your lights! Maintained switches are great for set-it-and-leave it applications like turning power on and off.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eExamples of Maintained Switches\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eSlide Switch\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eNeed a really basic, no-frills ON\/OFF or selector switch. Slide switches might be for you! These 12 x 12mm x 7.5mm Push Button Switch have a tiny little nub which protrudes from the switch, and it slides across the body into one of two (or more) positions.You’ll usually find slide switches in SPDT or DPDT configurations. The common terminal is usually in the middle, and the two select positions are on the outside.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182bd5ece395fa91d000000_22796957-ca7d-43e1-b9c1-650d5feeaf36.jpg?v=1789232339\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182bd5ece395fa91d000000.jpg?v=1789232293\" alt=\"Push Button Switch\" width=\"600\" height=\"187\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eSome examples of slide switches: a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/102\"\u003emini PTH slide switch\u003c\/a\u003e, an \u003ca href=\"https:\/\/www.sparkfun.com\/products\/10860\"\u003eSMD right-angle switch\u003c\/a\u003e, and an \u003ca href=\"https:\/\/www.sparkfun.com\/products\/597\"\u003eSMD DPDT slide switch\u003c\/a\u003e mounted on a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9350\"\u003eLilyPad\u003c\/a\u003e.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eToggle Switch\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eWhen you hear toggle switch, think “fire ze missiles!”. Toggle switches have a long lever, which moves in a rocking motion. As they move to a new position, toggle switches make a really satisfying “snap”.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517eee88ce395f521d000000_e51d97f7-a8bd-4306-9802-cac732cad5ff.jpg?v=1789232342\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517eee88ce395f521d000000.jpg?v=1789232296\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"400\" height=\"400\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003e\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9278\"\u003eMissle-launch covers\u003c\/a\u003e are a must when using \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9276\"\u003etoggle switches\u003c\/a\u003e.\u003c\/em\u003eToggle switches are commonly \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9276\"\u003eSPST\u003c\/a\u003e (two terminals) or SPDT (three terminals), though you can find them in other flavors as well. As usual, you can find them in through-hole, surface-mount, or – probably most commonly – as panel-mountable.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eDIP Switch\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eDIP switches are through-hole switches designed in the same mold as a through-hole DIP IC. They can be placed in a \u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/how-to-use-a-breadboard\"\u003ebreadboard\u003c\/a\u003e, in the same manner a through-hole IC might, by straddling the center area.\u003ca href=\"https:\/\/www.sparkfun.com\/products\/8034\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182be69ce395ff81c000004.jpg?v=1789232300\" alt=\"Push Button Switch\" width=\"300\" height=\"241\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eAn \u003ca href=\"https:\/\/www.sparkfun.com\/products\/8034\"\u003e8-position DIP switch\u003c\/a\u003e, handy for configuring 8 somethings.\u003c\/em\u003eThese switches often come in arrays of eight or more separate SPST switches, with tiny little sliding levers. They were widely used in the olden days of computing, but they’re still useful for configuring a devices via hardware.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eLatching Buttons\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003ePush-buttons aren’t \u003cem\u003eall\u003c\/em\u003e momentary. Some push-buttons will latch into place, maintaining their state until pressed again latching back to where the started. These can be found, for example, in stomp switches on guitar effect pedals.\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9808\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/517ef121ce395f701d000003.jpg?v=1789232303\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"229\" height=\"250\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch4\u003e\u003cspan style=\"font-size: 24px;\"\u003eEtc.\u003c\/span\u003e\u003c\/h4\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eWe’ve barely started to cover the huge variety of maintained switches out there. There’s \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11136\"\u003epull-chain switches\u003c\/a\u003e, which add a really classy touch to your project. \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11473\"\u003eKey-switches\u003c\/a\u003e, for when you don’t want just anybody turning on your killer robot. Rotary switches – like those on a multimeter – provide a unique input device, especially when you’ve need a high number of throws.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182bf0ece395f7420000001_3b801e82-9e71-4740-90ea-5f741844c0fb.jpg?v=1789232345\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182bf0ece395f7420000001.jpg?v=1789232305\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"600\" height=\"397\" loading=\"lazy\"\u003e\u003c\/a\u003eAnd, of course, what mad scientist could live without a big ol’ \u003ca href=\"http:\/\/www.youtube.com\/watch?v=mOPTriLG5cU\u0026amp;feature=youtu.be\u0026amp;t=13s\"\u003eknife-switch\u003c\/a\u003e?\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eSwitch Applications\u003c\/span\u003e\u003c\/h2\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eOn\/Off Control\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eAmong the most obvious of switch applications is simple on and off control. The type of control you perform every time you walk into a dark room. An on\/off switch can be implemented by simply sticking an SPST switch in series with a power-line. Usually the on\/off switch will be maintained, like a toggle or slide switch, but momentary on\/off switches can have their purpose.\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182b590ce395f7b1d000000_aabca62b-df6d-4536-b0d3-2886e2d4ca28.png?v=1789232348\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182b590ce395f7b1d000000.png?v=1789232307\" alt=\"Push Button Switch\" width=\"600\" height=\"259\" loading=\"lazy\"\u003e\u003c\/a\u003e\u003cem\u003eOn this \u003ca href=\"https:\/\/www.sparkfun.com\/products\/114\"\u003eBreadboard Power Supply\u003c\/a\u003e, an SPDT switch is used to turn the circuit on and off. (A second SPDT switch is used to select the adjustable voltage regulator’s output value by adjusting a \u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/voltage-dividers\"\u003evoltage divider\u003c\/a\u003e.)\u003c\/em\u003eWhen implementing such a switch, keep in mind that all the current your project consumes is going to run through that switch.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eIdeally, a switch is a perfect conductor, but realistically it’s got a small amount of resistance between the two contacts. Because of that resistance, all switches are rated for a maximum amount of current they can withstand. Exceed a switch’s maximum current rating, and you can expect melted plastic and magic smoke.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eFor example, this SPDT slide switch is great for controlling current flow in small projects (like \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9276\"\u003eSimons\u003c\/a\u003e or \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9236\"\u003eMetronomes\u003c\/a\u003e), but don’t try using it to control beefy motor controllers, or strings of 100 LEDs. For that, consider using something like a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/9276\"\u003e4A toggle switch\u003c\/a\u003e or a \u003ca href=\"https:\/\/www.sparkfun.com\/products\/11477\"\u003e6A lamp switch\u003c\/a\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"font-size: 24px;\"\u003eUser Input\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eOf course, user input is one of the more common applications for switches. For example, if you want to connect a switch to a microcontroller input pin, a simple circuit like this is all you’d need:\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182b949ce395fbe1d000000.jpg?v=1789232309\"\u003e\u003cimg class=\"alignnone\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/5182b949ce395fbe1d000000.jpg?v=1789232309\" alt=\"12 x 12mm x 7.5mm Push Button Switch\" width=\"400\" height=\"293\" loading=\"lazy\"\u003e\u003c\/a\u003eWhen the switch is open, the MCU pin is connected through the resistor to 5V. When the switch is closed, the pin is tied directly to GND. The resistor in that circuit is a \u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/pull-up-resistors\"\u003epull-up resistor\u003c\/a\u003e, required to bias the input high, and prevent a short to ground when the switch is closed.\u003c\/span\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2\u003e\u003cspan style=\"font-size: 24px;\"\u003eResources and Going Further\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 24px;\"\u003eWell, that about covers the basics of switches. Next up, you could explore some of these other conceptual tutorials:\u003c\/span\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cspan style=\"font-size: 24px;\"\u003e\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/pull-up-resistors\"\u003ePull-up Resistors\u003c\/a\u003e – Pull-up resistors complement most momentary button circuits. They ensure that power and ground don’t short, and they make sure I\/O lines don’t float.\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan style=\"font-size: 24px;\"\u003e\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/transistors\"\u003eTransistors\u003c\/a\u003e – These can be used (among many other things) as sort-of electronically controlled switches.\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan style=\"font-size: 24px;\"\u003eRelays – Another electronically controlled switch. Great for turning on and off high-power circuits.\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan style=\"font-size: 24px;\"\u003e\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/accelerometer-basics\"\u003eAccelerometer Basics\u003c\/a\u003e – Motion-sensing accelerometers – like those in most smartphones and new video game controllers – are fast-replacing these boring switches as human input devices.\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan style=\"font-size: 24px;\"\u003e\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/how-to-power-a-project\"\u003eHow to Power a Project\u003c\/a\u003e – What kind of power source will your switch be turning on and off?\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Electronics Hub","offers":[{"title":"Default Title","offer_id":54466786984249,"sku":"product-6150","price":10.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0965\/3623\/2249\/files\/button-pack-4-1.jpg?v=1789232354","url":"https:\/\/electronicshub.pk\/products\/12-x-12mm-x-7-5mm-push-button","provider":"Electronics Hub","version":"1.0","type":"link"}