• 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

Circuit Simulator: Assemble and Simulate

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.

Table of Contents
  • Technical Specifications
  • The Design
  • The PWM Schematic
  • The Relay Driver DPDT
  • Circuit Operation

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:

warning message: electricity is dangerous, proceed with caution
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.  2 Simple RF Detector Circuits Explored
  • 2.  Make this Simple Weather Station Project for Homes and Offices
  • 3.  Make an LED AC Voltage Indicator Monitor Circuit
  • 4.  Material Storage Level Controller Circuit
  • 5.  Linear Hall-Effect Sensor – Working and Application Circuit
  • 6.  Very Low Frequency (VLF) Detector Circuit

Filed Under: Sensors and Detectors Tagged With: Automatic, Close, Controller, Door, Open, PWM

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

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 Posts

Categories

  • Arduino Projects (89)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • 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 (88)
  • 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 (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (39)
  • Water Controller (36)




Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap




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 |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin



  • Recent Comments

    • Swagatam on How to Make HHO Fuel Cell Circuit in Automobiles for better Fuel Efficiency
    • Swagatam on How to Repair Mosquito Swatter Bats
    • Pradosh on How to Repair Mosquito Swatter Bats
    • eq on How to Make HHO Fuel Cell Circuit in Automobiles for better Fuel Efficiency
    • Swagatam on 100A AC Load Monitoring Circuit using Arduino, Watt Limit, LCD, Alarm, Auto Shutdown

    © 2025 · Swagatam Innovations