Don't Sleep, Let's Get Some Candy!
by 9mmmmm in Circuits > Arduino
185 Views, 2 Favorites, 0 Comments
Don't Sleep, Let's Get Some Candy!
嗨,我來自台灣,今年13歲,英語不太好。請原諒我。
說明:此設備可用於報告和閱讀。將其放在前面,使用超聲波傳感器檢測距離,並確定您是否放置著(睡覺)。如果是這樣,則蜂鳴器將啟動並發出令人不愉快的聲音,減少睡眠感,並放下檸檬薄荷以刷新您的心情(在開始閱讀之前,在電機前放一個糖果),該設備還添加了一個留言板,您可以編寫提醒(例如:取出鑰匙)
Supplies
紙箱,水桶,裝飾品,超聲波傳感器,蜂鳴器,伺服電機,糖果,電線,Ardunio板。
Box
1. Choose the right box.
Install the Device
2. Install the ultrasonic sensor, buzzer, and connect the servo motor wire.
Install the Device
3. Adjust the position of the sensor to measure the approximate distance while sleeping.
When Sleeping and Reading
Whether the test distance is accurate.(The photo shows the distance to the ultrasonic sensor when reading and sleeping.)
Program
4.Write the sensor and buzzer first.
Implementation
5.Actual implementation (result: the sensor was originally behind, and finally moved to the front).
Fixed
6.Fix the upper layer of the box.
Install the Motor
7.Add the servo motor program and find a suitable servo motor position.
Try to Push the Candy With a Motor
8. Adjust the cardboard on the motor that assists in the fall of the candy, and actually test whether the candy can fall.
Decoration
9.Decorative outer box(my idol).
Finish
10.Finally finish!