• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • +1000 Circuits
  • Hobby Circuits
  • Basic Circuits
  • Learn Arduino
  • Logic IC Pinouts
  • Disclaimer
You are here: Home / Motor Controller / Automatic Door Circuit using PIR – Touchless Door

Automatic Door Circuit using PIR – Touchless Door

Last Updated on July 8, 2020 by Swagatam 4 Comments

Along with social distancing and masks, the other major thing the post COVID-19 era has compelled the world to implement is to go touchless. This is being recommended for the many public devices, such as doors, hand sanitizers, buttons, switches etc. in order to restrict the spread of viruses that may be caused due to physical touching of buttons and handles.

The article makes an effort in supporting the touch-less or touch-free concept for doors, by upgrading the door system into electronic door system, which can respond to a human presence and perform the opening and closing operations exclusively without the need of manual pulling or pushing of the door.

Circuit Description

The touchless door circuit based on a PIR human detection is shown in the above figure.

Let' learn its working with the help of the following points:

The design works by using the following main components:

  • PIR sensor
  • DPDT/SPDT relays
  • IC 4093
  • Magnetic Reed Switches

PIR Assembly: The left side white dome shaped device, mounted on a green PCB is the Passive Infra Red or the PIR module. The module detects the infrared heatmap emanating from a human body and converts them into a positive potential at its output terminal.

As can be seen the module has 3 pinouts viz Vcc or the positive supply pin, the OUT which produce the output potential in response to a human presence within its detection range, and the Vss pinout which is the ground or the negative supply pin of the device.

In the above figure the 3 pinouts of the PIR is directly sldered with a current limiter 1k resistor and an amplifier transistor.

The 1k provides a quick and a reliable compatibility for the PIR with the 12 V supply, since it is fundamentally a 5 V device, and 12 V direct connection may cause a permanent damage of the device. The transistor works like an amplifier which converts the low current, low voltage output from the PIR to an adequately higher level for operating a relay.

The direct assembly of the mentioned parts on the pins of the PIR ensures a guaranteed and a reliable working of the PIR without the need of any special PCB or stabilizing elements.

Relay Working: The relay connected with the PIR transistor switches ON when the PIR detects a human, and switches OFF when a human moves away from its detection range. This relay is a DPDT type which has two sets of N/O, and N/C contacts.

These contacts are wired with a power motor to enable a forward and backward rotation in response to the activation and deactivation of the DPDT relay.

There's also a second another relay which is an SPDT type, meaning with a single set of N/O, N/C contacts. This relay provides the positive supply to the DPDT relay contacts and the motor, such that this supply is cut OFF whenever the motor pulls the door at the either ends of the open/close limits.

NAND Gates: The circuit uses 4 NAND gates from the IC 4093, which control the SPDT relay for the required deactivation of the motor as soon as the door is rolled at the extreme ends of it travel.

Reed Relay: Two reed relay switches are used in this automatic touchless PIR door controller circuit. The reed switches provide the necessary electrical signals to the NAND gates to ensure that the motor is shut off when the door is pulled across their either limits.

Circuit Working in Details

The polarity of the motor wires are connected with the DPDT relay in such a way that the N/C or normally closed contacts enable the closing of the door, and the N/O or the normally open contacts enable the opening of the door.

Let's assume that the touchless door is in a completely closed position, and no human-being present within the detection range of the PIR.

In this position the DPDT relay is in the deactivated state with its contacts resting across their N/C points.

Also, the reed switch S1 is suitably positioned externally such that when the door closes it aligns with a magnet installed at the edge of the door.

Similarly, S2 reed switch is positioned to respond with another magnet associated with the door, when the door is in the open position.

Thus, S1 now being in close proximity with the door magnet, is in the closed and conducting condition.

Also, since the PIR is witched OFF, the 8050 transistor is also switched OFF, causing the input of gate A1 to be high.

Since the NAND gates are wired as inverters, the output of A3 in this situation turns low or 0 V.

This 0 V causes the BC557 to switch ON, and apply a positive supply via S1 to the two inputs of the gate A4.

A4 gate as a result turns low, or 0 V keeping the the BC547 and the associated relay switch OFF. This cuts off the supply to the DPDT relay and the door motor stays deactivated.

The whole system now waits in a standby position.

Now, suppose a human approaches the door, and comes within the PIR range. The PIR switches ON, activating the DPT relay in the N/O position.

The PIR activation also causes a low signal to appear at the input of gate A1, which in turn causes the output of A3 to go high.

