> For the complete documentation index, see [llms.txt](https://cavedu.gitbook.io/linkit-7697/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavedu.gitbook.io/linkit-7697/linkit-7697-arduinoide.md).

# LinkIt 7697 - Arduino IDE 開發指南

介紹 Arduino IDE 環境下使用 LinkIt 7697 開發板的操作說明、以及程式開發等相關資訊。

### 什麼是 LinkIt 7697？ <a href="#linkit7697developmentguideforarduinoide-shen-me-shi-linkit7697" id="linkit7697developmentguideforarduinoide-shen-me-shi-linkit7697"></a>

{% hint style="success" %}
LinkIt 7697 是基於[聯發科技 MT7697 SOC](https://labs.mediatek.com/zh-tw/chipset/MT7697) 的開發板，提供了 Wi-Fi 以及 Bluetooth Low Energy (BLE) 的無線通訊功能。

![](https://3972650740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY4gduUSLWOCI23CXUWej%2Fuploads%2FSIFrKLvNFcLll1rHgzK3%2F7697_top_720?alt=media)
{% endhint %}

### 開發環境 <a href="#linkit7697developmentguideforarduinoide-kai-fa-huan-jing" id="linkit7697developmentguideforarduinoide-kai-fa-huan-jing"></a>

LinkIt 7697 可使用下列兩種軟體開發環境：

**Arduino IDE**

透過 [Arduino IDE](https://www.arduino.cc/) 裡的 Boards Manager 安裝對應的 board package。藉由這個方式開發者可以在 LinkIt 7697 上沿用 (或小幅修改) 既有的 Arduino sketches 以及周邊驅動程式，並使用 LinkIt 7967 內建的 Wi-Fi 以及 BLE 通訊功能。

關於使用 Arduino IDE 的流程及開發方法，請參考[設定 Arduino IDE 環境](/linkit-7697/linkit-7697-arduinoide/huan-jing-she-ding.md)的說明。

**LinkIt SDK for RTOS**

開發者也可以使用 LinkIt SDK for RTOS，搭配 GCC 及對應的燒錄工具，進行 MT7697 原生程式的開發。

LinkIt SDK 提供對 IAR Embedded Workbench 以及 Keil µVision IDE 的支援。使用時需搭配如 J-Link 等 HW debugger 透過 SWD 介面與開發板連接。

LinkIt SDK v4.3 (及之後版本) 開始提供對 LinkIt 7697 的支援。關於使用 LinkIt SDK 的流程及開發方法，請參考 [MT7697 開發資源](https://labs.mediatek.com/api/mt7697/index-2.html)頁面。

### 技術規格 <a href="#linkit7697developmentguideforarduinoide-ji-shu-gui-ge" id="linkit7697developmentguideforarduinoide-ji-shu-gui-ge"></a>

|             |                                                                                                                                                                                                                                     |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 開發板名稱       | LinkIt 7697                                                                                                                                                                                                                         |
| 製造商         | [Seeed Studio](https://www.seeedstudio.com/)                                                                                                                                                                                        |
| 模組          | Wrtnode7 by wrtnode                                                                                                                                                                                                                 |
| 主晶片         | <p><a href="https://labs.mediatek.com/zh-tw/chipset/MT7697.html">MT7697</a> <br>Cortex-M4 with FPU at 192MHz</p>                                                                                                                    |
| RAM         | 352 KB                                                                                                                                                                                                                              |
| Flash       | 4 MB                                                                                                                                                                                                                                |
| Wi-Fi       | 802.11 b/g/n (2.4G)                                                                                                                                                                                                                 |
| Bluetooth   | 4.2 LE                                                                                                                                                                                                                              |
| 尺寸          | 48x26 mm                                                                                                                                                                                                                            |
| 晶片工作電壓      | 3V3                                                                                                                                                                                                                                 |
| 開發板輸入電壓     | 5V (micro-USB)                                                                                                                                                                                                                      |
| USB-to-UART | [CP2102N](http://www.silabs.com/products/interface/usb-bridges/usbxpress-usb-bridges)                                                                                                                                               |
| 周邊介面        | <p>GPIO x 18 <br>UART x 2 <br>I2C x 1 <br>SPI x 1<br>PWM x 18<br>EINT x 4<br>ADC x 4 (0\~2.5V)<br>IrDA x 1<br>I2S x 1</p>                                                                                                           |
| Debug 介面    | SWD x 1                                                                                                                                                                                                                             |
| 支援開發環境      | <p><a href="https://labs.mediatek.com/api/mt7697/index-2.html">LinkIt SDK</a><br><a href="https://cavedu.gitbook.io/linkit-7697/LinkIt-7697-ArduinoIDE/huan-jing-she-ding/she-ding-arduino-ide">Arduino for LinkIt 7697</a><br></p> |

### 開發板腳位圖 <a href="#linkit7697developmentguideforarduinoide-kai-fa-ban-jiao-wei-tu" id="linkit7697developmentguideforarduinoide-kai-fa-ban-jiao-wei-tu"></a>

![](https://3972650740-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY4gduUSLWOCI23CXUWej%2Fuploads%2FvbcSSb9H6N4HZdXx37Te%2F7697_pinout?alt=media)

[下載 PDF ](https://www.dropbox.com/s/1e7hovcei5a9zs1/7697_pin-out_diagram.pdf?dl=0)<br>
