Colorful Sensor
嗨,我是台灣的一名小學生。我之所以這樣做是因為我在課堂上需要它。
首先,首先將LED燈泡連接到D9,D10,D11,D12的插頭,然後連接光敏電阻(A0)和揚聲器(D13)以完成佈線。
BASE
如果您還沒有閱讀介紹,請去看一下,這是第一步。
第二:將不必要的紙箱切成三角形(更堅固),並在其上放置電路板,以便可以將它們粘貼在牆上。
CODE
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
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
最後,在上面放包裝紙或畫一幅畫,使您的作品更具藝術感。