Garage Gate Opener Using Arduino

Introduction: Garage Gate Opener Using Arduino

About: I'm Electrical Engineering Student, Coffee Lover, Automated System designer, Programmer and Security System Designer.

This is a hardware based project which uses Atmel Atmega 328P (Arduino UNO) to make a Garage Gate Opener without the need of extra peripherals. The code is capable of protecting the system itself from electrical damages.

The whole circuit is powered by +5V of Arduino UNO and AC mains (External power supply). The attached code can also be modified for other Arduino Products.

Step 1: Requirements

The following things are required to get this project done:

1- Arduino Mega or Arduino UNO

2- Three push buttons

3- Two diodes

4- Four relays

5- Gate opener motor

6- Two door sensors

Step 2: Pin-outs & Wiring

The Pin-outs & Wiring of Arduino Mega or Arduino UNO and other peripheral is attached with this step and also given following:


Arduino => Hardware


7 => Down sensor

8 => Upper sensor

9 => Stop button

10 => Down button

11 => Up button

12 => +ve Terminal of 1st diode

13 => +ve Terminal of 1st diode

+5v => Down sensor

+5v => Upper sensor

+5v => Stop button

+5v => Down button

+5v => Up button

GND => To relays

=> For more hardware instructions, please see the file "instructions.txt" attached with this step.

Step 3: Upload the Code

Upload the code to Arduino Mega or Arduino UNO. After uploading the code to Arduino, you will get your output at garage gate with Arduino. The Arduino .ino file is also attached with this step.

Now, you can control your garage gate with the help of push buttons & sensors.

Be the First to Share


    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest
    • Big and Small Contest

      Big and Small Contest


    nalinda sandarwan
    nalinda sandarwan

    2 years ago

    Can this project be done with an arduino nano board? Should changes be made for that?


    2 years ago

    VERY FINE AND CODE ALSO VERY EASY..................


    Question 3 years ago

    Ciao, vorrei sapere come fai a invertire il senso di marcia del motore AC con soli due fili di collegamento. Dal Tuo schema sembra che gli impulsi facciano ruotare il motore sempre nello stesso senso di marcia sia in apertura che in chiusura.
    Grazie per la risposta.