Project Development
Our chemical device is a self disinfecting door handle. It is a handle in which after a user holds it, the UV light in the handle will disinfect the handle so that the handle is free of germs so that the next user will not be able to receive any virus from others by touching the door handle. This is our documentation of how we came up we created it.
Australia’s national science agency, CSIRO, reported that COVID on surfaces can last up to 28 days on smooth surfaces at room temperature, such as door knobs. There are more than 400 mill infected and up to 6 million dead. Using the self disinfecting door handle, we would like to minimise the spread of COVID, and since door handles are one of the most commonly touched surfaces, disinfecting them seems like a good idea.
2. Team Planning, allocation, and execution
Planned Gantt chart:
Due to our increased workload and some scheduling issues, we had to push back some of our tasks.
Actual Gantt chart:
3. Design and Build Process
In this section, provide documentation of the design and build process.
Part 1. Sketching (done by Adam). Link to Adam's blog
1. Initial Design Ideas (Sketching)
The two above were our initial design idea. The idea is that the UV light tube will be inside a UV transparent acrylic with proximity and motion sensors at the ends of the handle. The idea was not feasible however, as we couldn't have an actual UV light bulb. The acrylic tube was also troublesome as we could only purchase flat sheets off the internet that needs to heat-bend in order to be a cylinder. We couldn't heat-bend it at FabLab as we have not yet gone through proper training.
We devised a new more practical design which involved an aluminium mirror to reflect the UV rays to both sides of the handle.
We did not follow through with the design above but combined the concept of all the designs we came up with. Which results in our actual design:
We decided to utilize a shorter transparent handle than the previous designs to cater to UV light bulbs instead of a tube. This way, our handle is much more compact, demanding less cost to produce.
Part 2. Designing (done by Gwyn). Link Gwyn's blog
We wanted to make a handle that was cylindrical but we were unable to do so using the transparent acrylic sheet so we used 3D printing to create a mock-up of how the design will look like.
First I created the design in Fusion 360
Then I had to separate the parts to print. To make the print faster and more stable, I elected to print the handle in 2 parts, top and bottom by splitting the design.
I then saved it as an stl file and exported it to cura and then saved it as a gcode file, with these settings:
Hero Shot for Design.
Part 3. Coding (done by me and Gwyn).
For our door handle, we wanted the UV light to be off, on default. When a person approached the handle, we wanted the handle to recognise the presence of a person, and turn on to sterilize the handle for the next use. Due to safety concerns with the exposure to UV light, it would wait for 1 minute for the person to have left the vicinity of the handle, and then turn on for 2-3 minutes since for a UV lamp held within 1 inch above a petri dish grown with E. coli, it will only take 1-2 min to show a complete sterilization. After which the UV light would turn off again. Due to safety, we could not use a UV lamp, so we substituted it with a LED bulb.
First, I had to figure out how the ultrasonic sensor worked.
Gwyn started the code by researching what the 4 pins in the proximity sensor were. Then the connections.
The trigpin is the output because it produces the sound waves while the echopin is the input since it receives the soundwaves. The a “pulseIn” command is used to repeated detect the soundwaves.
It all starts, when a pulse of at least 10 µS (10 microseconds) in duration is applied to the Trigger pin. In response to that the sensor transmits a sonic burst of eight pulses at 40 KHz. This 8-pulse pattern makes the “ultrasonic signature” from the device unique, allowing the receiver to differentiate the transmitted pattern from the ambient ultrasonic noise.
The eight ultrasonic pulses travel through the air away from the transmitter. Meanwhile the Echo pin goes HIGH to start forming the beginning of the echo-back signal. In case, If those pulses are not reflected back then the Echo signal will timeout after 38 mS (38 milliseconds) and return low. Thus a 38 mS pulse indicates no obstruction within the range of the sensor.
If those pulses are reflected back the Echo pin goes low as soon as the signal is received. This produces a pulse whose width varies between 150 µS to 25 mS, depending upon the time it took for the signal to be received.
To calculate the distance of the object detected, first divide the pulse by 2 since the time taken for the pulse to be received would be when it travelled from the sensor to the object and was reflected back, so it did twice the distance. After which to convert the distance to cm, divide the result by 29.1 since the speed of sound is 343 metres per second, or 29.1 microseconds per centimeter. That is how we get the distance.
This is the code:
#define trigPin 6 //Define the HC-SE04 triger on pin 6 on the arduino
#define echoPin 5 //Define the HC-SE04 echo on pin 5 on the arduino
#define bulb 13 //Define the relay signal on pin 9 on the arduino
void setup()
{
Serial.begin (9600); //Start the serial monitor
pinMode(trigPin, OUTPUT); //set the trigpin to output
pinMode(echoPin, INPUT); //set the echopin to input
pinMode (bulb, OUTPUT); //set the bulb on pin 13 to output
}
void loop()
{
int duration, distance; //Define two intregers duration and distance to be used to save data
digitalWrite(trigPin, HIGH); //write a digital high to the trigpin to send out the pulse
delayMicroseconds(500); //wait half a millisecond
digitalWrite(trigPin, LOW); //turn off the trigpin
duration = pulseIn(echoPin, HIGH); //measure the time using pulsein when the echo receives a signal set it to high
distance = (duration/2) / 29.1; //distance is the duration devided by 2 becasue the signal traveled from the trigpin then back to the echo pin, then divide by 29.1 to convert to centimeters
if (distance < 13) //if the distance is less than 13 CM
{
Light(); //execute the Light subroutine below
}
Serial.print(distance); //Dispaly the distance on the serial monitor
Serial.println(" CM"); //in centimeters
delay(500); //delay half a second
}
void Light() //Start the Light subroutine
{ digitalWrite(bulb, LOW); //turn off the light
delay (10000); //wait 15 seconds
digitalWrite(bulb, HIGH); //turn on the light
delay (20000); //wait 20 seconds
digitalWrite(bulb, LOW); //turn off the light
}
For the sensor distance, the reason why we chose 13cm was because through our research and testing, if we put a distance like for example 5cm, there was a chance that the sensor would not be able to detect the presence, and the LED bulb would not turn on. So 13cm was above the inaccuracy range, and through testing, it also was very accurate and did not fail to sense our presence using a hand in the stated distance of 13cm.
Here is a video during the testing phase, I had the LED be default on to ensure that the sensor was detecting my palm before switching off
Part 4. Laser cutting and 3D printing(done by Gwyn, Darren and Adam). Link to Darren's blog
Part 5. Integration of all parts and electronics (done by Adam, Darren and Gideon)
4. Problems and solutions
We had 2 main problems:
1. We had trouble getting some of the materials such as getting an acrylic cylinder which resulted in us having to change the design again. Initially, the plan was for me to create a holder of sorts to just attach the cylinder to the wall but then we had to adapt. I changed it to 2 possible designs where the handle was to be round or a square. We ended up going with the second design since we could not 3D print a transparent version of the cylindrical handle.
2. Another problem was the lack of time when using the machines. A lot of teams wanted to use the same machines: 3D printers or laser cutters. I think that our group was lucky in that we were able to get slots for the 3D printer early. This gave us some lee-way in case something were to go wrong, we could still come back to print again. For the laser cutter, we did have to come back at a later date. Initially, our teammates booked in the Fab lab to bend the acrylic but when that did not work well, we switched to the rectangular model and booked another slot. However, the machine was down and so we had to return again. I think our team was able to overcome this challenge of limited slots by starting early and adapting when things go wrong.
5. Project Design Files as downloadable files
Comments
Post a Comment