Garage Gate Opener Using ARM Cortex-M4

by Adeel Ijaz in Circuits > Microcontrollers

95 Views, 0 Favorites, 0 Comments

Garage Gate Opener Using ARM Cortex-M4

1.jpg

This is a hardware based project which uses ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) to make a Garage Gate Opener without the need of extra peripherals. The program is capable of protecting the system itself from electrical damages.

The whole circuit is powered by +3.3V of ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) and AC mains (External power supply).

.bin file of c99 code is attached with the provided link at the end of this tutorial. .bin file can be uploaded to the microcontroller using LM Flash Programmer.

Requirements

The following things are required to get this project done:

1- Texas Instruments EK-TM4C123GXL

2- Three push buttons

3- Two diodes

4- Four relays

5- Gate opener motor

6- Two door sensors

7- LM Flash Programmer (software on PC)

=> If you don't know how to use and install LM Flash Programmer, then please check out my previous Instructable, or click on the following links:

Downloading LM Flash Programmer

Upload .bin or .hex File Using LM Flash Programmer

Pin-outs & Wiring

pin-out diagram.jpg
garage.jpg
diagram.jpg

The Pin-outs & Wiring of ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) and other peripherals is attached with this step and also given following:

======================

TM4C123GXL => Hardware

======================

PB1 => Down sensor

PE4 => Upper sensor

PE5 => Stop button

PB4 => Down button

PA5 => Up button

PA6 => +ve Terminal of 1st diode

PA7 => +ve Terminal of 1st diode

+3.3v => Down sensor

+3.3v => Upper sensor

+3.3v => Stop button

+3.3v => Down button

+3.3v => Up button

GND => To relays

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

Downloads

Upload the .bin File

1.5.jpg
2.JPG

Upload the attached .bin file with this step to ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) using LM Flash Programmer.