circuitpython-org/_board/ai_thinker_esp_12k_nodemcu.md
Jeff Epler 4715875cc4 Fix board dates to always be of the form YYYY-MM-DD
.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.

This was done by script:
```py
import re
import datetime
import pathlib
import sys

import frontmatter

rx = re.compile(r'^(\s*)date_added:.*$', re.M)

for path_str in sys.argv[1:]:
    print(path_str)
    path = pathlib.Path(path_str)

    post = frontmatter.load(path)
    date_added = post.get("date_added", "")

    if isinstance(date_added, datetime.date):
        continue

    if isinstance(date_added, str):
        try:
            date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
        except ValueError as exc:
            print(f"Failed to parse date {date_added} in {path_str}: {exc}")
            continue

    date_added = date_added.date()
    content = path.read_text("utf-8")
    new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
    assert content != new_content

    path.write_text(new_content, "utf-8")
```
2024-03-22 11:31:45 -05:00

1.4 KiB

layout board_id title name manufacturer board_url board_image date_added family bootloader_id features
download ai_thinker_esp_12k_nodemcu NodeMCU ESP-12K Download NodeMCU ESP-12K Ai-Thinker
https://docs.ai-thinker.com/en/12k_development_board_esp32-s2
ai_thinker_esp_12k_nodemcu.jpg 2021-08-24 esp32s2 adafruit_qtpy_esp32s2
Breadboard-Friendly
Wi-Fi

This board is a version of the NodeMCU board with an ESP-12K (ESP32-S2) module on it. The board has a micro USB connection with which it can be programmed and/or powered.

Specifications

  • Supply voltage:
    • Micro USB: 5 V DC
    • 5V pin: 5 V DC
    • 3V3 pin: 3.3 V DC
  • GPIO voltage: 3.3 V
  • Chip: ESP32-S2 ESP-12K
    • Flash memory: 4 MB
    • PSRAM: 8 MB
    • SRAM: 320 KB
    • Built-in Wi-Fi
  • USB to serial converter: CH340C

The micro USB connector on this board is wired through a CH430C USB to serial converter chip for debugging and programming. The native USB is not available on a USB connector - instead you'll want to pick up a Micro B USB connector breakout, USB-C connector breakout or USB data cable and hand-wire IO19/IO20 to D- and D+ pads.

Purchase