Automatic Doorbell with PIR Motion Sensor

INTRODUCTION

Have you ever noticed that when you entered 7E there is a ding dong sound? Or when you enter a toilet, then suddenly the lamp turned on by itself? It’s actually using a Passive Infra-red (PIR) Motion Sensor. A sensor where it detects any heat that occurred to trigger the sensor. Let’s scroll down to get more info.

HARDWARE PREPARATION

This tutorial use :

  1. Maker UNO
  2. Low Cost PIR Sensor Module (Sound Sensor)
  3. Micro B USB

You can make the hardware connection based on the diagram and table below.

CONNECTION
PIR Sensor : VCCMaker UNO: 5V
PIR Sensor : GNDMaker UNO: GND
PIR Sensor : OutMaker UNO: pin 5
Figure 1 : Hardware Connection.
Figure 2 : The PIR Motion Sensor
Figure 3 : The PIR Specification.

SAMPLE CODE

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Water The Plant Using ESP32 and Blynk App.
Program ESP32 Using MicroPython
Smart Parking System Controlled by Blynk App on Arduino.
Unlock a Door With Face Recognition Using ESP32 Camera
RFID Solenoid Door Lock Using Arduino
Scroll to Top