Stufin
Home Quick Cart Profile

Micro Limit Switch with Roller for CNC RepRap Prusa 3D Printers 5A 250VAC

Buy Now

Component Documentation

Micro Limit Switch with Roller for CNC RepRap Prusa 3D Printers

Overview

The Micro Limit Switch with Roller is a compact, high-quality mechanical switch designed specifically for CNC, RepRap, and Prusa 3D printers. This component plays a crucial role in detecting the physical position or movement of 3D printer components, ensuring precise control and preventing damage to the printer or its parts.

Functionality

The Micro Limit Switch with Roller functions as a normally open (NO) switch, meaning it remains open (i.e., not conductive) until the roller is physically actuated by coming into contact with the printer's moving parts. When the roller is triggered, the switch closes, allowing an electrical signal to flow. This signal can then be used to control the 3D printer's movements, halt operations, or initiate specific actions.

Key Features

  • Compact Design: The Micro Limit Switch with Roller is designed to be compact and lightweight, making it ideal for use in space-constrained 3D printer applications.
  • High-Quality Construction: The switch features a robust, durable design with a long lifespan, ensuring reliable performance even in demanding printing environments.
  • 5A 250VAC Rating: The switch is rated for 5A at 250VAC, making it suitable for a wide range of 3D printing applications.
  • Roller Actuation: The included roller allows for smooth, consistent actuation, reducing the risk of false triggers or misfires.
  • Easy Installation: The Micro Limit Switch with Roller is designed for easy installation on CNC, RepRap, and Prusa 3D printers, with a simple mounting system.
  • NEMA 17 Compatibility: This switch is compatible with NEMA 17 stepper motors, commonly used in 3D printing applications.
  • Durable Roller Material: The roller is made from a durable material, ensuring long-term reliability and resistance to wear and tear.

Operating Conditions

Operating Temperature

-20C to 80C (-4F to 176F)

Storage Temperature

-30C to 85C (-22F to 185F)

Humidity

5% to 95% RH (non-condensing)

Electrical Characteristics

Rated Voltage

250VAC

Rated Current

5A

Contact Resistance

10m

Insulation Resistance

100M

Dielectric Strength

1500VAC for 1 minute

Physical Characteristics

Dimensions

15mm x 10mm x 25mm (0.59in x 0.39in x 0.98in)

Weight

20g (0.71oz)

Mounting

M2 screw holes, 20mm (0.79in) spacing

Wire Length

200mm (7.87in)

Certifications and Compliance

RoHS compliant

CE certified

UL recognized

Applications

The Micro Limit Switch with Roller is suitable for a wide range of 3D printing applications, including

CNC machines

RepRap printers

Prusa 3D printers

Other DIY and industrial 3D printing platforms

Warranty and Support

This product is backed by a 1-year limited warranty. For technical support, please contact the manufacturer or authorized distributor.

Pin Configuration

  • Micro Limit Switch with Roller for CNC RepRap Prusa 3D Printers 5A 250VAC
  • Pin Description and Connection Guide
  • The Micro Limit Switch with Roller is a commonly used component in CNC and 3D printing applications, particularly in RepRap Prusa 3D printers. This documentation provides a detailed explanation of the pins and how to connect them properly.
  • Pinout:
  • The Micro Limit Switch has 4 pins, labelled as:
  • 1. NC (Normally Closed)
  • 2. COM (Common)
  • 3. NO (Normally Open)
  • 4. GND (Ground)
  • Pin Description and Connection Guide:
  • 1. NC (Normally Closed) Pin:
  • Function: This pin is connected to the mechanical switch's normally closed contact.
  • Connection: Connect to the microcontroller's digital input pin or a pull-up resistor (if necessary).
  • Description: When the roller is not triggered (i.e., the switch is in its normal state), the NC pin is connected to the COM pin. When the roller is triggered, the NC pin disconnects from the COM pin.
  • 2. COM (Common) Pin:
  • Function: This pin is the common terminal of the mechanical switch.
  • Connection: Connect to the power supply or a reference voltage (e.g., 5V or 3.3V).
  • Description: The COM pin provides a reference voltage for the switch and is connected to either the NC or NO pin, depending on the switch's state.
  • 3. NO (Normally Open) Pin:
  • Function: This pin is connected to the mechanical switch's normally open contact.
  • Connection: Connect to the microcontroller's digital input pin or a pull-down resistor (if necessary).
  • Description: When the roller is triggered (i.e., the switch is activated), the NO pin connects to the COM pin. When the roller is not triggered, the NO pin is disconnected from the COM pin.
  • 4. GND (Ground) Pin:
  • Function: This pin is the ground terminal of the switch.
  • Connection: Connect to the system's ground or 0V reference.
  • Description: The GND pin provides a return path for the switch's electrical circuit and should be connected to the system's ground.
  • Connection Structure:
  • To connect the Micro Limit Switch with Roller, follow this structure:
  • Connect the COM pin to a power supply or reference voltage (e.g., 5V or 3.3V).
  • Connect the NC pin to a digital input pin on the microcontroller or a pull-up resistor (if necessary).
  • Connect the NO pin to a digital input pin on the microcontroller or a pull-down resistor (if necessary).
  • Connect the GND pin to the system's ground or 0V reference.
  • Important Notes:
  • Ensure the power supply voltage matches the switch's rating (5A, 250VAC in this case).
  • Use appropriate pull-up or pull-down resistors if necessary, depending on the microcontroller's input requirements.
  • Consult the microcontroller's datasheet and the switch's datasheet for specific connection guidelines and requirements.

