알리익스프레스에서 구입한 ESP 모듈
가격: $8.99

240MHz, 듀얼코어, 4MB 플래시롬,
데이터시트
esp32-wroom-32_datasheet_en.pdf (espressif.com)
Wiki 문서
KS0413 keyestudio ESP32 Core Board - Keyestudio Wiki
KS0413 keyestudio ESP32 Core Board - Keyestudio Wiki
Keyestudio ESP32 Core Board (Black and Eco-friendly) Description This keyestudio ESP32 core board is a Mini development board based on the ESP-WROOM-32 module. The board has brought out most I/O ports to pin headers of 2.54mm pitch. These provide an easy w
wiki.keyestudio.com
USB 드라이버 내려받기
CP210x USB - UART 브리지 VCP 드라이버 - 실리콘 연구소 (silabs.com)
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
Keyestudio ESP32 모듈을 USB로 연결하고 장치관리자에서 드라이버를 설치한다.
아두이노
아두이노 환경설정에서 추가적인 보드 매니저 URLs에 아래 경로를 추가한다.
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
툴 - 보드 - 보드 매니저에서 ESP32를 설치한다.
보드 설정에서 ESP32 Dev Module을 선택한 후,

아래와 같이 설정한다.

아래 코드를 붙여 넣기 해서 업로드 한다.
/*
 *  This sketch demonstrates how to scan WiFi networks.
 *  The API is almost the same as with the WiFi Shield library,
 *  the most obvious difference being the different file you need to include:
 */
#include "WiFi.h"
void setup()
{
    Serial.begin(115200);
    // Set WiFi to station mode and disconnect from an AP if it was previously connected
    WiFi.mode(WIFI_STA);
    WiFi.disconnect();
    delay(100);
    Serial.println("Setup done");
}
void loop()
{
    Serial.println("scan start");
    // WiFi.scanNetworks will return the number of networks found
    int n = WiFi.scanNetworks();
    Serial.println("scan done");
    if (n == 0) {
        Serial.println("no networks found");
    } else {
        Serial.print(n);
        Serial.println(" networks found");
        for (int i = 0; i < n; ++i) {
            // Print SSID and RSSI for each network found
            Serial.print(i + 1);
            Serial.print(": ");
            Serial.print(WiFi.SSID(i));
            Serial.print(" (");
            Serial.print(WiFi.RSSI(i));
            Serial.print(")");
            Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
            delay(10);
        }
    }
    Serial.println("");
    // Wait a bit before scanning again
    delay(5000);
}
툴 - 시리얼 모니터에서 속도를 115200 보드레이트로 선택하면 아래처럼 통신이 된다.

당연히 WiFi 무선 AP가 있는 환경이어야 한다.
 
                                                
                                             
                                                
                                            