Covid-19 Health Kit
As COVID-19 continues to appear as a challenging crisis in 2021, the importance of masks and alcohol has once more been emphasized. Therefore, I created a COVID-19 kit, where I separated a box into two smaller storages, one to store masks and one to put alcohol. This project operates Arduino Leonardo, containing two buttons and two servo motors. When you press the button of the “mask” section, the cover will open for people to take masks. On the other hand, if you press the button of the “alcohol” section, then the cover of that storage will open.
Supplies
Buttons x2
Servo Motor x2
10k Ohm Resistor (Blue) x2
Pen x2
Paper Tape
Jump Wire x18
Breadboard x1
Arduino Leonardo x1
Additional Information:
I got all my supplies from this website: https://chosentech.info/
Tie the Pens on the Servo Motors
Place the pen vertically, aligning with the servo motor. Then cut two pieces of paper tape (about the length that can wrap the pen and the servo motor once), and wrap the pen and the servo motor as shown above. Repeat the step for the other servo motor too.
Connect All the Wires
Connect all the components to the breadboard. Check the circuit diagram provided for the positions of each component. Button 1 should be connected to D4, button 2 to D7, servo motor 1 to D10, and servo motor 2 to D11.
Coding
https://create.arduino.cc/editor/bettyyyyyy/a42e26...
This is the code for this design. The code instructs if button 1 is pressed, then servo motor 1 will be activated, which opens the cover for the section. On the other hand, if button 2 is pressed, then servo motor 2 will open the cover of the other section. Annotations for each part of the code are also provided on the code.
Make a Cover for the Kit (Optional)
To make a cover for your design, you will need a medium size shoe box. First, cut the cover of the shoebox into half, making the two covers to work separately. Next, place a piece of cardboard (same height and width as your shoebox) into the box to form two separate storage areas. Afterwards, turn your shoebox to the back and cut two 6x2 rectangles on each side as shown above. The cut areas are about the same size as the servo motors, which allowing the motors to be placed. Place the buttons and the motors in corresponding areas and you are done! If you want to hide your circuits, then you can place a bag behind the box to put the whole circuit board inside.