Automatic Mask

by gaming feeling0 in Circuits > Arduino

1849 Views, 5 Favorites, 0 Comments

Automatic Mask

ezgif.com-gif-maker.gif

Note, if I win the competition, I am probably going to make a second version that is all in one instead of having different parts I used separate parts because I can't afford the better ones YET.

This project was inspired by Ben Hecks Auto Mask 2: https://www.youtube.com/watch?v=uFkHNZ0hel0 and This post: https://www.thingiverse.com/thing:440176. However, I wanted it to be very easy to assemble. Also, very cost effective. For example, the second post uses a muscle sensor that costs $30. However mine, altogether, would probably cost around the same for all of the mask. This also has the capability of swapping masks instead of having a permanent one. Also, my design isn't a head strap. Therefore, it's extremely portable.

Supplies

2x SG90 servo's

1x Arduino uno

1x Juice bar

1x Switch

1x 3d printer with around 60-80g filament.

1x PC and USB cable

Watch My Video of Me Designing and Assembling It.

Building An Automatic Mask

I made this video to show you how I made it.

Designing the Parts.

Fusion.png

I used fusion 360 (I'm very very new to it) to design everything. By using a reference picture, I could just use the spline tool and draw around my ear instead of having to take annoying measurements. Except for, obviously, the servo and things I had to mount.

Printing Files:

ezgif.com-gif-maker (1).gif

I used an anet a8 with 20% infill everything and no supports:

Arduino Case: Holds arduino, goes in your pocket and holds connectors.

2x Junction Box: Holds 3 way chocolate box to connect servo to arduino mounted underneath each servo.

2x Junction Box lid: Lid for the junction box.

2x Ear huggers: Goes over the ear and stays there!

2x Bar for ear Hugger: Goes on ear hugger as extra support to mount the sevo.

2x mount: sevo mount.

2x mount(1): servo mount.

2x Mask holder servo link: attaches to the sevo and moves the mask.

Wire Arduino and Servos to Work With PC

wiring.PNG

I got my Dad to help me solder some header pins. There is a wiring diagram up there.

Test Code.

Code.PNG

This code receives serial using the computer to send either the number 1 (mask up) or 0 (mask down)

Downloads

Wire a Button.

pushbutton.PNG

There is a wiring diagram but with a button.

DONE!

You're DONE! Well done for making it.

Watch My Finished Video.

I still need to edit it...

Improvements

I would definitely make it all in one instead of having a separate battery, arduino ect (all have it built in to one thing you wear). I would also add a ultrasonic sensor in place of a push button so you don't touch anything. However, overall, I think I did very well and am looking forward to a v2.