The MS-2A-13.5 Micro Limit Switch is a compact mechanical switch designed for position detection, end-stop sensing, and mechanical control applications. Featuring a metal lever actuator and a 3-pin SPDT (Single Pole Double Throw) contact configuration, it provides reliable switching when the lever is pressed or released.
With its small dimensions, lightweight construction, and rated switching capacity of 2A at 125V AC, the MS-2A-13.5 is suitable for robotics, automation systems, 3D printers, CNC machines, and electronic control projects.
The switch can also be connected to Arduino, ESP32, Raspberry Pi, and other microcontroller boards for digital position and limit detection.
Key Features
-
Compact Micro Switch: Small design suitable for limited installation spaces.
-
Metal Lever Actuator: Provides mechanical activation with a flexible lever.
-
SPDT Contact Configuration: Three terminals supporting Normally Open (NO) and Normally Closed (NC) operation.
-
2A Switching Capacity: Rated for up to 2A at 125V AC.
-
Mechanical Position Detection: Suitable for end-stop and limit sensing applications.
-
Long Mechanical Life: Reported operating life of up to 1,000,000 cycles.
-
Fast Switching Action: Snap-action mechanism provides rapid contact switching.
-
Microcontroller Compatible: Can be used with Arduino, ESP32, Raspberry Pi, and other development boards.
-
Versatile Installation: Suitable for robotics, mechanical automation, and DIY electronics.
Technical Specifications
| Specification |
Details |
| Model |
MS-2A-13.5 |
| Product Type |
Micro Limit Switch |
| Switch Mechanism |
Snap-Action |
| Contact Configuration |
SPDT (1NO + 1NC) |
| Number of Terminals |
3 |
| Actuator Type |
Metal Lever |
| Rated Voltage |
125V AC |
| Maximum Rated Current |
2A |
| Contact Resistance |
≤50 mΩ (Reported) |
| Insulation Resistance |
≥100 MΩ at 500V DC |
| Mechanical Life |
Up to 1,000,000 Operations (Reported) |
| Housing Material |
Plastic |
| Contact/Lever Material |
Metal |
| Body Dimensions |
Approximately 12.6 × 6.5 × 5.7 mm |
| Lever Dimensions |
Approximately 13.5 × 4 mm |
| Compliance |
RoHS (Supplier-Reported) |
Pin Configuration
The MS-2A-13.5 features three electrical terminals:
| Terminal |
Description |
| COM |
Common Terminal |
| NO |
Normally Open |
| NC |
Normally Closed |
Normally Open (NO):
- The circuit is open when the switch is not pressed.
- The circuit closes when the lever is activated.
Normally Closed (NC):
- The circuit is closed when the switch is not pressed.
- The circuit opens when the lever is activated.
Arduino UNO Connection Example
| Switch Terminal |
Arduino UNO |
| COM |
GND |
| NO |
D2 |
| NC |
Not Connected |
Configure the Arduino input as INPUT_PULLUP.
- Switch released: Digital HIGH
- Switch pressed: Digital LOW
The switch can be used to detect the position of a moving mechanism or determine when a motor-driven system reaches its mechanical limit.
ESP32 Connection Example
| Switch Terminal |
ESP32 |
| COM |
GND |
| NO |
GPIO18 |
| NC |
Not Connected |
Configure the GPIO as an input with an internal pull-up resistor.
The switch operates as a dry contact and does not require an external power supply for basic digital input detection.
Raspberry Pi Compatibility
The MS-2A-13.5 can be connected directly to Raspberry Pi GPIO pins when used as a low-voltage dry-contact switch.
- Connect COM to GND.
- Connect NO to a GPIO input.
- Enable the GPIO pull-up resistor.
- Read the GPIO state to detect switch activation.
Important: Never connect mains voltage to Arduino, ESP32, or Raspberry Pi GPIO pins.
Applications
- 3D printer end-stop detection
- CNC machine limit switches
- Robotic arm position sensing
- Mobile robot bumper detection
- Mechanical movement detection
- Automated equipment control
- Door and enclosure position detection
- DIY electronics projects
- Arduino limit switch applications
- ESP32 automation systems
- Raspberry Pi GPIO projects
- Small mechanical control systems
- Educational robotics projects
Important Notes
- The MS-2A-13.5 is a mechanical switch and does not require an external power supply for basic contact operation.
- The switch supports both Normally Open and Normally Closed configurations.
- Verify the COM, NO, and NC terminal markings before wiring.
- Mechanical switches may produce contact bounce. Software debouncing or suitable hardware filtering may be required.
- Do not exceed the rated voltage and current.
- The 2A at 125V AC rating must not be assumed to apply to DC or inductive loads.
- Use appropriate electrical protection when switching motors, relays, or other inductive loads.
- The reported mechanical life depends on operating conditions.
- The switch is not waterproof and should be protected from moisture and excessive dust.
- Ensure proper mechanical alignment to avoid excessive force on the lever.
- For mains-voltage applications, use appropriate insulation, enclosure protection, and qualified installation practices.
Package Includes