Coder Social home page Coder Social logo

thanospan / eestech-challenge-2018-2019 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 59 KB

An IoT project implemented during the EESTech Challenge Patras 2018-2019.

Shell 35.67% Python 64.33%
iot bluetooth-low-energy mqtt python bluepy paho docker node-red mosquitto mysql raspberry-pi

eestech-challenge-2018-2019's Introduction

EESTech Challenge 2018-2019

This project was implemented during the EESTech Challenge Patras 2018-2019.

  • Topic: Internet of Things
  • Goal: Build elements of a smart classroom utilizing low-cost IoT devices, well established open-source libraries and cloud technologies.
  • Tasks:
    1. Setup and connect to an IoT device to monitor the environmental conditions of the classroom. Transmit the data collected from the sensors to the Cloud.
    2. Setup a secure, bi-directional communication between the IoT devices and the Cloud. Collect telemetry data from multiple IoT devices, store and analyze the data centrally.

Team Members: Thanos Panagiotidis, Nikos Nikolaidis, Orestis Nikolas

Hardware/Software

Architecture

Usage

  • Turn on the DA14585 IoT Multi Sensor Add-On Board by moving the switch.
    (Move the device if it has been inactive for more than 60 seconds.)

  • Cloud

    • Create an Ubuntu 18.04 Virtual Machine and login as a user with root privileges.

    • Clone the project:

     $ git clone https://github.com/thanospan/EESTech-Challenge-2018-2019.git
     $ cd EESTech-Challenge-2018-2019/Cloud
    
    • Run the setup script:
     $ bash setup
    
    • Open a browser and visit http://{vm-ip-address}:{node-red-port} to access the Node-RED editor.

    • Double click on one of the MySQL nodes.
      Click the button next to the select box to edit the MySQL database node.
      Set the User, Password fields to the username and password of the MySQL user created to access Node-RED.

    • Open a browser and visit http://{vm-ip-address}:{node-red-port}/ui to access the Node-RED dashboard.


    A Step-By-Step Guide on how to set up the Ubuntu 18.04 VM can be found here.


  • Raspberry Pi

    • Install bluepy:
     $ sudo apt install python3-pip libglib2.0-dev
     $ sudo pip3 install bluepy
    
    • Install paho-mqtt:
     $ sudo pip3 install paho-mqtt
    
    • Clone the project:
     $ git clone https://github.com/thanospan/EESTech-Challenge-2018-2019.git
     $ cd EESTech-Challenge-2018-2019/RPi
    
    • Change the variables in get_data.py and run:
     $ python3 get_data.py
    

Disclaimer

It is highly advised that some additional security steps are taken.
More information can be found here:

Use with caution!

eestech-challenge-2018-2019's People

Contributors

thanospan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.