DIYables Vertical Mechanical Limit Switch Module with 3 Pin XH2.54 Cable for Arduino ESP32 ESP8266 Raspberry Pi, Normally Open

Input ComponentsSwitches
Buy on Amazon
Vertical mechanical limit switch module with 3-pin XH2.54 cable normally open for Arduino ESP32 Click to zoom
Vertical mechanical limit switch module with 3-pin XH2.54 cable normally open for Arduino ESP32Vertical limit switch module showing trigger indicator LED and XH2.54 connector detailVertical mechanical limit switch module pinout diagram showing VCC GND signal pinsVertical limit switch module dimensions and compact form factor for 3D printer CNC useVertical limit switch module connected to Arduino board for position detection projectVertical limit switch module wiring with ESP32 development board for motion control

Quick Overview

This DIYables vertical mechanical limit switch module features a normally open (NO) configuration with a compact vertical design for precise position detection and motion control. It includes a 3-pin XH2.54 connector with a 1-meter cable for quick plug-and-play connection, eliminating complicated wiring. A built-in trigger indicator LED shows switch activation status at a glance, making testing and debugging straightforward.

The module outputs a digital signal directly readable by microcontroller GPIO pins and operates with both 3.3V and 5V logic levels. Its small, lightweight form factor makes it easy to mount in tight spaces on machines, enclosures, or chassis. Three clearly labeled pins — VCC, GND, and Signal — make wiring intuitive for all experience levels.

Ideal for 3D printers, CNC machines, robotics, and industrial automation projects requiring reliable end-stop or position sensing. Compatible with Arduino, ESP32, ESP8266, Raspberry Pi, and any microcontroller platform with a digital GPIO input.

Key Features

  • Normally Open Vertical Limit Switch — Vertical design with normally open configuration for precise position detection and motion control
  • 3-Pin XH2.54 Cable Included — Comes with 1-meter 3-pin XH2.54 cable for plug-and-play connection without complicated wiring
  • Trigger Indicator LED — Built-in indicator light shows switch activation status for easier testing, debugging, and system monitoring
  • Easy Installation Design — Small lightweight module ideal for 3D printers, CNC machines, robotics, and automation projects
  • Wide Board Compatibility — Works with Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontroller platforms
  • 3.3V and 5V Compatible — Digital signal output compatible with both 3.3V and 5V GPIO logic levels
  • Compact Vertical Form Factor — Space-saving vertical orientation fits tight mounting locations in machines and enclosures
  • Reliable Mechanical Switching — Momentary action provides consistent and repeatable position sensing for accurate control

SPECIFICATION

Specification Value
Product Type Vertical Mechanical Limit Switch Module
Switch Configuration Normally Open (NO)
Cable Connector 3-pin XH2.54
Cable Length 1 meter
Indicator Built-in LED (trigger status)
Operating Voltage 3.3V to 5V DC
Interface Digital output (Signal, VCC, GND)
Pin Count 3 pins
Switch Action Momentary
Compatibility Arduino, ESP32, ESP8266, Raspberry Pi, any 3.3V/5V microcontroller
Applications 3D printers, CNC machines, robotics, end-stop sensing, position detection, automation

COMPATIBLE HARDWARE

  • Arduino boards (UNO, Mega, Nano, etc.) — Digital GPIO input, 5V compatible
  • Arduino UNO R4 WiFi/Minima — Direct digital GPIO connection
  • ESP32 development boards — Direct connection to 3.3V GPIO digital input
  • ESP8266 boards (NodeMCU, D1 Mini, etc.) — Direct connection to 3.3V GPIO digital input
  • Raspberry Pi (all models) — Direct connection to 3.3V GPIO digital input
  • Raspberry Pi Pico — Direct connection to 3.3V GPIO digital input
  • Arduino Nano ESP32 — Direct connection to 3.3V GPIO digital input
  • 3D printer control boards — Compatible end-stop connector for motion limit detection
  • CNC controller boards — End-stop or home switch input
  • Any microcontroller with a digital GPIO input — 3.3V or 5V logic compatible