Giter Site home page Giter Site logo

hpsaturn / covid-19-personal-cumulative-risk-index-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ferrithemaker/covid-19-personal-cumulative-risk-index-tracker

0.0 2.0 0.0 50 KB

Source code for covid-19 wireless accumulative risk index tracker personal device

License: GNU General Public License v3.0

C++ 100.00%

covid-19-personal-cumulative-risk-index-tracker's Introduction

covid-19-personal-accumulative-risk-index-tracker

Inspired by the classic radiation dosimeters that we have seen in many documentaries and films, the idea of ​​the project is to create a wearable device that allow us to measure the accumulated daily risk of exposure to potentially dangerous environments in relation to the transmission of covid-19.

As we know, one of the main transmission factors of covid-19 is the proximity to other people who may be infected by the virus and therefore, one of the objectives to improve prevention is to be in environments where there is a safe distance between people and control the flow of movements around you.

The covid-19 personal cumulative risk index tracker is a wireless device that is configured in promiscuous mode, thus acting as an electromagnetic spectrum analyzer at the frequencies used by wireless devices.

Actually, almost everyone wears a device with a wireless connection on them, and every device with this type of connection, even if it is not connected to any network or in use, regularly emits a series of beacon signals to identify itself in a unique way.

The covid-19 personal cumulative risk index tracker recognizes these signals and their intensity, density and variability, which allow us to know approximately the flow of people around you and based on that information, plus a real-time data of local infection cases, the device creates a reliable daily cumulative index of exposure risk, like the radiation dosimeters.

The central point of the project is not the hardware itself, quite simple indeed, but the algorithm that calculates this index based on the electromagnetic frequency readings. The idea is not simply to detect the number of devices around you, but to analyze the variations of the signals intensity, and above all, analyze the flow of devices around you.

These data allow us to calculate what kind of environment we are in, generating various types of profiles:

  • Very dense environment and low variability: (moderate / high risk)
  • Very dense environment and high variability: (high / very high risk)
  • Low dense environment and low variability: (low risk)
  • Low dense environment and high variability: (moderate risk)

Based on these profiles we can calculate a daily accumulated index that will tell us not only if at a specific moment we are in a potentially dangerous environment (since this is generally quite obvious), but it will also show us an accumulated value throughout the day, which will give us a global assessment of our daily behaviour (low risk / medium risk / high risk) and will allow us to be aware in order to adjust it and minimize further risks.

This index can be weighted with real time data of local infections rates from online oficial sources like covid-19 API to create a more reliable index.

The device consists of a wireless connectivity microcontroller with the ability to work in promiscuous mode (in our case an ESP32) and a battery (a small power bank or a LiPo battery). To display the information you can use an OLED screen (this is the case in the demo example) or simply a color coding system using LEDs to indicate the different levels of accumulated risk.

Build and Flashing

First of all, install PlatformIO with your favourite IDE (i.e. VSCode). Follow this instructions.

Clone the repo or download it and then:

Connect wristband via USB with the supplied daughter board. In Windows 10, drivers are installed automatically. I guess with other OS will be automatically installed too.

After plugging wristband, please select env variant esp32dev on VisualCode and build it, PlatformIO icon->env:esp32dev->Build:

Upload Button

then, in the same menu, plase select upload.

or build and upload it with the pio command line:

pio run -e pico32USB --target upload

PlatformIO will build and upload the binaries to the TTGO T-Wristband via USB.

or

pio run -e heltec --target upload

PlatformIO will build and upload the binaries to the TTGO T-Wristband via USB.

covid-19-personal-cumulative-risk-index-tracker's People

Contributors

ferrithemaker avatar hpsaturn avatar

Watchers

James Cloos 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.