KW11-3Z micro limit switch with a straight steel lever and two solder tabs, front three-quarter view

KW11-3Z Micro Limit Switch with Lever - 2-Pin Normally Open 5A 250VAC

$1.89 NZD
Save 25% at 5+
Skip to product information
SKU: SW-KW11-3Z-2PIN-LV

KW11-3Z Micro Limit Switch with Lever - 2-Pin Normally Open 5A 250VAC

$1.89 NZD
Buy more, pay less Prices shown are per unit. Add enough of this item and the lower rate applies on its own at checkout. There is no code to enter and you do not need to buy a pack. Choosing a tier here just sets the quantity for you. Larger quantities go out in the same bag, so packing, handling and postage cost us less per unit. We pass that saving straight on to you, so you can buy more for less. Discount codes don't stack with these prices. If you use a code at checkout, you get the code or the quantity price, whichever saves you more, and the price per unit changes to match.

Easy 30-day returns · 12-month warranty

Included: datasheet (PDF), example code on this page and wiring help by email

Availability:
Order before 7:30am (12pm weekends) for same-day dispatch
Delivery $5.99 urban, free from $50

NZ Post 1-2 days urban, 2-4 days rural

Order by Mon 21 Dec urban or Wed 16 Dec rural for Christmas

NZ Post's dates are targets, so earlier is better.

Delivery Details
  • Urban delivery from $5.99, free on orders from $50.
  • Rural delivery from $9.99, free on orders from $88.
  • Free pick-up in Te Awamutu.
  • We dispatch every day except public holidays.
Shipping policy

A micro limit switch is a small switch that clicks over when something presses its lever, so a controller knows a moving part has reached a set point. This KW11-3Z has a straight steel lever about 16mm long and only two tabs, common and normally open, so the circuit closes while the lever is pressed and opens again when it is released. With one contact and two wires it is the simplest way to give a board a pressed or not pressed signal.

Use it to sense a lid, door or drawer closing, as an end-of-travel or home switch in an Arduino or ESP32 project, or as a bump sensor on a small robot. It connects straight to 3.3V and 5V board inputs with no extra parts, and mounts with two M2 screws. Push female spade connectors onto the tabs, or hook each wire through the hole in its tab and solder it. If you want a normally closed contact too, for an endstop where a broken wire should read as pressed, take the SC7301 3-pin lever switch. The same body also comes with a roller lever and with no lever, both with three pins.

Specifications

ActionMomentary, normally open (SPST-NO)
Rating marked5A 125/250VAC, T85
Pinout1 = COM (C), 3 = NO, no tab at 2
Tab spacing8.8mm (1 to 3)
ActuatorStraight steel lever, about 16mm
Mounting2 x 2.35mm holes, 9.5mm apart, suit M2 screws
Terminals2 solder tabs with wire holes, about 4mm long
Body size19.8 x 10.2 x 6.4mm
In the box1 switch, no screws or wires

Datasheets

Wiring & getting started

Wiring diagramArduino Nano
Wiring the KW11-3Z 2-pin switch to an Arduino Nano: the tab marked C goes to GND and the tab marked NO goes to D2
Tap the drawing to open it full size.
  1. Find the two tabs

    Hold the switch with the numbered face towards you and the lever pivot on the left. Tab 1 at the pivot end is COM and tab 3 in the middle is NO. On the back face the same two tabs are marked C and NO. The far end, marked 2 and NC, has no tab.

  2. Connect the wires

    Wire C to GND and NO to D2 on an Arduino Nano or Uno, as in the drawing. On an ESP32 or Raspberry Pi Pico, use GND and any input pin and change the pin number in the code. The switch carries no voltage of its own, so 3.3V boards are fine.

  3. Load the test code

    Upload this sketch, then open the Serial Monitor at 9600 baud.

    Example Arduino codeArduino C++
    // KW11-3Z 2-pin lever switch test. Wire C to GND and NO to D2.
    const int SWITCH_PIN = 2;
    bool wasPressed = false;
    
    void setup() {
      pinMode(SWITCH_PIN, INPUT_PULLUP);  // uses the Nano's built-in resistor
      Serial.begin(9600);
      Serial.println("Ready. Press the lever.");
    }
    
    void loop() {
      bool pressed = digitalRead(SWITCH_PIN) == LOW;  // LOW while the lever is pressed
      if (pressed != wasPressed) {
        Serial.println(pressed ? "PRESSED" : "RELEASED");
        wasPressed = pressed;
        delay(20);  // ignore contact bounce
      }
    }
  4. Check it works

    Press the lever and the Serial Monitor shows PRESSED. Let go and it shows RELEASED. If nothing changes, check that the wires are on the C and NO tabs and that NO goes to the pin named in the code.

  5. Mount it

    Fix the switch with two M2 screws so the moving part presses the lever near its tip at the end of travel. Leave a little travel past the click, so the part stops on its own end stop and never jams against the switch body.

Note: For mains wiring, fit the switch inside an enclosure and have a licensed electrician do the work.

Related guide Micro Limit Switch Guide: Lever, Roller, NO or NC, and WiringChoose a micro limit switch by pins and actuator, then wire it to an Arduino or ESP32, a 3D printer or CNC endstop (and why NC is safer) or a 12V relay.

Frequently asked questions

Will it work as a 3D printer endstop?
Yes. Use only the S (or SIG) and GND pins of the endstop plug: C to GND and NO to S. Leave V+ unconnected, because the switch needs no power and would short the board's supply if wired to it. Most printer firmware expects a normally closed switch, so with this one the endstop shows as triggered while the lever is released. Invert that endstop in your firmware settings (in Klipper, add ! to the endstop pin), or take the SC7301 3-pin switch and wire its NC tab instead.
Why does one press sometimes count twice?
Switch contacts bounce for a few thousandths of a second as they close, and a fast board can read each bounce as a separate press. Ignore any change for about 20 milliseconds after the first one, as the example code does, and each press counts once.
How do I start a motor or pump when the lever is pressed?
Wire the switch to your board as shown in the drawing, and have the board switch a relay module that runs the motor or pump. That keeps the motor current away from the switch, and your code can add a delay or a safety stop.
Can I run long wires to the switch?
Yes, a couple of metres of ordinary hookup wire works well. On longer runs, or near motors, twist the two wires together so electrical noise from nearby wiring does not show up as false presses.

Have a question about this product?

Send it through and we will get back to you by email.

About NZN

Useful parts, fair prices and someone local to help.

I'm Lukas, an engineering student and maker based in Te Awamutu. NZN grew out of a CNC build that dragged on for months because every missing cable, bolt or electronic part meant another overseas order. I started the shop so Kiwi makers can spend more time building and less time waiting for the next parcel.

  • Stocked here in New Zealand

    Stock is held here in New Zealand, and every order is dispatched by the next day, except on public holidays. The timer beside Add to cart shows when yours goes out. NZ Post aims for 1-2 days urban and 2-4 days rural. In Te Awamutu and Kihikihi you can choose local delivery at checkout: same day if you order before 8am, otherwise next day.

  • Fair prices, clearly shown

    Where a product has quantity pricing, the price for each quantity is listed above Add to cart. Free delivery starts at $50 for urban addresses and $88 for rural addresses.

  • 30-day returns and 12-month warranty

    Get in touch if something is not right and we will help sort it.

  • Practical product support

    Ask a product question and get help from a real person in New Zealand who knows the range.

You may also like