

The Self-Locking Push Button with LED (Manufacturer: Generic, Part ID: 001) is a versatile electronic component that combines a push button switch with a locking mechanism and an integrated LED indicator. When pressed, the button locks into place, maintaining its state until pressed again to release. The built-in LED provides a visual indication of the button's status, making it ideal for applications requiring clear feedback.








Below are the key technical details for the Self-Locking Push Button with LED:
| Parameter | Value |
|---|---|
| Operating Voltage | 3V to 24V DC |
| LED Voltage | 3V to 5V DC (with resistor) |
| Maximum Current | 3A |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 100 MΩ |
| Button Type | Self-locking (latching) |
| LED Color | Red (varies by model) |
| Mounting Hole Diameter | 16mm |
| Operating Temperature | -20°C to +55°C |
| Material | Plastic and metal alloy |
The Self-Locking Push Button with LED typically has four pins. The table below describes each pin:
| Pin | Label | Description |
|---|---|---|
| 1 | NO | Normally Open terminal for the switch. Connect to the load or circuit input. |
| 2 | COM | Common terminal for the switch. Connect to the power source or ground. |
| 3 | LED+ | Positive terminal for the LED. Connect to a current-limiting resistor and power. |
| 4 | LED- | Negative terminal for the LED. Connect to ground. |
Below is an example of how to connect the Self-Locking Push Button with LED to an Arduino UNO:
// Self-Locking Push Button with LED Example
// This code toggles the LED state based on the button press.
const int buttonPin = 2; // Pin connected to the NO terminal of the button
const int ledPin = 13; // Built-in LED on Arduino for testing
void setup() {
pinMode(buttonPin, INPUT_PULLUP); // Set button pin as input with pull-up resistor
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
// Read the button state (LOW when pressed due to pull-up resistor)
int buttonState = digitalRead(buttonPin);
if (buttonState == LOW) {
// Toggle the LED state
digitalWrite(ledPin, !digitalRead(ledPin));
delay(500); // Debounce delay to avoid multiple toggles
}
}
LED Does Not Light Up:
Button Does Not Lock in Place:
Switch Does Not Toggle the Circuit:
Arduino Does Not Respond to Button Press:
Q: Can I use this button with an AC circuit?
A: No, this button is designed for DC circuits only. Using it with AC may damage the component or pose safety risks.
Q: What resistor value should I use for the LED?
A: For a 5V system, a 220Ω resistor is recommended. For other voltages, use Ohm's Law (R = V/I) to calculate the appropriate value.
Q: Can I replace the LED with a different color?
A: Yes, but ensure the replacement LED has a similar forward voltage and current rating.
Q: Is the button waterproof?
A: No, this button is not waterproof. Use it in dry environments or consider a waterproof variant for outdoor applications.