• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Sensors and Detectors / Automatic PWM Door Open/Close Controller Circuit

Automatic PWM Door Open/Close Controller Circuit

Last Updated on January 2, 2024 by Swagatam 3 Comments

In this post I have explained a simple PWM controlled automatic turnstile or door circuit featuring an automatic open/close action via a photo-interrupter stage. The idea was requested by Mr. Bruce Clark.

Technical Specifications

Thank you for a really fantastic service you provide.

Would you please be so kind as to help me with a modification of the your circuit at:

5 Simple DC Motor Speed Controller Circuits Explained

I would like to use an arduino PWM to control a 12Vdc gate control motor ( will draw 9amps at startup) using MJ11015G power transistors.

My dilemma lies in the requirements to supply sufficient power to the transistors base and the associated circuit modifications within the limitations of the arduino Uno. It is my very limited understanding that the inverting gates would not be even nearly sufficient for this application.

I know that the limit of the Arduino is 40mA per output pin. If I were to apply a PWM output through a 120 Ohm resistor directly to the base of these transistors would I be okay? If not please advise an alternative.

Basically, I wish to use the motor for a turnstile or automatic door and as such need the dead stop and reverse functionality. A photointerrupter will be used to determine position of door and induce a brief halt and then reversal to initial position where it will be indexed via a sensor.

The door can be rather heavy and space is very limited so I plan to drive the door using the motor mentioned through a reduction gearbox.

Your help would be most sincerely appreciated

Kind regards
Bruce Clark

The Design

A very simple PWM based motor control circuit with high torque and instant stop/reversal feature can be witnessed in the given diagram and may be used for operating the proposed turnstile or automatic door application.

The PWM Schematic

pwm2Bmotor2Bcontrol

If an Arduino based PWM is intended to be used, the IC stage in the above diagram could be removed and the PWM from the Arduino could be applied directly at the base of the mosfet via a 10 ohm resistor as shown below

The Relay Driver DPDT

pwm2Barduino

Parts List

R1 = 10K

R2 = 47 OHMS

P1 = 100K POT

D1, D2 = 1N4148

D3 = MUR1560

C1,C2 = 0.1uF/100V

Z1 = 15V, 1/2 WATT

Q1 = IRF540

N1---N6 = IC MM74C14

DPDT = DPST SWITCH OR DPDT RELAY

Circuit Operation

The first circuit above, which is  not using an Arduino input is configured around 6 hex-inverter Schmidt NOT gates from the IC MM74C14, where N1 forms the fundamental rectangular wave pulse generator, N2 is used for detecting the duty cycle of the pulses generated by N1 via the pot P1, while the remaining gates are wired as buffers.

P1 is used for determining the speed at which the door is supposed to open and close automatically.

The final PWM output achieved from the outputs of the buffers N3 to N6 is applied to a driver mosfet Q1 which becomes responsible for controlling the speed of the attached motor depending upon the fed PWM data.

A DPDT switch can be seen rigged with the motor terminals and the mosfet, this switch is used for acquiring an instant braking and reversal of motor rotation.

The good thing about this circuit is that it does depend on a H-bridge driver configuration for achieving the motor flipping actions, rather the same is implemented by the use of an ordinary DPDT switch.

As per the request, for executing the automatic door opening and closing via photo sensitive device, the DPDT could be replaced with a DPDT relay and the coil of this relay could be in turn controlled through the intended photo sensitive device (photo-interrupter) such as a photo diode or an LDR.

The photo interrupter stage will be updated soon.

You'll also like:

  • 1.  Anti Spy RF Detector Circuit – Wireless Bug Detector
  • 2.  Deep Soil Metal Detector Circuit – Ground Scanner
  • 3.  Cell Phone Ring to Flashing Lamp Indicator for People with Hearing Loss
  • 4.  Motion Detector Circuit using Doppler Effect
  • 5.  Force Sensing Resistor Circuit Explained
  • 6.  How to Connect a TSOP1738 IR Sensor

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « What’s Islanding in GTI (Grid Tie Inverter)
Next Post: Customizing Car Side Marker Lights to Flashing Side Markers »

Reader Interactions

Comments

  1. shahbaz says

    March 29, 2021 at 3:47 am

    hand clapping window curtain open circuits

    Reply
  2. Tanzila Haque Istia says

    March 27, 2016 at 7:30 am

    Do I need to use aurduino pwm?? is aurduino pwm and aurduino r3 same?

    Reply
    • Swagatam says

      March 28, 2016 at 2:31 am

      Arduino is not required here, the PWM is created using the N1 stage

      Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (82)
  • Datasheets and Components (102)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (100)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • 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
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Simple Delay Timer Circuits Explained
  • Swagatam on The Role of Inductor Coil in SMPS
  • Swagatam on 7 Modified Sine Wave Inverter Circuits Explored – 100W to 3kVA
  • Swagatam on 7 Modified Sine Wave Inverter Circuits Explored – 100W to 3kVA
  • Victor on 7 Modified Sine Wave Inverter Circuits Explored – 100W to 3kVA

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations