This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-07-24

How to Write Sketches to ESP32

How to write sketches to the ESP32 mounted on TWELITE SPOT
    This guide explains how to write Arduino sketches to the ESP32 mounted on TWELITE SPOT.

    Connecting to the Host

    Connect TWELITE R3 / R2

    Connect the TWELITE R3 / R2 to the 7P interface (the side labeled ESP32).

    Connect Power

    Supply 5V power to the USB-C connector on the side.

    Connection Example (ESP32)

    Connection Example (ESP32)

    Operating Arduino IDE

    Open the Sketch

    Launch the Arduino IDE and open the sketch you want to write.

    Select the Serial Port

    From the Tools -> Serial Port menu, select the port for the TWELITE R3 / R2.

    Selecting the Serial Port

    Selecting the Serial Port

    Start ESP32 in Programming Mode

    Press the ESP32 reset switch EN(RST) and the ESP32 boot switch BOOT on the TWELITE SPOT, then release them in the order of EN(RST) -> BOOT.

    Button Positions

    Button Positions

    Execute Writing

    Click the Write to Microcontroller Board button in Arduino IDE.

    Write to Microcontroller Board

    Write to Microcontroller Board

    Reset ESP32

    After writing is complete, press and release the ESP32 reset switch EN(RST) on the TWELITE SPOT to reset the ESP32.

    Reset Switch Position

    Reset Switch Position

    Writing Completion Screen

    Writing Completion Screen