/Third_Eye

Project that transmits real-time sensor data about the environment and user to a website for viewing and sends alerts via SMS in case of a potential risk/critical value being reached

Primary LanguageC++

Third Eye

Workplace Safety

Safety is important, especially when you work in the industrial sector. For example, mining can cause respiratory illnesses, high blood pressure, poisoning and various other disorders that can last a lifetime, if not outright killing you.

This creates a need to be able to monitor employee health/vitals and environmental conditions. Being able to will mean that you can:

  • Respond quickly to emergencies
  • Track potential risks
  • Monitor worker safety and physical health.

Our Project

With this in mind, our group decided to create a device that uses sensors to track and transmit data to a website and via SMS in real-time.

image

  • Four sensors monitor heart rate, air quality, temperature and current location.
  • The device uses the SIM900 GSM Module to send SMS alerts in case of any of the readings indicate a potential crisis (by passing a threshhold value).
  • It also sends a request to the website with the sensor data.
  • The website then stores the data, and you can look at the new values once refreshed as its updated.

gif (2)

Setting the Project Up

On the hardware side, we've used:

  • Raspberry Pi Pico
  • MQ135
  • MQ9
  • Pulse Sensor
  • IR Body temp sensor
  • SIM900 GSM Module

As for the website, you can configure your device to send updates to the website in this form:

https://ntl-2022.herokuapp.com/update/APIKEY=694201a/PULSE=<value>/TEMP=<value>/MQ135=<value>/MQ9=<value>/LOC=<value>

  • LOC should be in the form of <lat>,<long>

Otherwise, you can also just edit the values and do it from your browser just to see how it looks like.

The website used Flask and vanilla HTML/CSS/JS.

To Do

  • Respond to update requests via SMS
  • Updating the website's values better (Right now, it just refreshes the page every few seconds)
  • Adding the ability to view several users' data under one account/multiple accounts

Screenshot of Website

image

Contributors

Lasya
Lasya

Aniruddha Chatterjee
Ronak

Abid
Abid