Tinkercad Circuits:一個腳位偵測多顆按鈕(Multiple Buttons with One Analog Pin)

Ping-Lun Liao
1 min readSep 24, 2018

--

本文要說明如何使用一個Arduino Analog Pin 來偵測多個按鈕(Push Buttons)的其中一顆按鈕是否有被按下。

材料(Materials):

  1. Arduino UNO R3 x 1
  2. Buzzer x 1
  3. 10K ohm Resistor x 4
  4. Pushbutton x 3
  5. 100 ohm Resistor x 1
  6. Small Breadboard x 1

電路(Circuit):

程式碼(The Code):

示範影片(Demo Video):

範例連結(Example Link):

https://www.tinkercad.com/things/cUy3ztLD8cy

Originally published at yunlinsong.blogspot.com on September 24, 2018.

--

--

No responses yet