element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Fighting Germs
  • Challenges & Projects
  • Project14
  • Fighting Germs
  • More
  • Cancel
Fighting Germs
Blog A smartwatch alike wearable device for monitoring the health condition of COVID-19 suspected cases
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Fighting Germs to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: yogesh.al98
  • Date Created: 2 May 2020 8:57 AM Date Created
  • Views 814 views
  • Likes 5 likes
  • Comments 1 comment
  • fightinggermsch
Related
Recommended

A smartwatch alike wearable device for monitoring the health condition of COVID-19 suspected cases

yogesh.al98
yogesh.al98
2 May 2020
image

Fighting Germs

Enter Your Project for a Chance to Win a Thermal Imaging Camera, Germicidal UV Lamp, and a Shopping Cart with Matching Charity Donation!

Submit an EntrySubmit an Entry  Back to homepage image
Project14 Home
Monthly Themes
Monthly Theme Poll

 

imageDeveloped a prototype wearable device that helps in remote monitoring of the health condition of quarantined people such as body temperature along with geolocation signature and can be used to send alert information to concerned officials if the condition of the people shows possible symptoms of COVID-19 or violation of quarantine take place.

 

COVID-19 viral infections are increasing day by day at a very alarming rate and hundreds of thousands of people suspected of infection or who had contact with COVID-19 positive patients are kept under self-quarantine. Under these circumstances, it has become imperative to monitor the health condition of people under quarantine at regular intervals and isolate them if they exhibit possible symptoms of COVID-19 such as severe cough, sustained higher body temperature, and breathing difficulties. The wearable device, that resembles a smartwatch, continuously measures body temperature using a temperature sensor and logs this information in the device memory along with the geolocation signature of the quarantined person. In addition, the wearable device transmits this information to a cloud server at regular intervals through a cellular mobile network, so that the quarantined people’s health parameters can be remotely monitored and analyzed by Government health authorities based on the data history
This device uses a Particle BORON platform for data processing and to establish connectivity through the cellular mobile network.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
imageimageimageimage

 

 

 

 

 

SOURCE CODE:

 

 

 

 

 

#include <DS18B20.h>

 

 

const int MAXRETRY = 3;

const int pinOneWire = D2;

const int pinLED = D7;

const uint32_t msSampleTime = 1000;

const uint32_t msPublishTime = 1000;

const int nSENSORS = 2;

 

 

int xRaw;

int yRaw;

int zRaw;

 

 

DS18B20 ds18b20(pinOneWire);

 

 

retained uint8_t sensorAddresses[nSENSORS][8];

 

 

float celsius[nSENSORS] = {NAN, NAN};

 

 

void setup() {

  pinMode(pinLED, OUTPUT);

 

 

  ds18b20.resetsearch();                 // initialise for sensor search

  for (int i = 0; i < nSENSORS; i++) {   // try to read the sensor addresses

    ds18b20.search(sensorAddresses[i]); // and if available store

  }

}

 

 

void loop() {

  static uint32_t msSample = 0;

  static uint32_t msPublish = 0;

   xRaw = analogRead(A0);

   yRaw = analogRead(A1);

   zRaw = analogRead(A2);

 

 

  if (millis() - msSample >= msSampleTime) {

    msSample = millis();

    for (int i = 0; i < nSENSORS; i++) {

      float temp = getTemp(sensorAddresses[i]);

      if (!isnan(temp)) celsius[i] = temp;

    }

  }

 

 

  if (millis() - msPublish >= msPublishTime) {

    msPublish = millis();

    Serial.println("Publishing now.");

 

    publishData();

  }

}

 

 

double getTemp(uint8_t addr[8]) {

  double _temp;

  int   i = 0;

 

 

  do {

    _temp = ds18b20.getTemperature(addr);

  } while (!ds18b20.crcCheck() && MAXRETRY > i++);

 

 

  if (i < MAXRETRY) {

    //_temp = ds18b20.convertToFahrenheit(_temp);

    Serial.println(_temp);

  }

  else {

    _temp = NAN;

    Serial.println("Invalid reading");

  }

 

 

  return _temp;

}

 

 

void publishData() {

  char szInfo[64];

  snprintf(szInfo, sizeof(szInfo), "%.1f C T1, %.1f C T2, %4d, %4d, %4d", celsius[0], celsius[1], xRaw, yRaw, zRaw);

  Particle.publish("Data", szInfo, PRIVATE);

}

  • Sign in to reply

Top Comments

  • ankur608
    ankur608 over 5 years ago +1
    Nice.
  • ankur608
    ankur608 over 5 years ago

    Nice.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube