若您覺得文章寫得不錯,請點選文章上的廣告,來支持小編,謝謝。
If you like this post, please click the ads on the blog or buy me a coffee. Thank you very much.This article modifies this blog post:"Tinkercad Circuits:Ultrasonic 自動照明" to simulate a parking sensor.
材料(Materials):
- Arduino UNO R3 板子 x 1
- 距離感測器模組 Ultrasonic x 1
- 燈泡 light bulb x 1
- 杜邦線 jumper wire x 7
- 壓電式蜂鳴器 Piezo x 1
電路(Circuit):
The ultrasonic SIG pin is connected to arduino pin 12.
The Piezo positive pin is connected to arduino pin 10.
One of the light bulb is connected to arduino pin 5.
程式碼(The Code):
示範影片(Demo Video):
範例連結(Example Link):
https://www.tinkercad.com/things/1ueL7ExE7Ue
The ultrasonic SIG pin is connected to arduino pin 12.
The Piezo positive pin is connected to arduino pin 10.
One of the light bulb is connected to arduino pin 5.
程式碼(The Code):
示範影片(Demo Video):
範例連結(Example Link):
https://www.tinkercad.com/things/1ueL7ExE7Ue
沒有留言:
張貼留言