Motion Sensor Automatic Sanitizer Dispenser
by njegokir25 in Workshop > 3D Printing
179 Views, 3 Favorites, 0 Comments
Motion Sensor Automatic Sanitizer Dispenser
I built a motion-sensored automatic hand sanitizer dispenser using a 3D printer and coding to combines and practicality and an easily functioning device. Why I built this device was wanting to create something that could be used in a classroom or professional setting that is especially needed in stopping the spread of germs within public spaces. (I also thought of the idea that because if the pandemic the usage of automatic hand sanitizer dispensers has been increasing) I used a 3D printer to customize my design, ensuring an efficient dispenser. I found multiple instuctables examples and used them all do change and develop my own project.I also liked the idea that using 3d printing is also a sustainable solution because it reduces waste compared to traditional methods, which promotes a design that can be reused on multiple bottles. The motion sensor that I installed promotes a hygienic and touch-free process. This was one of my first experiences coding something through arduino and doing this enabled programmable features, such as the amount of pressure applied to the nozzle. It did take multiple tries to find a fitting 3d printed gripper and many trials and tribulations of finding a code that worked. The actual function of the code I used and wiring are still a work in progress and the bottle seems to need more pressure to function better. Finding correct measurement was also challenging but with the help of my teacher I can see that this dispenser can function correctly and efficiently if tweaked more and if I had more time to analyze the mistakes made I think this would definitely work better.
Supplies
- computer with Arduino uno app
- breadboard
- Small servo
- 10-12 wires
- motion sensor
- FDM 3d printer
- polar cloud website for printing
- adaptable ruler
- hot glue gun for attachment
- Filled hand sanitizer bottle
- stretchy wire for the nozzle to connect to servo
- A to B Arduino cable
- Wiring link- https://www.tinkercad.com/things/9wNftZ8JJxL-arduino-smart-ultrasonic-sanitizer-
- Code and example photos and stepshttps://www.instructables.com/ARDUINO-SANITIZER-DISPENSERTinker-CAD/
- Plug the wiring into the bread board like as shown in the image
- plug in the motion sensor into the four holes shown
- have the arduino app open and apply the code
- Connect the red wire to your breadboard and test the code to see if the sensor moves
- once you have perfected the code with no errors send the signal to the sensor to see if it functions correctly
- measure the circular top of the sanitizer bottle and apply those measurements to your 3d model
- login to a tinkercad account and build a block and cut a half circle through it so it can fit over the bottle
- then place a risen half circle on top of the structure to create a gripper for the top nozzle make sure the lines of the half circles match up
- cut out two triangle shapes from front side bottom for easy placement onto the bottle
- Make a small square to glue your sensor to the backside for a cleaner design
- print to 3d printer
- get bottle and place big square onto top.
- hot glue a stretchy wire to nozzle and connect to servo which you should glue to back.
- plug red wire in and the sanitizer should dispense by the servo turning if done correctly (personally still a work in progress)