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