Description
What it is
The lever arm with roller and long slider with micro limit switch SPDT is a mechanical component used for managing mechanical movements in obstacle detection projects. This device combines a roller lever with a long slider and an end-of-travel switch, making it ideal for both beginners and more experienced makers.
Features
- Lever arm with roller and long slider
- Micro limit switch SPDT
What it is for
Ideal for obstacle detection projects, automatic doors or presence sensors. It can be used in various devices such as simple alarms that alert when a door or window is opened.
Tutorial: How to use Lever Arm with Roller and Long Slider Micro Limit Switch SPDT LOT
The lever roller arm with long slider and end-of-travel microswitch is a useful component for projects requiring mechanical movement management. Ideal for beginner and intermediate makers, this device can be used in various devices such as automatic doors or presence detectors.
What you need
- Arduino Uno
- Jumper Wire M-M
- Stepper Motors
- Breadboard
Steps
- Install the lever roller arm on the desired project.
- Connect the end-of-travel switch to the Arduino microcontroller using jumper wires.
- Configure the Arduino sketch to read the state of the switch.
- Verify the proper functioning of the lever roller arm with a manual movement.
- If necessary, adjust the positioning of the arm to optimize the accuracy of the reading.
- Test the complete system by integrating the stepper motor and adjust its speed according to the project requirements.
Example code
void setup() {
pinMode(interruttore, INPUT);
}
void loop() {
if(digitalRead(interruttore) == HIGH){
Serial.println("Interruttore premuto");
}
}
Mini project
Build a simple alarm system that alerts when a door or window is opened. Use the lever arm switch to activate the alarm.
Common mistakes
- Incorrect wiring of the limit switch.
- Incorrect positioning of the lever arm switch relative to the desired movement.
- Ignore the Arduino sketch configuration to read the signal from the switch.
- Do not adequately test the system before integrating it into the final project.
Recommended accessories
- NEMA 17 Stepper Motors
- Arduino Uno R3
- Large Breadboard
- Jumper Wire Set
Frequently asked questions
How can I verify the compatibility of the arm with my motor?
Check the datasheet to ensure that the dimensions and connectors are compatible.
What is the operating voltage of the limit switch?
Check the product datasheet to obtain this precise information.









Reviews
There are no reviews yet.