Introduction: Soap Dispenser With Built in Timer

With the coronavirus outbreak, the best way to prevent yourself from getting infected is constantly washing your hand. But simply washing your hand isn't enough, it is equally important to wash your hand for a long enough period of time, so I have decided to adapt a Arduino soap dispenser timer.

因為現在疫情,勤洗手是件非常重要的事情,但是只有洗手是不夠的,洗手時間夠長才能夠有效的殺菌,因此我決定改良一個arduino洗手乳計時器

This project is adapted from this link: https://www.instructables.com/id/Timing-Soap-Dispe...

這個project是由這個網址改良的:https://www.instructables.com/id/Timing-Soap-Dispe...

How have it been changed? I've added a vibration motor so that when the timer is over it can make a pitch

如何改變?我在計時器結束時加了一個喇叭這樣計時結束時會發出一個聲音

Step 1: Prepare All the Materials Needed

For the function of the timer

1. Arduino x1

2. Breadboard x1

3. At least 15 jumper wires

4. LED light at any color of your choice x5

5. Resistors between 100 and 100 Ohms x5

6. 10k Resistor x1

7. Push Button x1

8. Vibration motor x1

9. Soap Dispenser

For decoration and better appearance

1. Cardboard box

2. Wrapping Paper

3. Glue/ Double sided tape

4. Scissors/ exacto knife

關於計時器的功能
1. Arduino x1

2. 麵包板x1

3. 至少15根線

4. 任意顏色的LED燈x5

5. 100至100歐姆之間的電阻

6. 10k電阻x1

7.按鈕x1

8. 喇叭x1

9.擠皂液器 x1

為了裝飾和更好的外觀

1. 紙箱

2.包裝紙

3. 膠水/雙面膠

4. 剪刀/美工刀

Step 2: Build the Circuit

Build the circuit according to the picture provided above

根據圖上的指示將電路接好

Step 3: Upload the Code

Upload this code: https://create.arduino.cc/editor/phoebe_lin/6c610...

將這個程式碼上傳:https://create.arduino.cc/editor/phoebe_lin/6c610d...

Test the circuit and see if it works

測試電路是否成功

If successful, it should have the effect shown in the video

若成功應該要有影片中的效果

Step 4: Decorate

Use a cardboard box and drill hole wherever needed to decorate the soap dispenser timer

拿一個紙箱並剪出需要洞的地方來裝飾此裝置

After that, use wrapping paper to cut and wrap the whole thing

之後,用包裝紙將整個裝置包起來

Step 5: Now You're Done!

You have made yourself a timer soap dispenser

你完成了!你現在做了一個有計時功能的洗手乳裝置