若您覺得文章寫得不錯,請點選文章上的廣告,來支持小編,謝謝。
If you like this post, please click the ads on the blog or buy me a coffee. Thank you very much.
炎炎夏日,不想手動調整電風扇,那就自己做個智慧型的風扇吧!只要用溫度感測器以及控制馬達的電子材料就可以完成隨著溫度變化自動調整風扇速度的「智慧風扇」了。
Do you want a smart electric fan? Let's try to build one with Arduino!
材料(Materials):Do you want a smart electric fan? Let's try to build one with Arduino!
- Arduino UNO R3 板子 x 1
- 麵包板 Breadboard small x1
- 直流馬達 DC motor x1
- 溫度感測器 Temperature sensor x1
- 杜邦線 jumper wire x 11
- nMOS Transistor(MOSFET) x1
- 10K歐姆電阻 x1
電路(Circuit):
The temperature sensor Vout pin is connected to arduino pin A3.
The MOSFET gate pin is connected to arduino pin 6.
程式碼(The Code):
示範影片(Demo Video):
範例連結(Example Link):
https://www.tinkercad.com/things/4GAVQvmKai0