> 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) 的無線通訊功能。

![](/files/KnweJh7TDCNRH1VYOBBc)
{% 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>

![](/files/d2bv4ARYa3naZ8UzlCtg)

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cavedu.gitbook.io/linkit-7697/linkit-7697-arduinoide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
