GithubHelp home page GithubHelp logo

gatecontrol's Introduction

Gate Control

I'm just sharing my little home project to control my gate.

Using this i am able to open and close my gate from anywhere using my android phone or a regular web browser. Furthermore i can always check if i forgot to close my gate and i get a notification whenever my gate is opening or closing.

Hardware

Everything is running on a raspberry pi which i build into my gate motor.

The motor of my gate has a controlboard which has a simple input to open and close the gate, as well as an output which normally is used to trigger a signal lamp when the gate is open.

Motor Datasheet

The input to open and close the gate is called "Open A" (Pin 1) and the output is labled "W.L." (Pin 12).

The motor is programmed in stepped semi-automatic mode (EP) and the indicator light has the traffic lights (E4) function active.

The controlboard is using 24V so the pins cannot be connected directly to the raspberry pi.

Therefore i build a simple interface board using two optocouplers:

Screenshot

Screenshot

This is how everything looks like build into my motor:

Screenshot

Software

The raspberry pi runs a simple node js server which uses a Express to host the webpage and provide the REST api to control the gate.

To get real time updates about the opening and closing gate, the webpage uses socket.io.

The android application is using Google Cloud Messaging to receive changes of the gate state.

gatecontrol's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.