Giter Site home page Giter Site logo

helelora's Introduction

HeleLora

Drone Aided Device-to-Device Networks for Communications and Health Connectivity

Introduction

This project provides a proof-of-concept to a device-to-device network that can be deployed in rural areas with no internet coverage, or during temporary loss of internet coverage due to accidents or disasters. To connect the unconnected, we rely on drones and lora modules. Drones are not constrained by geogrphical barriers and LoRa modules can communicate over long distances (up to 20 km for Line Of Sight (LOS) communication). We use health monitoring as an example of how the proposed network can be useful in collecting data from wearable devices from the residents of a rural area that lacks internet infrastructure.

Structure

In the src directory you will find two sub-directories: Data_collection and lora. The Data_collection directory contains python scripts that connects to a band 4, collects a supervised dataset for composed of the timeseries readings: heart rate and gyroscope, in addition to an activity label assigned by the user. The activities recognized are: exercising, sleeping, and studying, which are given the labels: 1, 2, 3, respectively. Data collection duration is pre-defined in a variable called activities_durations in the listen_to_buttons.py script.

The lora sub-directory has python scripts that send a txt file, line by line, from lora node A to lora node B, given the address of lora node B.

Usage

This repository is only tested on linux.

Data Collection

  • Clone this repository: git clone https://github.com/gadm21/HeleLora

  • Authentication key and MAC address of the Miband4 are needed to access it and retrieve sensor readings. Refer to [freemyband website] (https://www.freemyband.com) to acquire them. They should be put in the auth_key.txt and the mac.txt files in the Data_collection directory.

  • The listen_to_buttons.service file sets a background-running service in linux that listens for a button (since we are running this experiment on a rasspberry pi with a simple button and led circuit). To activate the service, run the following commands:

    sudo cp /HeleLora/src/Data_collection/listen_to_buttons.service /lib/systemd/system/
    sudo systemctl daemon-reload # run this whenever you do changes to the service.
    sudo systemctl enable listen_to_buttons
    sudo systemctl start listen_to_buttons
    

To check the status of the service: 'sudo systemctl status listen_to_buttons' To disable the service: 'sudo systemctl disable listen_to_buttons' If the status of the service is active/running, this means that the service starts running as the system boots. The service listens for a long press on the button to start taking instructions, also through that single button, to set the activity label before starting connecting to the band and collecting data.

  • The circuit scheme will be uploaded soon!

helelora's People

Contributors

gadm21 avatar aya-farrag avatar khaledbedda 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.