Motion Sensor Automatic Sanitizer Dispenser

by njegokir25 in Workshop > 3D Printing

137 Views, 3 Favorites, 0 Comments

Motion Sensor Automatic Sanitizer Dispenser

IMG_6458.jpeg

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

IMG_0130.jpeg
IMG_6435.jpeg
IMG_6437.jpeg
IMG_6439.jpeg
IMG_6440.jpeg
IMG_6442.jpeg
IMG_6441.jpeg
IMG_0294.jpeg
IMG_0291.jpeg
IMG_0290.jpeg
IMG_6448.jpeg
FRT31ADK9N90CD5.jpg
IMG_6461.jpeg

IMG_6442.jpeg
IMG_0294.jpeg
IMG_0291.jpeg
IMG_0290.jpeg
IMG_6449.jpeg
IMG_6448.jpeg
IMG_0292.jpeg
IMG_6460.jpeg
IMG_6459.jpeg
  1. Plug the wiring into the bread board like as shown in the image
  2. plug in the motion sensor into the four holes shown
  3. have the arduino app open and apply the code
  4. Connect the red wire to your breadboard and test the code to see if the sensor moves
  5. once you have perfected the code with no errors send the signal to the sensor to see if it functions correctly
  6. measure the circular top of the sanitizer bottle and apply those measurements to your 3d model
  7. login to a tinkercad account and build a block and cut a half circle through it so it can fit over the bottle
  8. 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
  9. cut out two triangle shapes from front side bottom for easy placement onto the bottle
  10. Make a small square to glue your sensor to the backside for a cleaner design
  11. print to 3d printer
  12. get bottle and place big square onto top.
  13. hot glue a stretchy wire to nozzle and connect to servo which you should glue to back.
  14. plug red wire in and the sanitizer should dispense by the servo turning if done correctly (personally still a work in progress)