Smart Mask

September 4, 2021

Smart Mask

September 4, 2021

Created By

Ishaan Periwal

I am Ishaan. I enjoy building and creating and my interests range from quantum mechanics to aerospace. I am an avid course taker and constantly is having at least one course, and I have also participated in many sports and other co-curricular activities.

About This Project

Hello fellow people, again a very big “Thank you” to all of you for giving your precious time to my projects. I am currently on cloud nine as today I have made a project that has the power to revolutionize the world. Yes, today I made a Smart mask. This mask is made after a ton of research and tests and we are confident you are sure to appreciate it after you have a look at it.It is very simple yet ingenious and while making this we kept in mind that efficiency matters, so we made sure it was not hampered and last of all yes, it is pocket friendly. Now talking about its working this Smart Mask is based on an ultrasonic sensor which gives us the reading, I have also attached a LCD so you see your distance, this LCD is currently to represent your smart phone, in which you can download an app to monitor yourself.These were some of the basic concepts of our smart mask. Special thanks to Mechatron Robotics and mainly my trainer Mr. Ankur Hazarika, also to all of you viewers out there for all the support.



This was Ishaan and hope to make a new project like this one for the benefit of our people and the world.


From the CREATOR,


Ishaan

Components Required

  • Arduino UNO
  • Alphanumeric LCD 16 X 2
  • Ultrasonic Sensor
  • Buzzer

Schematics

In this image all the components with the connections are given

Code Of Project

   # 
 include 
 <LiquidCrystal.h> 
 
 int 
sensorvalue = 
 0 
 ; 
 LiquidCrystal 
 lcd 
 ( 
 7 
 , 
 6 
 , 
 5 
 , 
 4 
 , 
 3 
 , 
 2 
 ) 
 ; 
 long 
 readUltrasonicDistance 
 ( 
 int 
triggerPin , 
 int 
echoPin ) 
 { 
 pinMode 
 ( 
triggerPin , 
 OUTPUT 
 ) 
 ; 
 // Clear the trigger 
 digitalWrite 
 ( 
triggerPin , 
 LOW 
 ) 
 ; 
 delayMicroseconds 
 ( 
 2 
 ) 
 ; 
 // Sets the trigger pin to HIGH state for 10 microseconds 
 digitalWrite 
 ( 
triggerPin , 
 HIGH 
 ) 
 ; 
 delayMicroseconds 
 ( 
 10 
 ) 
 ; 
 digitalWrite 
 ( 
triggerPin , 
 LOW 
 ) 
 ; 
 pinMode 
 ( 
echoPin , 
 INPUT 
 ) 
 ; 
 // Reads the echo pin, and returns the sound wave travel time in microseconds 
 return 
 pulseIn 
 ( 
echoPin , 
 HIGH 
 ) 
 ; 
 } 
 void 
 setup 
 ( 
 ) 
 { 
 Serial 
 . 
 begin 
 ( 
 9600 
 ) 
 ; 
lcd . 
 begin 
 ( 
 16 
 , 
 2 
 ) 
 ; 
lcd . 
 setCursor 
 ( 
 3 
 , 
 0 
 ) 
 ; 
lcd . 
 print 
 ( 
 "Smart Mask" 
 ) 
 ; 
 delay 
 ( 
 3000 
 ) 
 ; 
lcd . 
 clear 
 ( 
 ) 
 ; 
 pinMode 
 ( 
 11 
 , 
 OUTPUT 
 ) 
 ; 
 } 
 void 
 loop 
 ( 
 ) 
 { 
sensorvalue = 
 0.01723 
 * 
 readUltrasonicDistance 
 ( 
 13 
 , 
 12 
 ) 
 ; 
 Serial 
 . 
 println 
 ( 
sensorvalue ) 
 ; 
lcd . 
 setCursor 
 ( 
 0 
 , 
 0 
 ) 
 ; 
lcd . 
 print 
 ( 
sensorvalue ) 
 ; 
lcd . 
 print 
 ( 
 " cm" 
 ) 
 ; 
 delay 
 ( 
 500 
 ) 
 ; 
 // Wait for 500 millisecond(s) 
 if 
 ( 
sensorvalue >= 
 200 
 ) 
 { 
 digitalWrite 
 ( 
 11 
 , 
 LOW 
 ) 
 ; 
lcd . 
 clear 
 ( 
 ) 
 ; 
lcd . 
 setCursor 
 ( 
 0 
 , 
 1 
 ) 
 ; 
lcd . 
 print 
 ( 
 "You're Safe" 
 ) 
 ; 
 digitalWrite 
 ( 
 13 
 , 
 LOW 
 ) 
 ; 
 } 
 if 
 ( 
sensorvalue < 
 200 
 ) 
 { 
 digitalWrite 
 ( 
 11 
 , 
 HIGH 
 ) 
 ; 
lcd . 
 clear 
 ( 
 ) 
 ; 
lcd . 
 setCursor 
 ( 
 0 
 , 
 1 
 ) 
 ; 
lcd . 
 print 
 ( 
 "Move back!!" 
 ) 
 ; 
 digitalWrite 
 ( 
 13 
 , 
 HIGH 
 ) 
 ; 
 } 
 } 
  
 
