|
2 | 2 | layout: download
|
3 | 3 | board_id: "lolin_s2_mini"
|
4 | 4 | title: "LOLIN S2 Mini Download"
|
5 |
| -name: "LOLIN S2 Mini " |
| 5 | +name: "LOLIN S2 Mini" |
6 | 6 | manufacturer: "LOLIN"
|
7 | 7 | board_url: "https://www.wemos.cc/en/latest/s2/s2_mini.html"
|
8 | 8 | board_image: "lolin_s2_mini.jpg"
|
9 | 9 | date_added: 2021-9-3
|
10 | 10 | features:
|
11 | 11 | - Wi-Fi
|
| 12 | + - USB-C |
12 | 13 | ---
|
13 | 14 |
|
14 | 15 | ### Features
|
15 | 16 |
|
16 | 17 | - ESP32-S2FN4R2 WiFi SoC
|
17 |
| -- USB Type-C connector, for built-in ROM USB bootloader & serial port debugging |
18 |
| -- 4MB Flash |
19 |
| -- 2MB PSRAM |
20 |
| -- 27x IO |
21 |
| -- ADC, DAC, I2C, SPI, UART, USB OTG |
22 |
| -- Compatible with LOLIN D1 mini shields |
| 18 | + - Xtensa® single-core 32-bit LX7 microprocessor, up to 240 MHz |
| 19 | + - 320 KB SRAM |
| 20 | + - 4 MB Flash |
| 21 | + - 2 MB PSRAM |
| 22 | + - 2 × 13-bit SAR ADCs, up to 20 channels (2 channels not available on ADC2 due to USB) |
| 23 | + - 2 × 8-bit DAC |
| 24 | + - 14 × touch sensing IOs |
| 25 | + - 4 × SPI (2 useable due to embedded flash & psram) |
| 26 | + - 1 × I2S |
| 27 | + - 2 × I2C |
| 28 | + - 2 × UART |
| 29 | + - 1 × DVP 8/16 camera interface, implemented using the hardware resources of I2S |
| 30 | + - 1 × LCD interface (8-bit serial RGB/8080/6800), implemented using the hardware resources of SPI2 |
| 31 | + - 1 × LCD interface (8/16/24-bit parallel), implemented using the hardware resources of I2S |
| 32 | + - 1 × TWAI® controller compatible with ISO 11898-1 (CAN Specification 2.0) |
| 33 | + - LED PWM controller, up to 8 channels |
| 34 | + - USB OTG 1.1 controller and PHY, with host and device support |
| 35 | +- USB Type-C connector, for built-in ROM USB bootloader, serial port debugging, and USB device mode |
| 36 | +- 27 × GPIO pins, outer 16 pins compatible with LOLIN D1 mini shields |
23 | 37 | - Compatible with CircuitPython, MicroPython, Arduino and ESP-IDF
|
24 | 38 | - Default firmware: MicroPython
|
25 | 39 |
|
| 40 | +## Purchase |
| 41 | + |
| 42 | +* [AliExpress](https://www.aliexpress.com/item/1005003145192016.html) |
| 43 | + |
| 44 | +## Learn More |
| 45 | + |
| 46 | +* [Manufacturer Specifications](https://www.wemos.cc/en/latest/s2/s2_mini.html) |
| 47 | + |
26 | 48 | ### Flashing UF2 Bootloader
|
27 | 49 |
|
28 |
| -***Important***: *this will erase previously flashed firmware & sketches from the board.* |
| 50 | +***Important***: *this will erase previously flashed firmware & sketches from the board, but needs to be perfomed only once.* |
29 | 51 |
|
30 | 52 | - Download the latest `tinyuf2-lolin_s2_mini-......zip` from [TinyUF2 releases](https://github.com/adafruit/tinyuf2/releases),
|
31 |
| - - Unzip to find `combined.bin`. |
| 53 | + - Unzip to find the file `combined.bin`. |
32 | 54 | - Place board in bootloader mode:
|
33 | 55 | - Plug board into a USB port on your computer using a data/sync cable. Make sure it is the only board plugged in, and that a charge-only cable is not being used.
|
34 | 56 | - Press and hold the `0` button down. Don't let go of it yet!
|
35 | 57 | - Press and release the `RST` button. You should have the `0` button pressed while you do this.
|
36 | 58 | - Release the `0` button.
|
37 | 59 | - Use the Adafruit WebSerial ESPTool to upload `combined.bin` (Google Chrome 89 or newer):
|
38 |
| - - Open a new web browser window or tab to the [Adafruit WebSerial ESPTool](https://adafruit.github.io/Adafruit_WebSerial_ESPTool/) |
39 |
| - - Select *460800 Baud* from the pull-down menu at the top-right of the page. |
40 |
| - - Click the *Connect* button at the top-right of the page. |
| 60 | + - Open a new web browser window or tab to the [Adafruit WebSerial ESPTool](https://adafruit.github.io/Adafruit_WebSerial_ESPTool/). |
| 61 | + - Select `460800 Baud` from the pull-down menu at the top-right of the page. |
| 62 | + - Click the `Connect` button at the top-right of the page. |
41 | 63 | - Select the COM or Serial port from the pop-up window.
|
42 | 64 | - After successful connection, click the `Erase` button.
|
43 | 65 | - After successful erase, click the first `Choose a file...` button, locate the `combined.bin` file unzipped earlier, click `Ok`.
|
44 | 66 | - After successfully choosing the `combined.bin` file, click the `Program` button.
|
45 |
| - - After the TinyUF2 firmware update is complete, press the `RST` button. A new drive `S2MINIBOOT` should be visible in your file browser. |
| 67 | + - After the TinyUF2 firmware update is complete, press the `RST` button on the board. A new drive `S2MINIBOOT` should be visible in your file browser. |
46 | 68 |
|
47 | 69 | ### Flashing CircuitPython
|
48 | 70 |
|
49 |
| -- Flash the UF2 bootloader using the instruction above. |
| 71 | +- Flash the UF2 bootloader using the instructions above. |
50 | 72 | - Download the `.UF2` file from this page.
|
51 |
| -- Drag & Drop the `.UF2` file to the `S2MINIBOOT` drive. |
52 |
| - |
53 |
| -## Purchase |
54 |
| - |
55 |
| -* [AliExpress](https://www.aliexpress.com/item/1005003145192016.html) |
| 73 | +- In your file browser, Drag & Drop the `.UF2` file to the `S2MINIBOOT` drive. |
| 74 | +- Your board should reboot automatically into CircuitPython. The `S2MINIBOOT` drive should disappear and be replaced with a new drive `CIRCUITPY`. |
56 | 75 |
|
57 | 76 | ## Contribute
|
58 | 77 |
|
|
0 commit comments