Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Architecture

Daksh Srivastava edited this page Nov 10, 2017 · 4 revisions

Architecture

Architecture Diagram

Tech Stack

The tech stack is broadly divided into x components.

  1. Data Storage
  2. Hardware layer
  3. Core Engine
  4. Front End

The project has the following components :

  • NodeServices : Node APIs are hosted on a server which are used by an app & a WiFi module.
  • ESP8266 WiFi module : The WiFi module is programmed to recursively ping a server (in my case - Google cloud) to get the latest status (On/Off) of the lamp.
  • Arduino Uno : The Arduino accepts the service response as a String from the WiFi module and converts it into a JSON. Using the JSON, based on simple control flow statements, it controls a 5v relay.
  • App : An app communicates with the APIs to set whether the lamp should be turned on or off.

Clone this wiki locally