Code Examples

Micro Limit Switch with Roller for CNC RepRap Prusa 3D Printers 5A 250VAC
Overview
The Micro Limit Switch with Roller is a compact and versatile limit switch designed for use in CNC, RepRap, and Prusa 3D printers. This switch is rated for 5A at 250VAC and features a roller lever arm, making it ideal for detecting physical limits and boundaries in 3D printing applications.
Pinout and Electrical Characteristics
Pinout:
	+ VCC (positive power supply)
	+ GND (ground)
	+ NO (normally open)
	+ NC (normally closed)
 Electrical Characteristics:
	+ Rated Voltage: 250VAC
	+ Rated Current: 5A
	+ Operating Temperature: -20C to 80C
Using the Micro Limit Switch with Roller in Arduino
Here are two examples of using the Micro Limit Switch with Roller in Arduino-based projects:
Example 1: Basic Limit Switch Demonstration
In this example, we'll demonstrate the basic functionality of the Micro Limit Switch with Roller using an Arduino Uno board.
```arduino
const int limitSwitchPin = 2;  // Pin 2 is used as the input for the limit switch
void setup() {
  pinMode(limitSwitchPin, INPUT);
  Serial.begin(9600);
}
void loop() {
  int switchState = digitalRead(limitSwitchPin);
  if (switchState == HIGH) {
    Serial.println("Limit switch is activated!");
  } else {
    Serial.println("Limit switch is not activated.");
  }
  delay(50);
}
```
In this example, we've connected the NO (normally open) pin of the Micro Limit Switch with Roller to digital pin 2 of the Arduino Uno. The code reads the state of the limit switch and prints a message to the serial console indicating whether the switch is activated or not.
Example 2: Using the Limit Switch to Control a Stepper Motor
In this example, we'll demonstrate how to use the Micro Limit Switch with Roller to control a stepper motor in a CNC or 3D printing application.
```arduino
#include <Stepper.h>
const int limitSwitchPin = 2;  // Pin 2 is used as the input for the limit switch
const int stepperPin1 = 8;      // Pin 8 is used as the output for stepper motor control
const int stepperPin2 = 9;      // Pin 9 is used as the output for stepper motor control
const int stepsPerRevolution = 200;  // Number of steps per revolution for the stepper motor
Stepper stepper_mot(stepsPerRevolution, stepperPin1, stepperPin2);
void setup() {
  pinMode(limitSwitchPin, INPUT);
  stepper_mot.setSpeed(60);  // Set the stepper motor speed to 60 RPM
}
void loop() {
  int switchState = digitalRead(limitSwitchPin);
  if (switchState == HIGH) {
    stepper_mot.step(stepsPerRevolution);  // Move the stepper motor one full revolution
  } else {
    stepper_mot.step(-stepsPerRevolution);  // Move the stepper motor in the opposite direction
  }
  delay(50);
}
```
In this example, we've connected the NO (normally open) pin of the Micro Limit Switch with Roller to digital pin 2 of the Arduino Uno. The code uses the Stepper library to control a stepper motor, and the limit switch is used to determine the direction of motor rotation. When the limit switch is activated, the motor moves one full revolution; when the switch is not activated, the motor moves in the opposite direction.
Important Safety Considerations
When working with the Micro Limit Switch with Roller, please ensure that:
The rated voltage and current are not exceeded.
 The switch is properly installed and secured to prevent mechanical damage or electrical shock.
 The switch is used in a suitable environment, away from moisture, dust, and extreme temperatures.
By following these guidelines and examples, you can successfully integrate the Micro Limit Switch with Roller into your CNC, RepRap, or Prusa 3D printing projects.