Saturday, June 28, 2025

How to Replace a Sliding Door Lock | Easy DIY Fix!

If your sliding door won’t lock properly or is difficult to close, the issue could be a worn-out handle lock or a misaligned keeper. In this guide, I’ll walk you through replacing the sliding door lock set, including unboxing, removal, installation, and adjustment. This fix is perfect for aluminium or standard household sliding doors.

Replace a sliding door lock

🪛Step-by-Step Instructions

Step 1:📦Unboxing the New Sliding Door Lock Set
Start by unboxing your new sliding door lock set. It typically includes:

Sliding door lock set.
  • 1 × Handle Lock (inside + outside)
  • 1 × Lock Keeper (strike plate)
  • 2 × Keys
Step 2:🔧Removing the Old Lock Handle
  1. Using a Phillips screwdriver, remove the two screws holding the old handle lock in place.

    Remove 2 screws.

  2. Once loose, gently pry off the front and back handles using a flathead screwdriver.

    Pry the lock using screwdriver.

  3. Remove the old lock and set it aside — you’ll immediately notice if it’s worn or damaged.

    Damaged old lock.

Step 3:🧰Installing the New Handle Lock
  1. Take the new handle lock and remove the packaging screws.

    Remove 2 screws at new handle lock.

  2. Align the new handle on the sliding door where the old one was positioned.

    Align the new handle.

  3. Insert and tighten the two screws — make sure both sides are secured properly.

    Secured both screw. 

  4. Now, test the sliding door — open and close it, and try locking it from both sides. It should move smoothly and lock without resistance.

    Test the sliding door open and close.

Step 4:🔁Replacing the Lock Keeper (Strike Plate)
  1. Unscrew the old keeper mounted on the door frame.

    Remove old keeper.

  2. Align the new keeper in the same position, then secure it using the supplied screws.


    Install new keeper.

  3. Close the door and test the locking. If the lock doesn’t catch easily, the keeper may need to be adjusted.

    Check the locking mechanism.

Step 5:⚙️Adjusting the Keeper for Smooth Operation
Sometimes, the keeper alignment isn’t perfect out of the box. If you:
  • Can’t lock the door easily
  • Find it hard to close
Align the keeper.

Then the keeper may need to be lifted slightly or repositioned. Loosen the screws, adjust the height, and retighten. Re-test until the door closes and locks smoothly.

Step 6:✅Final Test
Do a full function test:

Lock and unlock from the outside using the key.

Use the internal thumb turn to lock/unlock from inside.

Ensure the sliding motion is smooth and the lock engages easily.

🎉Conclusion


Replacing a sliding door lock is a simple yet effective way to restore security and ease of use to your home. With just a few tools and some patience, you can fix your door without calling a professional.

🎥Video


If you found this helpful, don’t forget to like the video, leave a comment, and subscribe to our channel for more tech tips and tutorials! Your support means a lot. 🙌

Wednesday, June 25, 2025

Arduino Obstacle Detector Using IR Sensor & Buzzer | Simple DIY Project

Ever wanted to build a simple alert system that detects nearby objects? In this guide, you’ll learn how to create a basic Arduino-based obstacle detection system using an IR sensor and a buzzer. This is a great beginner project to get started with Arduino, sensors, and digital outputs—and you’ll complete it in just a few steps!

Simple obstacle detector using an IR sensor

Components Required

To get started, you will need the following components:
Components required for this tutorial

✅ Arduino UNO board
✅ IR Obstacle Sensor
✅ Jumper Wires
✅ USB cable for Arduino
✅ Buzzer

🛠️ Circuit Wiring

Here’s how to connect each component to the Arduino:

IR sensor wiring

IR Sensor
✅ VCC → 5V on Arduino
✅ GND → GND on Arduino
✅ OUT → Digital pin 2 on Arduino

Buzzer sensor wiring
Buzzer
✅ + (Positive)  → Digital pin 8 on Arduino
✅ – (Negative)  → GND on Arduino

The connection between components and Arduino

Wiring diagram

💻 Uploading the Code

After wiring everything up, connect the Arduino to your computer using a USB cable.  Then, upload the following code, or you can download the code HERE.
const int irSensorPin = 2;
const int buzzerPin = 8;

void setup() {
  pinMode(irSensorPin, INPUT);
  pinMode(buzzerPin, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorValue = digitalRead(irSensorPin);
  if (sensorValue == LOW) {
    digitalWrite(buzzerPin, HIGH);
    Serial.println("Obstacle detected!");
  } else {
    digitalWrite(buzzerPin, LOW);
  }
  delay(100);
}
Open Arduino IDE and copy-paste the code

🧪 Final Test

Once the code is uploaded, place your hand or an object in front of the IR sensor. The buzzer will beep, indicating that the sensor has detected an object. When the object is removed, the buzzer stops.
The IR sensor and buzzer turn ON and beep when an object is detected.

📌 Conclusion

And that’s it! This Arduino project is simple, effective, and a great hands-on introduction to IR sensors and digital outputs. Whether you’re a student or a hobbyist, this is a great first step into the world of embedded electronics!

🎥 Watch the Full Video Tutorial


🔔 If you found this guide helpful, share it with fellow makers! For more tutorials, subscribe to our YouTube channel and follow us on social media. 🚀

#arduino #irsensor #diyproject #obstacledetector #buzzersensor #arduinoproject #electronics