Вы находитесь на странице: 1из 6

instructables

Shy Mask That Shuts Up When It Sees People

by Friedlc

It's sad that we have to wear face masks due to Covid - What if the face mask could open up when in a safe
19. It's not a very enjoyable experience, makes you environment, with no people around. So you can cool
hot, sweat, nervous and of course harder to breath. down and drink. But to make it safe again, the mask
There are thirsty times when you are urging to remove should be able to shut o when anyone is
the mask but scared to do so. approaching.

https://youtu.be/DuxCehVRyYw

Step 1: Start From a Prototype

Since this is a wearable project, I started mocking up a cardboard prototype, this is the fastest and cheapest
solution for the correct dimensions, etc.

Step 2: How It Works and Part List

Shy Mask That Shuts Up When It Sees People: Page 1


The plan is to use an Arduino Nano that read signals then it shuts down the door by controlling the servo,
from 3 PIR sensors, if any sensor triggers positive, and lights up LEDs to tell which sensor is triggered.

Some parts I used: Wire sleeve: https://amzn.to/3cfC9X1 (Amazon)

3D printer Water decal paper for laser printer:


I used this one: https://amzn.to/3cfC9X1 https://amzn.to/3cfC9X1 (Amazon)

Arduino Nano: Protoboard https://amzn.to/3cfC9X1 (Amazon)

https://amzn.to/3cfC9X1 (Amazon) DISCLAIMER: This list contains a liate links, which


means that if you click on one of the product links, I’ll
https://amzn.to/3cfC9X1 (Banggood) receive a small commission. This help support me and
allows me to continue to make instructables like this.
PIR Sensor: HC SR 501 https://amzn.to/3cfC9X1 Thank you for the support!
(Amazon)

Mini Servo: https://amzn.to/3cfC9X1 (Amazon)

https://amzn.to/3cfC9X1 (Banggood)

Step 3: How PIR Sensor Works and Why It's Not the Best Sensor for This Project

Under the lens of the HC-SR501 sensor, there are platform, the constant motion will trigger the module
actually 2 sensors and a comparator circuitry. It sends often because environment, even though there is
out HIGH when the 2 sensor readings are di erent. nobody come across. Pretty much everything have IR
radiation.
So if the sensor is stationary, the background will
make 2 sensors with same reading, when a person or Though it's not the exact sensor to detect human, it
object with heat radiation walks by, one of the sensor works for the mask application, even makes it safer
will read the di erence, thus trigger the module. since it always false positive to keep it shut.

However, if you install the sensor on a moving

Shy Mask That Shuts Up When It Sees People: Page 2


Step 4: Designing the Mask

To cover the full 360 degrees around you, I picked 3 sensors, 2 on the cheek, and one on the back of head. The
sensor has a 110 degree range so that adds up to almost a full circle.

2 white ball(lens) on cheek will be quite funny looking like a clown, so I started some rough sketches, for a sci-
look. With that style in mind and earlier dimensions from the mock up, we can start 3d modeling

Step 5: 3D Modeling

Shy Mask That Shuts Up When It Sees People: Page 3


I used fusion 360, starting form the major parts and mechanisms, then adding more details for the sci- look.

Step 6: Putting All the Parts Together

Step 7: Electronic Connections

Shy Mask That Shuts Up When It Sees People: Page 4


The connection is quite simple, a lot of 5V, GND and necessary and caused a lot of trouble), at a time I
digital pin connections. Since the Arduino Nano has made a 4 pin connector that I have to gure out
very limited power ports, I created my own expansion direction every time. Later I updated them using the
using protoboard and some pins. Just solder all the Poka-Yoki philosophy, which is make all the parts
wires together to make a rail. coming together in an only possible way.

I also made a lot of connectors(turned out not

Step 8: The Code

Very straight forward coding, basically a condition loop. When any sensor is triggered, it shuts down the door
immediately and lights up corresponding LEDs.

See code attached:

Shy Mask That Shuts Up When It Sees People: Page 5


https://www.instructables.com/ORIG/FLD/AK5F/K9XCVADI/FLDAK5FK9XCVADI.ino
… Download

Step 9: Future Improvements

Check how it works in the video. This is not by any means a perfect project, but hope
this could be your inspiration or entertainment.
There are 2 disadvantages of this design.
Thanks for watching and see you next time!
1. The sensor false positive problem, a better sensor or
even camera with AI would make it more accurate. DesignMaker

2. I didn't put in e ort to seal the mask properly, but http://youtube.com/chenthedesignmaker


had thought of how to seal the door area. I think the
sh mouth could be a very interesting mechanism to
test out in the future.

Shy Mask That Shuts Up When It Sees People: Page 6

Вам также может понравиться