A person is using a laptop computer next to a robot.
By Siddhartha Kumar January 5, 2022
Robotics: Blessing and Curse? Robots have improved healthcare , surveillance, delivery of goods (drones), spacecraft, travel, logistics, etc.
A man is wearing a virtual reality headset and touching a screen.
By Tahreem Jamadar December 28, 2021
Is it time for 3D Printing to Adopt Blockchain Technology? Research has already shown 3D printing has a growing need for cybersecurity.
A group of children are sitting at a table making a robot.
By Dr. Heath Kirby-Miller December 25, 2021
Why STEM Education in Australia The Australian industries to be benefited from STEM include advanced information and communication technology
A red rc truck is sitting on top of a remote control.
December 12, 2021
Arduino IR remote controlled Car The project is arduino based project. the Links pf the projects are given below
A laptop computer is on a tripod on a table.
November 30, 2021
Animation Studios Mechatron Robotics project uses an Arduino uno R3 a LCD and push buttons. It is based on the concept of arduino and LCD
A young boy wearing headphones is using a laptop computer.
By Kiran Gupta November 30, 2021
Machine Learning for Disables can help those disabled people to improve their lives. With the marvel of machine learning doctors
A man wearing a virtual reality headset is working on a robotic arm.
By Kiran Gupta November 7, 2021
What are the Consequences of Not Embracing Robotics & AI? We won’t be able to go ahead as these are the next big things.
A person is holding a remote control in a living room.
November 4, 2021
Home Automation System is made because today's light bulbs tend to heat and this can cause blast in the house.
A close up of a bottle of vaccine with a virus in the background.
By Rajesh Sharma November 1, 2021
Robotics and the Pandemic 2020. This is where Robotics can come in, robots can help reduce the human contact.
A person is playing with a robotic head on a table.
By Siddhartha Kumar November 1, 2021
Key Elements Most of the Schools are Missing. Everyone has different criteria but one key element remains the same:” The quality of teaching
Show More
A person is using a laptop computer next to a robot.
By Siddhartha Kumar January 5, 2022
Robotics: Blessing and Curse? Robots have improved healthcare , surveillance, delivery of goods (drones), spacecraft, travel, logistics, etc.
A man is wearing a virtual reality headset and touching a screen.
By Tahreem Jamadar December 28, 2021
Is it time for 3D Printing to Adopt Blockchain Technology? Research has already shown 3D printing has a growing need for cybersecurity.
A group of children are sitting at a table making a robot.
By Dr. Heath Kirby-Miller December 25, 2021
Why STEM Education in Australia The Australian industries to be benefited from STEM include advanced information and communication technology
A red rc truck is sitting on top of a remote control.
December 12, 2021
Arduino IR remote controlled Car The project is arduino based project. the Links pf the projects are given below
A laptop computer is on a tripod on a table.
November 30, 2021
Animation Studios Mechatron Robotics project uses an Arduino uno R3 a LCD and push buttons. It is based on the concept of arduino and LCD
A young boy wearing headphones is using a laptop computer.
By Kiran Gupta November 30, 2021
Machine Learning for Disables can help those disabled people to improve their lives. With the marvel of machine learning doctors
A man wearing a virtual reality headset is working on a robotic arm.
By Kiran Gupta November 7, 2021
What are the Consequences of Not Embracing Robotics & AI? We won’t be able to go ahead as these are the next big things.
A person is holding a remote control in a living room.
November 4, 2021
Home Automation System is made because today's light bulbs tend to heat and this can cause blast in the house.
A close up of a bottle of vaccine with a virus in the background.
By Rajesh Sharma November 1, 2021
Robotics and the Pandemic 2020. This is where Robotics can come in, robots can help reduce the human contact.
Show More