공부/etc

Adafruit ESP32 Feather V2 CH2102F 사용해보기 (1) - 환경설정부터 예제 코드 실행까지

happyst 2022. 6. 22. 23:16

1. Arduino IDE setup

참고) https://learn.adafruit.com/adafruit-esp32-feather-v2/arduino-ide-setup 

 

1) CP210x Windows Drivers 설치

https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers

 

CP210x USB to UART Bridge VCP Drivers - Silicon Labs

The CP210x USB to UART Bridge Virtual COM Port (VCP) drivers are required for device operation as a Virtual COM Port to facilitate host communication with CP210x products. These devices can also interface to a host using the direct access driver.

www.silabs.com

위 링크에서 CP210x Windows Drivers를 다운받고 설치한다.

 

2) ESP32 Board Support Package 설치

참고) https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#windows-manual-installation

 

 

Installing — Arduino-ESP32 2.0.2 documentation

This is the way to install Arduino-ESP32 directly from the Arduino IDE. Note Starting with the Arduino IDE version 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, macOS, and

docs.espressif.com

 

  • Git GUI 실행 시 지정한 Target Directory 경로에서 Git Bash를 실행
    git submodule update --init --recursive 명령어 실행

  • [Target Directory]/tools 경로에서 get.exe 실행파일을 실행

3. Arduino IDE 실행
  • Adafruit 보드를 PC에 연결

 

  • [툴] - [보드 매니저] - [ESP32 Arduino (in sketchbook)] - [Adafruit ESP32 Feather V2] 선택

  • 포트 선택
4. 예제 코드 실행
  • [파일] - [예제] - [Adafruit Feather ESP32 V2의 예제] - 원하는 예제 선택!

  • 컴파일 - 업로드
  • 결과