Robot Pi Shop

Micro Limit Switch MS-2A-14.5-C

$0.15

Shipping calculated at checkout.

Quantity

Micro Limit Switch MS-2A-14.5-C – SPDT Snap-Action Switch with Lever

The MS-2A-14.5-C Micro Limit Switch is a compact mechanical snap-action switch designed for position detection, end-stop sensing, and mechanical control applications.

Featuring a lever actuator and SPDT (Single Pole Double Throw) contacts, the switch changes its electrical contact state when the lever is pressed. Its small size and PCB solder terminals make it suitable for robotics, electronic devices, mechanical assemblies, and automation projects.

The switch can be used with Arduino, ESP32, Raspberry Pi, and other microcontrollers as a digital input for detecting movement, mechanical contact, or travel limits.

Key Features

  • Compact Micro Switch: Suitable for space-constrained electronic and mechanical applications.
  • Snap-Action Mechanism: Provides quick electrical contact switching when actuated.
  • Lever Actuator: Allows mechanical activation through contact with moving components.
  • SPDT Contacts: Provides Common (COM), Normally Open (NO), and Normally Closed (NC) connections.
  • PCB Mounting: Designed with solder terminals for printed circuit board installation.
  • Long Mechanical Life: Listed mechanical endurance of up to 5,000,000 operations.
  • Low Contact Resistance: Suitable for electrical switching and signal detection.
  • Arduino Compatible: Can be connected to microcontroller digital input pins.
  • Position Detection: Suitable for end-stop and mechanical limit sensing.
  • Compact Terminal Spacing: Approximately 6.5mm pitch as listed.

Technical Specifications

Parameter Specification
Model MS-2A-14.5-C
Product Type Micro Limit Switch
Switch Mechanism Snap-Action
Contact Configuration SPDT
Number of Terminals 3
Contact Functions COM, NO, NC
Actuator Type Lever
Mounting Type PCB Through-Hole
Terminal Type Solder Terminals
Operating Temperature -25°C to +65°C
Contact Resistance ≤30mΩ (listed)
Insulation Resistance ≥100MΩ (listed)
Dielectric Withstand Voltage AC 300V for 1 minute (listed)
Mechanical Life 5,000,000 Operations (listed)
Terminal Pitch Approximately 6.5mm
Listed Size Approximately 0.23 × 0.23 inches
Contact Current Rating Not Confirmed
Contact Voltage Rating Not Confirmed
Actuation Force Not Confirmed

Note: The dielectric withstand voltage is an insulation test specification, not the switch's permitted operating voltage. The actual switching voltage and current ratings must be verified before connecting electrical loads.

Pin Configuration

The switch features three electrical terminals.

Terminal Function Description
COM Common Common switching terminal
NO Normally Open Connects to COM when actuated
NC Normally Closed Connected to COM when not actuated

Switching Operation

Switch Condition COM–NO COM–NC
Lever Released Open Closed
Lever Pressed Closed Open

The switch provides a mechanical contact signal and does not require an external power supply for its switching mechanism.

Arduino UNO Connection Example

The MS-2A-14.5-C can be connected directly to an Arduino digital input for position or end-stop detection.

Limit Switch Terminal Arduino UNO
COM GND
NO Digital Pin D2
NC Not Connected

Enable the Arduino's internal pull-up resistor to maintain a stable input signal when the switch is released.

Arduino Example Code

const int limitSwitch = 2;

void setup() {
  pinMode(limitSwitch, INPUT_PULLUP);
  Serial.begin(9600);
}

void loop() {
  if (digitalRead(limitSwitch) == LOW) {
    Serial.println("Limit Switch Activated");
  } else {
    Serial.println("Limit Switch Released");
  }

  delay(100);
}

How It Works:

  • When the lever is released, the input reads HIGH.
  • When the lever is pressed, COM connects to NO and the input reads LOW.
  • The Arduino detects the switch state and displays the result through the Serial Monitor.

For applications requiring accurate detection, software debouncing may be necessary.

Applications

  • CNC machine end-stop detection
  • 3D printer limit switches
  • Robotic arm position detection
  • Arduino and ESP32 projects
  • Mechanical movement sensing
  • Automated equipment
  • Door and enclosure detection
  • Small mechanical control systems
  • Electronic prototyping
  • Educational robotics
  • Position and travel limit detection
  • DIY automation projects

Important Notes

  • This is a mechanical contact switch, not an electronic proximity sensor.
  • The switch uses SPDT contacts with COM, NO, and NC terminals.
  • The actual terminal arrangement should be verified using the switch markings or a multimeter before wiring.
  • The lever should be actuated within its designed mechanical travel.
  • Avoid excessive force that could damage the actuator or internal mechanism.
  • The contact voltage and current ratings are not confirmed and should be verified before switching electrical loads.
  • The listed AC 300V dielectric withstand value must not be interpreted as a 300V operating rating.
  • For Arduino, ESP32, and Raspberry Pi applications, use appropriate input pull-up or pull-down configuration.
  • Mechanical switches may exhibit contact bounce during activation.
  • The switch is not waterproof or dustproof unless specifically certified.
  • Ensure the switch is securely mounted to prevent movement or false triggering.
  • For safety-critical machinery, use appropriately rated and certified safety switches rather than relying on this general-purpose component.

Package Includes

  • 1 × MS-2A-14.5-C Micro Limit Switch with Lever