{"product_id":"momentary-tactile-dip-push-button-switch-in-pakistan","title":"Momentary Tactile Dip Push Button Switch","description":"\u003cp\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? \u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cdiv style=\"margin-bottom: 2em; color: #686c6f; font-family: 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; letter-spacing: -.14px; background-color: #ffffff;\" class=\"electro-description\"\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eWhat is a Switch?\u003c\/h2\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eA 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. This, in effect, looks like an?open circuit, preventing current from flowing.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eIn 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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/1\/5\/1\/f\/5\/517afd67ce395f2f49000003.gif\"\u003e\u003cimg src=\"https:\/\/cdn.sparkfun.com\/assets\/6\/8\/1\/3\/d\/517afd7cce395f5349000003.gif\" alt=\"alt text\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\u003eThere are tons and tons of switches out there: toggle, rotary, DIP, push-button, rocker, membrane, ? the list just goes on and on. Each 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\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eDefining Characteristics\u003c\/h2\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eActuation Method\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/2\/6\/5\/7\/e\/5181896ece395fba47000000.jpg\"\u003e\u003cimg data-files=\"5181896ece395fba47000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/2\/6\/5\/7\/e\/5181896ece395fba47000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5181896ece395fba47000000.jpg\" alt=\"Switch actuation examples\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eSome examples of switch types.?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9190\"\u003ePush button\u003c\/a\u003e,?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/10727\"\u003erocker\u003c\/a\u003e,?\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\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eMomentary vs. Maintained\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eAll switches fall into one of two distinct categories: momentary or maintained.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eMaintained?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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eMomentary?switches only remain active as long as they?re actuated. If they?re not being actuated, they remain in their ?off? state. You?ve probably got a momentary switch (or 50) right in front of you?keys on a keyboard!\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eSemantic 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\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eMounting Style\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/d\/7\/f\/d\/b\/517ebaf2ce395f1f18000002.jpg\"\u003e\u003cimg data-files=\"517ebaf2ce395f1f18000002.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/d\/7\/f\/d\/b\/517ebaf2ce395f1f18000002.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ebaf2ce395f1f18000002.jpg\" alt=\"Buttons in a breadboard\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/e\/c\/a\/0\/5\/517eba4ece395f2418000002.png\"\u003e\u003cimg data-files=\"517eba4ece395f2418000002.webp\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/assets\/e\/c\/a\/0\/5\/517eba4ece395f2418000002.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517eba4ece395f2418000002.webp\" alt=\"SMD buttons on an Arduino Pro\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/e\/6\/b\/6\/e\/517ec466ce395f246c000000.jpg\"\u003e\u003cimg data-files=\"517ec466ce395f246c000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/400-400\/assets\/e\/6\/b\/6\/e\/517ec466ce395f246c000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ec466ce395f246c000000.jpg\" alt=\"Panel mounted toggle switch\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eA panel mounted?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/11314\"\u003eilluminated toggle switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003chr style=\"height: 0px;\"\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\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\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003ePoles and Throws, Open and Closed\u003c\/h2\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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? This is where knowing how many poles and throws a switch has is essential.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eThe number of?poles\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/switch-basics#not-pulls\"\u003e*\u003c\/a\u003e?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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eA switch?s?throw-count defines how many positions each of the switch?s poles can be connected to. For example, if a switch has two throws, each circuit (pole) in the switch can be connected to one of two terminals.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eKnowing how many poles and throws a switch has, it can be more specifically classified. Commonly you?ll see switches defined as ?single-pole, single-throw?, ?single-pole, double-throw?, ?double-pole, double-throw?, which are more often abbreviated down to SPST, SPDT, and DPDT, respectively.\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eSPST\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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 closed or completely disconnected. SPSTs are perfect for on-off switching. They?re also a very common form of?\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/momentary-switches\"\u003emomentary\u003c\/a\u003e?switches. SPST switches should only require?two terminals.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/6\/d\/9\/2\/e\/517ed955ce395f471d000000.png\"\u003e\u003cimg data-files=\"517ed955ce395f471d000000.png\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/6\/d\/9\/2\/e\/517ed955ce395f471d000000.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ed955ce395f471d000000.png\" alt=\"SPST circuit example and real-life example\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eThe circuit symbol for an SPST switch in the off position and a?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/8837\"\u003ethrough-hole, right-angle, maintained, SPST, rocker switch\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eSPDT\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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 made into an SPST by just leaving one of the switch throws unconnected).\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/2\/7\/c\/c\/c\/517edaface395f581d000001.png\"\u003e\u003cimg data-files=\"517edaface395f581d000001.png\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/2\/7\/c\/c\/c\/517edaface395f581d000001.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517edaface395f581d000001.png\" alt=\"An SPDT circuit example and real-life example\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eDPDT\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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 switched together by a single actuator. DPDTs should have?six terminals.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/6\/e\/d\/9\/0\/517edbabce395fd51d000000.png\"\u003e\u003cimg data-files=\"517edbabce395fd51d000000.png\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/6\/e\/d\/9\/0\/517edbabce395fd51d000000.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517edbabce395fd51d000000.png\" alt=\"DPDT examples\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eXPYT\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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:\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/8\/f\/8\/6\/6\/517ed3fcce395f991d000000.png\"\u003e\u003cimg data-files=\"517ed3fcce395f991d000000.webp\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/8\/f\/8\/6\/6\/517ed3fcce395f991d000000.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ed3fcce395f991d000000.webp\" alt=\"A 4PDT switch\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003chr style=\"height: 0px;\"\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cbr\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\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eNormally Open\/Closed\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eWhen a momentary switch is not actuated, it?s in a ?normal? state. Depending on how the button is constructed, its normal state can be either an open circuit or a short circuit. When a button is open until actuated, it?s said to be?normally open?(abbreviated?\u003cem\u003eNO\u003c\/em\u003e). When you actuate an NO switch, you?re closing the circuit, which is why these are also called ?push-to-make? switches.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eConversely, if a button usually acts like a short circuit unless actuated, it?s called a?normally closed?(\u003cem\u003eNC\u003c\/em\u003e) switch. NC switches are ?push-to-break?; actuating the switch creates an open circuit.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\u003eAmong the two types, you?re probably much more likely to encounter a normally open momentary switch.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eMomentary Switches\u003c\/h2\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eMomentary switches are switches which only remain in their on state as long as they?re being actuated (pressed, held, magnetized, etc.). Most often momentary switches are best used for intermittent user-input cases; stuff like reset or keypad buttons.\u003c\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eExamples of Momentary Switches\u003c\/h3\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003ePush-button\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003ePush-button 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 terminated as through-hole, surface-mount, or even panel-mount.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/b\/6\/1\/a\/0\/518189efce395f1f45000000.jpg\"\u003e\u003cimg data-files=\"518189efce395f1f45000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/b\/6\/1\/a\/0\/518189efce395f1f45000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/518189efce395f1f45000000.jpg\" alt=\"Assortment of tactile switches\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9177\"\u003epink\u003c\/a\u003e?arcade buttons,?\u003ca title=\"Momentary pushbutton switch - 12mm square\" href=\"https:\/\/www.sparkfun.com\/momentary-pushbutton-switch-12mm-square.html\"\u003e12mm push button\u003c\/a\u003e,?\u003ca title=\"Tactile button assortment\" href=\"https:\/\/www.sparkfun.com\/tactile-button-assortment.html\"\u003ewhite capped button\u003c\/a\u003e,?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/10441\"\u003eorange illuminated\u003c\/a\u003e,?\u003ca title=\"Right angle tactile button\" href=\"https:\/\/www.sparkfun.com\/right-angle-tactile-button.html\"\u003eright-angle\u003c\/a\u003e,?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9807\"\u003epanel-mount\u003c\/a\u003e, and a?\u003ca title=\"Mini pushbutton switch\" href=\"https:\/\/www.sparkfun.com\/mini-pushbutton-switch.html\"\u003emini push button\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eButton Matrices\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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 assigned 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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/6\/9\/4\/d\/c\/517ee389ce395f1c1d000000.jpg\"\u003e\u003cimg data-files=\"517ee389ce395f1c1d000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/assets\/6\/9\/4\/d\/c\/517ee389ce395f1c1d000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ee389ce395f1c1d000000.jpg\" alt=\"12-button keypad\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eEtc.\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eMomentary switches don?t always have to be actuated by a pushdown. It could be push-sideways, like the movement action in a handful of joysticks.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/a\/2\/f\/9\/8\/5182a714ce395fed1d000000.png\"\u003e\u003cimg data-files=\"5182a714ce395fed1d000000.png\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/500-500\/assets\/a\/2\/f\/9\/8\/5182a714ce395fed1d000000.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182a714ce395fed1d000000.png\" alt=\"Joysticks\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eAn?\u003ca title=\"Arcade joystick - short handle\" href=\"https:\/\/www.sparkfun.com\/arcade-joystick-short-handle.html\"\u003earcade joystick\u003c\/a\u003e?uses four?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9414\"\u003emicroswitches\u003c\/a\u003e?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\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eOn the other end of the spectrum,?\u003ca title=\"Reed switch\" href=\"https:\/\/www.sparkfun.com\/reed-switch.html\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/a\/2\/0\/d\/7\/51818ba1ce395fab44000000.jpg\"\u003e\u003cimg data-files=\"51818ba1ce395fab44000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/a\/2\/0\/d\/7\/51818ba1ce395fab44000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/51818ba1ce395fab44000000.jpg\" alt=\"Reed switches\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\u003e\u003cem\u003eA couple of reed switches:?\u003ca title=\"Reed switch\" href=\"https:\/\/www.sparkfun.com\/reed-switch.html\"\u003enon-insulated\u003c\/a\u003e?(bottom) and?\u003ca title=\"Reed switch - insulated\" href=\"https:\/\/www.sparkfun.com\/reed-switch-insulated.html\"\u003einsulated\u003c\/a\u003e\u003c\/em\u003e.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eMaintained Switches\u003c\/h2\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eExamples of Maintained Switches\u003c\/h3\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eSlide Switch\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eNeed a really basic, no-frills ON\/OFF or selector switch. Slide switches might be for you! These switches have a tiny little nub which protrudes from the switch, and it slides across the body into one of two (or more) positions.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eYou?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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/a\/1\/e\/f\/b\/5182bd5ece395fa91d000000.jpg\"\u003e\u003cimg data-files=\"5182bd5ece395fa91d000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/a\/1\/e\/f\/b\/5182bd5ece395fa91d000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182bd5ece395fa91d000000.jpg\" alt=\"Examples of slide switches\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eSome examples of slide switches: a?\u003ca title=\"Mini power switch - spdt\" href=\"https:\/\/www.sparkfun.com\/mini-power-switch-spdt.html\"\u003emini PTH slide switch\u003c\/a\u003e, an?\u003ca title=\"Surface mount right angle switch\" href=\"https:\/\/www.sparkfun.com\/surface-mount-right-angle-switch.html\"\u003eSMD right-angle switch\u003c\/a\u003e, and an?\u003ca title=\"Surface mount dpdt switch\" href=\"https:\/\/www.sparkfun.com\/surface-mount-dpdt-switch.html\"\u003eSMD DPDT slide switch\u003c\/a\u003e?mounted on a?\u003ca title=\"Lilypad slide switch\" href=\"https:\/\/www.sparkfun.com\/lilypad-slide-switch.html\"\u003eLilyPad\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eToggle Switch\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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?.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/a\/2\/0\/9\/e\/517eee88ce395f521d000000.jpg\"\u003e\u003cimg data-files=\"517eee88ce395f521d000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/400-400\/assets\/a\/2\/0\/9\/e\/517eee88ce395f521d000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517eee88ce395f521d000000.jpg\" alt=\"Toggle switch covered\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003e\u003ca title=\"Missile switch cover - red\" href=\"https:\/\/www.sparkfun.com\/missile-switch-cover-red.html\"\u003eMissle-launch covers\u003c\/a\u003e?are a must when using?\u003ca title=\"Toggle switch\" href=\"https:\/\/www.sparkfun.com\/toggle-switch.html\"\u003etoggle switches\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eToggle switches are commonly?\u003ca title=\"Toggle switch\" href=\"https:\/\/www.sparkfun.com\/toggle-switch.html\"\u003eSPST\u003c\/a\u003e?(two terminals) or SPDT (three terminals), though you can find them in?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/11137\"\u003eother\u003c\/a\u003e\u003ca href=\"https:\/\/www.sparkfun.com\/products\/11153\"\u003eflavors\u003c\/a\u003e?as well. As usual, you can find them in through-hole, surface-mount, or ? probably most commonly ? as panel-mountable.\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eDIP Switch\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\" title=\"Breadboard\"\u003ebreadboard\u003c\/a\u003e, in the same manner a through-hole IC might, by straddling the center area.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca title=\"Dip switch - 8 position\" href=\"https:\/\/www.sparkfun.com\/dip-switch-8-position.html\"\u003e\u003cimg data-files=\"5182be69ce395ff81c000004.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/300-300\/assets\/2\/f\/b\/6\/b\/5182be69ce395ff81c000004.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182be69ce395ff81c000004.jpg\" alt=\"An 8-position DIP switch\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eAn?\u003ca title=\"Dip switch - 8 position\" href=\"https:\/\/www.sparkfun.com\/dip-switch-8-position.html\"\u003e8-position DIP switch\u003c\/a\u003e, handy for configuring 8 somethings.\u003c\/em\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eLatching Buttons\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003ePush-buttons aren?t?\u003cem\u003eall\u003c\/em\u003e?momentary.?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9808\"\u003eSome push-buttons\u003c\/a\u003e?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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/www.sparkfun.com\/products\/9808\"\u003e\u003cimg data-files=\"517ef121ce395f701d000003.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/250-250\/assets\/e\/0\/e\/2\/f\/517ef121ce395f701d000003.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/517ef121ce395f701d000003.jpg\" alt=\"Latching button\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch4 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eEtc.\u003c\/h4\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.?\u003ca href=\"https:\/\/www.sparkfun.com\/products\/10064\"\u003eRotary switches\u003c\/a\u003e?? like those on a multimeter ? provide a unique input device, especially when you?ve need a high number of throws.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/0\/9\/3\/8\/1\/5182bf0ece395f7420000001.jpg\"\u003e\u003cimg data-files=\"5182bf0ece395f7420000001.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/r\/600-600\/assets\/0\/9\/3\/8\/1\/5182bf0ece395f7420000001.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182bf0ece395f7420000001.jpg\" alt=\"Assorted maintained switches\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\u003eAnd, of course, what mad scientist could live without a big ol??\u003ca aria-label=\"Visit a webpage about Young frankenstein trailer - youtube\" title=\"Young frankenstein trailer - youtube\" href=\"https:\/\/www.youtube.com\/watch?v=mOPTriLG5cU\u0026amp;feature=youtu.be\u0026amp;t=13s\"\u003eknife-switch\u003c\/a\u003e?\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eSwitch Applications\u003c\/h2\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eOn\/Off Control\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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.\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/6\/5\/f\/1\/0\/5182b590ce395f7b1d000000.png\"\u003e\u003cimg data-files=\"5182b590ce395f7b1d000000.webp\" loading=\"lazy\" data-original=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0744\/0764\/1366\/files\/5182b590ce395f7b1d000000.png\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182b590ce395f7b1d000000.webp\" alt=\"Example on\/off circuit\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003cem\u003eOn this?\u003ca title=\"Sparkfun breadboard power supply 5v\/3.3v\" href=\"https:\/\/www.sparkfun.com\/sparkfun-breadboard-power-supply-5v-3-3v.html\"\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\" title=\"Voltage divider\"\u003evoltage divider\u003c\/a\u003e.)\u003c\/em\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eWhen implementing such a switch, keep in mind that all the current your project consumes is going to run through that switch. Ideally 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\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eFor example, this?\u003ca title=\"Mini power switch - spdt\" href=\"https:\/\/www.sparkfun.com\/mini-power-switch-spdt.html\"\u003eSPDT slide switch\u003c\/a\u003e?is great for controlling current flow in small projects (like?\u003ca title=\"Toggle switch\" href=\"https:\/\/www.sparkfun.com\/toggle-switch.html\"\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 title=\"Toggle switch\" href=\"https:\/\/www.sparkfun.com\/toggle-switch.html\"\u003e4A toggle switch\u003c\/a\u003e?or a?\u003ca title=\"Lamp switch - spst (inline)\" href=\"https:\/\/www.sparkfun.com\/lamp-switch-spst-inline.html\"\u003e6A lamp switch\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch3 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eUser Input\u003c\/h3\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\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:\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/assets\/f\/c\/2\/6\/c\/5182b949ce395fbe1d000000.jpg\"\u003e\u003cimg data-files=\"5182b949ce395fbe1d000000.jpg\" loading=\"lazy\" data-original=\"https:\/\/cdn.sparkfun.com\/assets\/f\/c\/2\/6\/c\/5182b949ce395fbe1d000000.jpg\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/5182b949ce395fbe1d000000.jpg\" alt=\"Switch into MCU and a pull-up resistor\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 0px;\"\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\" title=\"Pull-up resistor\"\u003epull-up resistor\u003c\/a\u003e, required to bias the input high, and prevent a short to ground when the switch is closed.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"margin-bottom: 0px;\" class=\"section tutorial-page\"\u003e\n\u003ch2 style=\"margin-bottom: 1em; font-weight: 500; line-height: 1.043em; color: #333e48; font-size: 1.643em;\"\u003eResources and Going Further\u003c\/h2\u003e\n\u003cp style=\"margin-top: 0px; margin-bottom: 2.857em;\"\u003eWell, that about covers the basics of switches. Next up, you could explore some of these other conceptual tutorials:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/pull-up-resistors\" title=\"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\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/transistors\" title=\"Transistors\"\u003eTransistors\u003c\/a\u003e?- These can be used (among many other things) as sort-of electronically controlled switches.\u003c\/li\u003e\n\u003cli\u003eRelays – Another electronically controlled switch. Great for turning on and off high-power circuits.\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/accelerometer-basics\" title=\"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\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.sparkfun.com\/tutorials\/how-to-power-a-project\" title=\"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\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"China","offers":[{"title":"Default Title","offer_id":43962456408129,"sku":"B288,TMD1000,Th200","price":3.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0727\/2805\/1777\/files\/51iB9LThtLL._SL1001.jpg?v=1779562747","url":"https:\/\/stem.pk\/products\/momentary-tactile-dip-push-button-switch-in-pakistan","provider":"stem.pk","version":"1.0","type":"link"}