Description
What is a Mini Lever Switch SPDT? A Mini Lever Switch SPDT is an electronic component used to control the flow of current in a circuit. With 3 pins and 2 positions, this switch offers a simple solution for managing electrical connections in various projects.
Features:
– Type: SPDT (Single Pole Double Throw)
– Number of Pins: 3
– Number of Positions: 2
– Maximum Current: 0.5A
– Maximum Voltage: 50V DC
– Dimensions: check datasheet
– Materials: check datasheet
Use Cases:
This switch is ideal for Arduino projects, 3D printing, and robotics. It can be used to create simple alarm systems, control LED lighting, or manage other basic functions in electronic circuits.
How To Use Mini Lever Switch SPDT:
The Mini Lever Switch SPDT is a fundamental component for controlling the flow of current in a circuit. Ideal for Arduino projects, 3D printing, and robotics.
What You Need:
– Arduino board
– LED
– 220 Ohm resistor
– Jumper wires
Steps:
1. Connect the switch to an Arduino pin using jumper wires.
2. Check the position of the switch to determine when it is ON or OFF.
3. Write an Arduino sketch to read the state of the switch.
4. Test the circuit with an LED to ensure proper functionality.
Example Code:
const int interruptPin = 2;
int interruptState;
void setup() {
pinMode(interruptPin, INPUT);
}
void loop() {
interruptState = digitalRead(interruptPin);
Serial.println(interruptState);
}
Mini Project:
Create a simple alarm system that turns on an LED when the switch is in the ON position.
Common Mistakes:
– Incorrectly connecting the switch to Arduino pins.
– Not verifying the correct state of the switch.
– Testing the circuit before integrating it into a larger project.
Recommended Accessories:
– Arduino Uno
– LED
– 220 Ohm resistor
– Jumper wires




Reviews
There are no reviews yet.