Intel® Galileo 主機板的 AnalogInOutSerial 範例

文件

安裝與設定

000006458

2020 年 02 月 13 日

此範例使用 potentiometer 作為輸入/輸出裝置來控制指示燈的亮度。我們使用了 Arduino * IDE 1.5.3 範例所提供的代碼。

硬體

  • Intel® Galileo 主機板
  • Breadboard
  • Potentiometer
  • 纜線
  • 一個指示燈

有關

  1. 使用兩條電線,進行下列 breadboard 至 Intel Galileo 板連接:
     
    BreadboardIntel® Galileo 主機板
    正停車帶5 V
    負條GND

  2. 使用 potentiometer 和 LED,進行下列連接:
     
    BreadboardIntel Galileo 主機板Potentiometer主導
     針腳9 正面支線
    負條  消極支線
    負條 Pin 1 
     SpPin 2 
    正停車帶 Pin 3 

  3. 將電源供應和 USB 連接至 Intel Galileo 主機板上的 USB 用戶端埠。
  4. 開啟ARDUINO IDE
  5. 按一下工具 ≫ 主機板,然後選取Intel Galileo
  6. 按一下「工具」 ≫ 序列埠,然後選取 Intel Galileo 主機板所連接的Com #
  7. 按一下檔案> 第 3 > 的範例,然後選擇AnalogInOutSerial
  8. 按一下「上傳」圖示

開路
circuit


會議這幅影像是使用Fritzing* 製作。