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!

Ardunio
Arduino

嗨,我來自台灣,今年13歲,英語不太好。請原諒我。

說明:此設備可用於報告和閱讀。將其放在前面,使用超聲波傳感器檢測距離,並確定您是否放置著(睡覺)。如果是這樣,則蜂鳴器將啟動並發出令人不愉快的聲音,減少睡眠感,並放下檸檬薄荷以刷新您的心情(在開始閱讀之前,在電機前放一個糖果),該設備還添加了一個留言板,您可以編寫提醒(例如:取出鑰匙)

Supplies

紙箱,水桶,裝飾品,超聲波傳感器,蜂鳴器,伺服電機,糖果,電線,Ardunio板。

Box

111052193_2664362560495487_2473370189968645532_n.jpg

1. Choose the right box.

Install the Device

110083755_221476042385842_5506820357234001888_n.jpg

2. Install the ultrasonic sensor, buzzer, and connect the servo motor wire.

Install the Device

110160403_3049656265083072_8643022185792869986_n.jpg

3. Adjust the position of the sensor to measure the approximate distance while sleeping.

When Sleeping and Reading

110171920_212781533367695_7519627195896209346_n.jpg
112915248_318204695965631_4546968722682359335_n.jpg
實際操作

Whether the test distance is accurate.(The photo shows the distance to the ultrasonic sensor when reading and sleeping.)

Program

109471905_875292419630122_7615246961429649750_n.jpg

4.Write the sensor and buzzer first.

Implementation

115867315_983166848802780_9044472229260016320_n.jpg
116091027_933238633840715_8430009488309779527_n.jpg

5.Actual implementation (result: the sensor was originally behind, and finally moved to the front).

Fixed

110131889_314554939593962_6538292991463505561_n.jpg

6.Fix the upper layer of the box.

Install the Motor

110138323_287035099228369_6416594797690767155_n.jpg

7.Add the servo motor program and find a suitable servo motor position.

Try to Push the Candy With a Motor

110174106_1787753711367469_6388743911617139993_n.jpg

8. Adjust the cardboard on the motor that assists in the fall of the candy, and actually test whether the candy can fall.

Decoration

115710083_930518770779386_1956095141573335419_n.jpg
115860434_977319572714548_8460073320435127663_n.jpg
115936730_745067366246108_4056443166491368807_n.jpg

9.Decorative outer box(my idol).

Finish

109650353_2876103532512870_7629955613806491324_n.jpg

10.Finally finish!