Skip to content

Arduino Project for controlling a Sliding Gate with Eaton DE1 Variable Speed Starter

License

Notifications You must be signed in to change notification settings

bachmmmar/door_control

Repository files navigation

This project builds a Gate Controller for a Sliding Gate using a Eaton DE1 Variable Speed Starter and an Arduino Nano. There are four parts of that project:

Existing Gate

The existing Gate has three lower end contacts and three the upper end contacts. I've implemented an independent safety circuit with a lower and an upper contact which interrupt the motor - DE1 connection if triggered. The other for contacts (2lower and 2higher) are connected to the Arduino.

Eaton DE1

The Eaton DE1 is configured for Mode 1 which provides control for direction, External Fault (EXTFLT) and Speed (f-REF)

Hardware

The images below are showing the final hardware and a drawing with the pin description.

final drawing
breadboard circuit breadboard circuit

The Shematic was done with Fritzing.

breadboard circuit

Unfortunately the 20mA supply from Eaton DE1 was not sufficient for powering the circuit.

Software

The block diagram shows the structure of the Software.

block diagram

The inputs are periodically (driven by timer) retrieved. All inputs are simple push buttons or contacts which can be pushed(closed) or released(open). These pushed/released events are communicated by using callbacks to the State Machine. The statemachine then controls the four outputs for the DE1 Variable Speed Starter. For details see the state diagram below.

block diagram

Along that a logging infrastructure collects all log messages with severities and outputs it on terminal.

The Project can be compiled with the Arduino App or by using CLion. This is why the project folder contains all the CMake files.

About

Arduino Project for controlling a Sliding Gate with Eaton DE1 Variable Speed Starter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published