Close
0%
0%

Open the gate, wicket or door with your Smartphone

Raspberry PI & SUPLA

Similar projects worth following
This time I would like to demonstrate how to change your Smartphone into a „remote controller” to open the gate/wicket or door using Raspberry PI

DEMO

  • 1 × Raspberry PI
  • 1 × SD card min. 3GB
  • 1 × YwRobot relay module
  • 1 × Connecting wiring
  • 1 × Bread board

View all 6 components

  • 1
    Step 1

    At the beginning we need to hook up the relay module to Raspberry. The software used by me is default set to operate 3 relays, however, if we do not have such, we can also use one and leave the other out. The relays can be connected to electric locks opening wickets/doors or to the gate controller. Relays functions as well as each relay operation time can be later changed at cloud.supla.org. Below you can find the scheme on how to connect Raspberry PI with the relay module.

    Raspberry PINs specification (source: http://raspi.tv/2014/rpi-gpio-quick-reference-updated-for-Raspberry-pi-b)

    Hook up on the breadboard.

  • 2
    Step 2

    In order to have it all working correctly, we need to start a free account on

    https://cloud.supla.org/account/create

    When we sign in and logon, we need to read location settings which are required in Step 3 as well as access identifier settings required in Step4 below

  • 3
    Step 3

    Now we need to prepare the SD card (I have been working on a Windows 7 based PC).

    • Point the downloaded and unzipped file in the „Image File” field and select the device (the disc with SD card) and click “Save”.
    • We can now safely remove the card with the „Safely remove hardware and eject media” tool, remove it and place it back again in the reader
    • We need to open the disc labeled on the SD card as „boot” partition
    • Open the location.txt file and enter the location data read from https://cloud.supla.org. The most recent connection status can be read in the file last_state.txt, e.g. an invalid password’s information will be saved here
    • We can now safely remove the card with the „Safely remove hardware and eject media” tool, remove it and place in the Raspberry PI SD card driver
    • Connect Raspberry PI to LAN and turn the device on (you can also reconfigure it to connect with network via WiFi)
    • Raspberry should be included on the list of devices in cloud.supla.org when properly launched

View all 4 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates