Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Self Locking push button with LED: Examples, Pinouts, and Specs

Image of Self Locking push button with LED
Cirkit Designer LogoDesign with Self Locking push button with LED in Cirkit Designer

Introduction

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.

Explore Projects Built with Self Locking push button with LED

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Pushbutton-Controlled LED Circuit with Capacitor Smoothing
Image of cirkit designer project3: A project utilizing Self Locking push button with LED in a practical application
This is a simple pushbutton-controlled LED circuit with a voltage stabilization or power reserve feature provided by an electrolytic capacitor. Pressing either pushbutton will complete the circuit, allowing current to flow from the 4 x AAA batteries through the LED, causing it to illuminate.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered LED Circuit with Pushbutton Control and Capacitance Smoothing
Image of Coding and Robotics activity 3: A project utilizing Self Locking push button with LED in a practical application
This circuit consists of a 4 x AAA battery mount providing power, two pushbuttons acting as switches, an electrolytic capacitor for smoothing voltage fluctuations, and a red LED as an indicator. The LED lights up when either pushbutton is pressed, with the capacitor likely serving to debounce the pushbutton signal or provide a more stable LED operation. There is no microcontroller in this circuit, indicating a simple, direct-control user interface.
Cirkit Designer LogoOpen Project in Cirkit Designer
Simple Pushbutton-Controlled LED Circuit
Image of test: A project utilizing Self Locking push button with LED in a practical application
This circuit is a simple pushbutton-controlled LED circuit. When the pushbutton is pressed, it completes the circuit allowing current to flow from the 9V battery through the LED, causing the LED to light up. Releasing the pushbutton breaks the circuit, turning off the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer
STM32 and ESP8266 Nodemcu Based Smart Lock System with LCD and Keypad
Image of ot_t: A project utilizing Self Locking push button with LED in a practical application
This circuit functions as a secure door lock system with a user interface. The STM32 Nucleo microcontroller is connected to a keypad for input, an LCD for display, and a servo motor to actuate the lock mechanism. It communicates with an ESP8266 module to receive an OTP (One-Time Password) for unlocking, and uses LEDs to indicate lock status.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Self Locking push button with LED

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of cirkit designer project3: A project utilizing Self Locking push button with LED in a practical application
Pushbutton-Controlled LED Circuit with Capacitor Smoothing
This is a simple pushbutton-controlled LED circuit with a voltage stabilization or power reserve feature provided by an electrolytic capacitor. Pressing either pushbutton will complete the circuit, allowing current to flow from the 4 x AAA batteries through the LED, causing it to illuminate.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Coding and Robotics activity 3: A project utilizing Self Locking push button with LED in a practical application
Battery-Powered LED Circuit with Pushbutton Control and Capacitance Smoothing
This circuit consists of a 4 x AAA battery mount providing power, two pushbuttons acting as switches, an electrolytic capacitor for smoothing voltage fluctuations, and a red LED as an indicator. The LED lights up when either pushbutton is pressed, with the capacitor likely serving to debounce the pushbutton signal or provide a more stable LED operation. There is no microcontroller in this circuit, indicating a simple, direct-control user interface.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of test: A project utilizing Self Locking push button with LED in a practical application
Simple Pushbutton-Controlled LED Circuit
This circuit is a simple pushbutton-controlled LED circuit. When the pushbutton is pressed, it completes the circuit allowing current to flow from the 9V battery through the LED, causing the LED to light up. Releasing the pushbutton breaks the circuit, turning off the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ot_t: A project utilizing Self Locking push button with LED in a practical application
STM32 and ESP8266 Nodemcu Based Smart Lock System with LCD and Keypad
This circuit functions as a secure door lock system with a user interface. The STM32 Nucleo microcontroller is connected to a keypad for input, an LCD for display, and a servo motor to actuate the lock mechanism. It communicates with an ESP8266 module to receive an OTP (One-Time Password) for unlocking, and uses LEDs to indicate lock status.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Power switches for electronic devices
  • Control panels and dashboards
  • DIY electronics projects
  • Home automation systems
  • Industrial equipment controls

Technical Specifications

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

Pin Configuration and Descriptions

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.

Usage Instructions

How to Use the Component in a Circuit

  1. Mounting the Button: Drill a 16mm hole in your panel or enclosure and secure the button using the provided nut.
  2. Wiring the Switch:
    • Connect the NO pin to the input of your circuit or load.
    • Connect the COM pin to the power source or ground, depending on your circuit design.
  3. Wiring the LED:
    • Connect the LED+ pin to a current-limiting resistor (e.g., 220Ω for 5V systems) and then to the positive voltage supply.
    • Connect the LED- pin to ground.
  4. Testing:
    • Press the button to toggle its state. The LED will light up when the button is locked (ON) and turn off when released (OFF).

Important Considerations and Best Practices

  • Current Limiting for LED: Always use a resistor in series with the LED to prevent damage due to excessive current.
  • Voltage Compatibility: Ensure the operating voltage of the button and LED matches your circuit's power supply.
  • Debouncing: For digital circuits, consider implementing hardware or software debouncing to avoid false triggering caused by mechanical bounce.
  • Heat Management: Avoid exceeding the maximum current rating (3A) to prevent overheating or damage.

Example: Connecting to an Arduino UNO

Below is an example of how to connect the Self-Locking Push Button with LED to an Arduino UNO:

Circuit Connections

  • NO Pin: Connect to Arduino digital pin 2.
  • COM Pin: Connect to ground.
  • LED+ Pin: Connect to a 220Ω resistor, then to Arduino 5V.
  • LED- Pin: Connect to ground.

Arduino Code

// 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
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. LED Does Not Light Up:

    • Check the polarity of the LED connections (LED+ and LED-).
    • Ensure a current-limiting resistor is used and properly connected.
    • Verify the power supply voltage matches the LED's operating voltage.
  2. Button Does Not Lock in Place:

    • Ensure the button is not physically damaged or obstructed.
    • Check for proper mounting and alignment in the panel.
  3. Switch Does Not Toggle the Circuit:

    • Verify the connections to the NO and COM pins.
    • Check for loose or broken wires in the circuit.
  4. Arduino Does Not Respond to Button Press:

    • Ensure the button is connected to the correct Arduino pin.
    • Verify the Arduino code and ensure the pinMode is set correctly.

FAQs

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.