Skip to content

Commit 5b8bb1e

Browse files
committed
Lolin S2 Mini - expanded features section, edited flashing section
1 parent 519bff0 commit 5b8bb1e

File tree

1 file changed

+38
-19
lines changed

1 file changed

+38
-19
lines changed

_board/lolin_s2_mini.md

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,76 @@
22
layout: download
33
board_id: "lolin_s2_mini"
44
title: "LOLIN S2 Mini Download"
5-
name: "LOLIN S2 Mini "
5+
name: "LOLIN S2 Mini"
66
manufacturer: "LOLIN"
77
board_url: "https://www.wemos.cc/en/latest/s2/s2_mini.html"
88
board_image: "lolin_s2_mini.jpg"
99
date_added: 2021-9-3
1010
features:
1111
- Wi-Fi
12+
- USB-C
1213
---
1314

1415
### Features
1516

1617
- 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
2337
- Compatible with CircuitPython, MicroPython, Arduino and ESP-IDF
2438
- Default firmware: MicroPython
2539

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+
2648
### Flashing UF2 Bootloader
2749

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.*
2951

3052
- 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`.
3254
- Place board in bootloader mode:
3355
- 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.
3456
- Press and hold the `0` button down. Don't let go of it yet!
3557
- Press and release the `RST` button. You should have the `0` button pressed while you do this.
3658
- Release the `0` button.
3759
- 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.
4163
- Select the COM or Serial port from the pop-up window.
4264
- After successful connection, click the `Erase` button.
4365
- After successful erase, click the first `Choose a file...` button, locate the `combined.bin` file unzipped earlier, click `Ok`.
4466
- 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.
4668

4769
### Flashing CircuitPython
4870

49-
- Flash the UF2 bootloader using the instruction above.
71+
- Flash the UF2 bootloader using the instructions above.
5072
- 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`.
5675

5776
## Contribute
5877

0 commit comments

Comments
 (0)