> For the complete documentation index, see [llms.txt](https://omorobot.gitbook.io/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://omorobot.gitbook.io/manual/product/omo-r1mini/esp12/undefined-1.md).

# ESP12와 PC의 연결

## 아두이노와 최초 연결

먼저 [아두이노 공식 사이트](https://www.arduino.cc/)에서 아두이노를 다운로드 받아서 실행합니다.

![](/files/-MP2NrUSrdLhdIPJnvde)

Preferences를 열고, 아래 그림에서 추가적인 보드 매니저 URLs의 표시된 부분을 클릭한 다음

![](/files/-MP2OfaGZL5NhWV_9Z6s)

json 파일의 경로를 아래 그림처럼 추가합니다.

```
http://arduino.esp8266.com/stable/package_esp8266com_index.json
```

![](/files/-MP2OZTkWd4Aiyo5rNZ-)

이제 보드 매니저를 엽니다.

![](/files/-MP2PJnHITYw4umHNhmR)

esp8266을 검색한 다음 설치해줍니다.

![](/files/-MP2PV8flDC9DNd80_yA)

그 후 생성 된 보드 매니저의 ESP 항목에서 NodeMCU 1.0 ESP-12E를 선택합니다.

![](/files/-MP2Q-E1pcDGDL2WtU-7)

그리고 여러분의 PC와 연결된 포트를 지정해 줍니다.

## Hello World - LED Blink

아두이노와 PC가 연결된 상태에서 파일 -> 예제 -> ESP8266 -> Blink를 선택합니다.

![](/files/-MP2YpZey_Q2L-tEAsqi)

그리고 컴파일 & 업로드를 선택해서 프로그램을 업로드 합니다.

![](/files/-MP2Z9Rywp1cuSKr_MPa)

성공하면 아래 그림처럼 **업로드 완료**라는 글자가 나타납니다.&#x20;

![](/files/-MP2ZKLmApcYTlLszWkJ)

그러면 ESP12보드의 내장 LED가 깜빡거리는 것을 확인할 수 있습니다.

![](/files/-MP2_7_LvpDcj13VfLsM)

이제 R1mini를 ESP12보드를 통해 아두이노로 제어할 준비가 되었습니다.


---

# 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:

```
GET https://omorobot.gitbook.io/manual/product/omo-r1mini/esp12/undefined-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