This action switches OFF the BC557, causing the input of A4 to get 0 and 1 logic at its inputs, which turns it output high and activates the BC547 and the associated SPDT relay.

The SPDT now provides the required supply to the DPDT and the motor.

The motor quickly activates and begins rolling the door in the open position.

Once the door is fully open, S2 reed activates, causing a logic 1 to appear at the respective input of A4. The other input being already high or 1, the output of A4 turns low, causing the BC547 and the SPDT to switch OFF.

The supply is immediately cut off and the motor halts.

The person is now enters the door and moves ahead out of the range of the PIR.

The PIR now switches OFF, switching the DPDT towards the N/C contacts which is supposed to reverse the motor operation. This also causes a high at the input A1, and a low at the output of A3. This results to the inputs of A4 to get 0 and 0 logic respectively, turning its output high, and switching ON BC547 and the SPDT relay.

The SPDT initiates the supply to the DPDT and the motor so that the motor now begins pulling the door towards the closed position.

Here, the S2 opens causing a low at the respective input of A4, but that does not affect the A4, since a 0 and 1 still keeps the A4 output high.

Finally, when the door reaches closed position, the reed relay S1 conducts, and the entire system comes to a halt and in a standby condition.

Automatic Sliding Touchless Gate Operation

The above explanation touchless door concept could be also effectively applied for implementing an automatic touchfree sliding gate system.

The mechanism for the gate system can be visualized in the above figure.

The gate is slides with the help of a couple of wheels.

One wheel is fitted at the front end of the gate which supports the gate to roll freely across the metal rail track.

The other wheel which is in a gear form is fitted on the motor shaft such that its teeth couples with the teeth of the horizontal gear installed at the bottom of the gate.

Now, as the motor operates, the gear wheel bites the horizontal gear teeth and forces the gate assembly to roll towards the direction as determined by the clockwise or anticlockwise movement of the motor gear wheel.

Upgrading a Standard Door into a Touchless Door

For converting an ordinary or a standard door system into a touchless version, the following simple motor pull-push mechanism could be employed.

Here, we can see a shaft is joined in the middle and the ends through separate hinges, which allows the shaft to be flexible and bend at the required angles for enabling the pulling or pushing of the door in response to the rotation of the motor disc.

The magnets and reed relays are fitted across the motor disc, such that the respective magnets and the reed switches align with each other during the opening and closing of the door at the predetermined angles.

SHARING IS CARING!



Previous: Simple Frequency Meter Circuits – Analogue Designs
Next: Sound Triggered Halloween Eyes Project – “Don’t Wake the Devil”

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  Easy H-Bridge MOSFET Driver Module for Inverters and Motors
  • 2.  3-Phase Signal Generator Circuit using Opamp
  • 3.  How to Convert 3 phase AC to Single phase AC
  • 4.  3 Phase Induction Motor Speed Controller Circuit
  • 5.  L298N DC Motor Driver Module Explained
  • 6.  Single Phase Variable Frequency Drive VFD Circuit

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Search Related Posts for Commenting

  2. Ron says

    I am a subscriber and enjoy pondering each project you put forth, thanks. I have an old electric Golf Cart which uses the Resistive Coils to control the four speeds via the Drive Motor, using copper contacts, wiped by mechanical linkage from the accelerator pedal. I am wondering if I could get rid of all that heat, from the coils, and use, instead, Power Mosfets to vary the Duty Cycle Pulses to the drive motor for each of the four speeds? Scanning thru your huge bank of circuits I don’t see a similar one (probably overlooked it) using power mosfets controlling a DC motor. Thanks for you consideration.

    Reply
    • Swagatam says

      Thanks Ron, I appreciate your feedback.
      You can try the following links which explains a few effective pwm mosfet controlled motor circuits

      2 Simple Bidirectional Motor Controller Circuits Explored

      3 Simple DC Motor Speed Controller Circuits Explained

      Reply
  3. jorge roble says

    Very nice topic. I was looking to know about this system. Very clear and very instructive. Thanks a lot.

    Reply
    • Swagatam says

      Glad you found the post helpful, and thanks for stopping by!

      Reply



Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (93)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (84)
  • Battery Chargers (76)
  • Car and Motorcycle (88)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (82)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (99)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (24)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (27)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (55)
  • Mini Projects (153)
  • Motor Controller (65)
  • MPPT (7)
  • Oscillator Circuits (15)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (65)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (39)
  • Ultrasonic Projects (12)
  • Water Level Controller (46)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos – Circuit Test Results

© 2021 · Swagatam Innovations