Skip to content

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

Notifications You must be signed in to change notification settings

thanospan/EESTech-Challenge-2018-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published