My project is a touchless Automatic dispenser for sanitizer hand gel or liquid soap.
I make this project to fight Corona virus and reduce the risk of infection with that danger virus and with any other virus or bacteria that can transmitted through the contact between the people and the surfaces.
and I inspired by this project from the video that I attached here
*when I searched about this Idea I found three main concepts
the first one use Servo Motor with a wire or with A simple gear box
*the second Idea is by pump inside the bottle or container
*The third on is like that using Stepper motor
I see the third one is better than the other two because it is has more torque to bush on the bottle and it is more efficiency
and also one of my reason to select this concept it is related to the Z-axis on the CNC or some 3d printers
and i want to practice on this subject and make a useful things in my life
also I see the others who make this idea not make it perfect and I wish to be better than them ISA.
The project work by two ways (as you can see in the videos)
The first way is just through putting your hand under the nozzle of the bottle and the sensor(ultra sonic sensor) dedicate your hand then send signal to the motor to move and bush the nozzle to get a bit of (sanitizer/soap) gel
The second way is by clicking on the red bush button that send order to motor to bush the nozzle of the bottle to get a bit of (sanitizer/soap) gel
I worked in many different programs to finalize this project and to make the idea is real between or hand and the first program is Fusion 360
I was used it for make the design (CAD) I make the sketches then I make the extrude and other process for each part as it need to reach the best image of my imagination about it and also it is depended on measurements for component like Stepper motor and its driver and where I well put them in the project and I used GrabCad.com
to get the designs for this parts (Arduino Uno-Stepper motor-driver A4988-Ultra sonic sensor-on/off switch -lead screw and its nut-linear bearings-coupling )
I was make a sketches for all parts separately in a new tab and I go in a Base part and I insert all of them and make a projections for some and joint each part with the related part and bulled the design as I want and here a Video for the sequence
Also I was used a
makercase.com
to make a boxes as a cover for wiring and electronic component in back of the design and as a holder for the bottle of soap or sanitizer
After I finished my CAD design on Fusion 360 I export two types of files for fabrications
The First one it was with extension STL and that for 3D printed parts (4 Parts)
and I was toke it to Prusa Slicer to print it on the 3D printer M/c (Prusa i3MK2S) that was in the Fab lab
after I put the parts on the program I change the print settings to 3.5mm & infill to 15% then I click on Slice now to knw how much Grams and time they will toke and they toke as in the picture around 3 hours & half and 66 Gram of filament then I click on Export G-code and the program gives me another file it was have the coordination for the m/c I put it on SD card with the m/c and I make the configurations for it like preheated the nozzle and the bed then select my file from the SD card to print it
and for the material I chose the black PLA filament
the second files was with extension DXF and this extension is for the cutting parts on the laser cutter M/c and my design was needed to cut 14 parts
I toke them on program called Laser Work V6
by Importing them file by file and alline between them and make sure that each part is inside the working area boundary then I select all the parts and chose one color then go to the cut settings on the top right and make sure that is a cut not scan or something else then select Max power 65% and speed 22 or 23m/s
and this sittings and values because I used a 3mm thickness plywood
In my project I used :
Arduino Uno as a controller
Stepper motor as an output
ultra sonic sensor as input
Pushbutton as input
On/off switch
9v adaptor as a power source
Data cable for uploading code to the Arduino and also as source of power for Arduino
Stepper motor driver A4988 With its expansion board
Mini bread board
Jumpers
Connector for power cable
I was wire between them like in the schematic in the picture
and I cant't used tinker cad for wiring or simulation because it didn't have stepper motor or its driver
I used Arduino IDE for compiling the code and here it is like in the photos here and the code is in GP folder inside Assets
The device work when the user but his/her hand under the sensor to get the liquid from the bottle or he/she can use the device by clicking on the bush button on the left
I used the:
9v adaptor as a power source for motor and its driver after I added a connector for it in the design body
data cable for uploading code to the Arduino and also as source of power for Arduino
also I can use a 6V adaptor to feed the Arduino by power
I made an on/off switch to reduce consumption and to save the component in the emergency cases
1
*First I define the pins that I wire the sensor (11 for Triger "as output" & 10 for echo as input")
*then define the pins between Arduino and stepper driver (13 for step pin & 12 for direction pin "the both are output" )
*and I define pin 2 as a push button will pull up later
3
This part is a condition that say if any opestcale pass in front of the ultra sonic sensor make the motor work and make the linear motion is down to push on the soap/sanitizer bottle
then
the device will stop for 1 Sec
then it will go up again to the same level/position it was on it before the sensor sense any thing
2
The second part is for configuration the Ultra sonic sensor and that part is related to the relation below
4
It is the same code as in a part 3 but here it toke its signal from the push button on pin 2 when it read the low signal (connected to Gnd) it the motor will work to make the linear motion go down and make the plate push on the sanitizer/soap bottle
Then
the device will stop for 1 Sec
then it will go up again to the same level/position it was on it before the user push the button again