Mask Reminder
In this global pandemic, people are afraid of getting infected by the coronavirus. Therefore, masks are required for everyday life now. As the pandemic lasts for over a year, and the pandemic is not as serious as it occurred a year ago. Even though students still need to wear masks when going to school, but we will sometimes forget to bring masks to school. It would be troublesome because you either can't go inside the school or you need to borrow other's masks. So to solve this problem, I create this project to remind you to bring a mask when going to school. The Arduino will be put in the entryway, and there will be an ultrasonic sensor on the breadboard. When you are going out, it will detect you and make the LED start to light. The LED has 5 different colors because it will be too boring if I just do red, so I add some creativity. It could also be used in different situations. Not only reminding you to bring masks. Every time you go out and it starts to shine, you can think about what you forgot to bring.
Supplies
1 Arduino
1 Breadboard
9 LED Lights with different colors ( I use each 2 red, green, yellow, and green. And a white LED Light)
9 Brown resistors
Jumper Wires
1 Ultrasonic sensor
1 Shoebox (Or a piece of material like cardboard or polystyrene)
1 Utility knife
Put on the LED Lights
You can adjust the color and the amounts of the lights in the way you like, just have a gap between each light.
Put on the Resistor
Put the resistor on the same column as the right leg of the lights, and the other leg of the resistor goes to the negative. Do that for all the lights.
Put on the Wires
- Take two wires. Put the first one into positive and 5V. Put the second one into negative and GND
- Take a wire, put it into the same column as the right leg of the LED light, and the other leg goes to D13
- Repeat this step for all the lights, but change D13 to D12, D11, D10, and so on.
Put on the Ultrasonic Sensor
- Put the Ultrasonic sensor on the board
- Take 4 wires.
- For the first one, put it in VCC and positive
- For the second one, put it in Trig and D4
- For the third one, put it in Echo and D3
- For the last one, put it in GND and negative
For a better understanding, you can just memorize the first one is positive, the second one and the third one go to D3 and D4, and the last one is negative.
Make a Box to Put the Arduino In
- Find a shoebox, cardboard, or a piece of material
- Cut a hole for the LED lights, a hole for the ultrasonic sensor, and a hole for the plug, by using a utility knife
- After that, put the Arduino in