> For the complete documentation index, see [llms.txt](https://docs.petoi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.petoi.com/thai/arduino-ide/undefined.md).

# ซีเรียลมอนิเตอร์

### เชื่อมต่อ USB Adapter

เชื่อมต่อ USB Adapter เข้ากับเมนบอร์ดและเลือก serial port ที่ถูกต้อง โปรดดูส่วน [Connect NyBoard section](https://docs.petoi.com/communication-modules/usb-downloader-ch340c#connect-nyboard) เชื่อมต่อ NyBoard ในโมดูล USB Uploader สำหรับขั้นตอนเฉพาะ

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FY9vKnD6GFE9nTMuIi3FT%2FUSBserial.png?alt=media\&token=2b54de8b-e613-4cd1-b2c8-2fc31cddfd0e)

คุณสามารถเลือก "Serial Monitor" ในแถบเมนู "Tools" หรือคลิกปุ่ม  ![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FZB8Su9wLv9h3YWnKfif2%2Fimage.png?alt=media\&token=8d8a4127-f806-4c36-a58b-a9e97f919b4c) … เพื่อเปิดหน้าต่าง Serial Monitor:

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2F2Mwc2EiiXMEqVGEUuQPC%2FOpen%20serial%20monitor01.png?alt=media\&token=01938227-d5c1-41f1-aa41-652afb0990d6) ![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FBb1vi5XE1IXNgtJ55s0C%2FOpen%20serial%20monitor.png?alt=media\&token=19dbb676-963f-48c8-adc5-c6fa27d23011)

เปิด serial monitor และตั้งค่า baud rate บน **NyBoard V1\_\*** ให้ตั้งค่า " **No line ending** " และ **baud rate** เป็น **115200** ใน serial monitor<br>

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2F8PmvqY1nsWubCEfG7IJT%2Fmonitor.png?alt=media\&token=3f4c3151-aed7-4481-9894-4a0dd8a8a731)

### เชื่อมต่อ Bluetooth uploader (optional)

สำหรับขั้นตอนเฉพาะ โปรดดูที่ [Connect NyBoard section](https://docs.petoi.com/communication-modules/dual-mode-bluetooth#connection-with-nyboard) ใน Dual-Mode Bluetooth Module

จากนั้นคุณสามารถเลือก **Tools->Port** บน Arduino IDE และใช้งานในลักษณะเดียวกับ USB Adapter<br>

{% hint style="warning" %}
บน Mac บลูทูธอาจขาดการเชื่อมต่อหลังจากอัปโหลดหลายครั้ง ในกรณีดังกล่าว ให้ลบการเชื่อมต่อและเชื่อมต่อใหม่เพื่อให้ฟังก์ชันทำงานต่อ
{% endhint %}

{% hint style="warning" %}
หาก Bluetooth dongle ไม่เจออยู่ในชุดหุ่นยนต์โดย  Seeed Studio หรือ partner ของเราโปรดส่งอีเมลถึง <support@petoi.com> เพื่อทราบข้อมูลเพิ่มเติม
{% endhint %}

ด้วย USB adapter / Bluetooth module ที่เชื่อมต่อ NyBoard และ Arduino IDE คุณจะมีอินเทอร์เฟซที่ดีที่สุด - Serial Monitor เพื่อสื่อสารกับ NyBoard และเปลี่ยนทุก byte บนนั้น (ผ่านการส่ง serial commands ตาม [serial protocol](https://app.gitbook.com/o/-M-_eWZUjFA4usjshHcZ/s/-MQ6a951Q6Jn1Zzt5Ajr-887967055/~/changes/DHad2hALnPq88oSLEuF1/serial-protocol)).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.petoi.com/thai/arduino-ide/undefined.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
