Smoking inhibiter IOT

Help smokers quit their addiction using the IOT technologies.

The goal of the project is to make the smoker quit his addiction; This ofcurse relies on the will and dedication of the smoker to do so.
Using the IOT technologies, It is possible to design a hardware that can prohibit the smoker from consuming cigarettes, by implimentinng a
method to supply a cigarette once in a predefined time interval, where the device is locked for the rest of the time.
Once the time interval passes, the smoker expects to get a cigarette out of the case, However, It is not only that smoking is prohibited for a certain
time; There are multiple conditions that have to be uphold, they are:

– Normal Level Heartrate:
Arduino PulseSensor calculates the smoker’s BPM (Beats Per Minute). The regular BPM level is 60 to 100 BPM resting.

– Air Pollution:
Arduino SGP30 air quality sensor, provides information about the smoker’s envioriment. The main parameters are TVOC and eCO2.
* TVOC (Total Volatile Organic Compounds): The volume of gas per classification and the sum of all gases (TVOC) are important reflections of the relevant
organic compounds found in the air. must be less than 500 PPB (PArts Per Billion).
* eCO2 (Carbon Dioxide): The volume of Carbon Dioxide in the air. must be less than 1000 PPB (PArts Per Billion).

– Rest:
Arduino MPU6050 Accelerometer provides information about the smokers movement and acceleration, if a smoker is detected in movement the cigarette will
not be provided.

For the sake of user interaction, the system include a Nokia LCD screen, which will lead the user during the process of condition and envioriment
validation, and display an output message, depending on the result calculated and the made dicision, and the smoker gets a cigarette acoording to that result.

Along with the Arduino programmed hardware, the samples taken by the hardware are written to Firestore database. a mobile application is also included,
which allows the user to view all the samples, which will lead the user to learn more about the path to quit cigarettes.
The mobile application also allows the user to control the time duration between cigarettes, and the hardware locks itself accordingly.

In conclusion, the aim is to quit smoking. the belief is that prohibiting smoking for most of the time, validating the smoker’s state and conditions
will eventually lead to the goal of quitting.