Colorful Sensor

by owenchen961003 in Circuits > Arduino

198 Views, 2 Favorites, 0 Comments

Colorful Sensor

IMG_20200723_112655.jpg
Colorful sencor

嗨,我是台灣的一名小學生。我之所以這樣做是因為我在課堂上需要它。


首先,首先將LED燈泡連接到D9,D10,D11,D12的插頭,然後連接光敏電阻(A0)和揚聲器(D13)以完成佈線。

BASE

1595485969537.jpg

如果您還沒有閱讀介紹,請去看一下,這是第一步。

第二:將不必要的紙箱切成三角形(更堅固),並在其上放置電路板,以便可以將它們粘貼在牆上。

CODE

IMG_20200724_091048.jpg
IMG_20200724_091057.jpg

After connecting the circuit, you can write the program! When the light is less than or equal to 900, the light will be illuminated and the horn will sound, so that you can know that someone is coming, and will not be frightened by being too focused.

Pack

1595485945520.jpg

After confirming that the program is okay, you can pack it. Remember to hide the circuit inside to increase the beauty and prevent insects and increase the life of the circuit board.

Decorate

1.jpg
2.jpg
4.jpg
3.jpg

最後,在上面放包裝紙或畫一幅畫,使您的作品更具藝術感。