circuitpython-org/_board/espressif_esp32c3_devkitm_1_n4.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

3.5 KiB

layout board_id title name manufacturer board_url board_image date_added family features
download espressif_esp32c3_devkitm_1_n4 ESP32-C3-DevKitM-1-N4 Download ESP32-C3-DevKitM-1-N4 Espressif
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitm-1.html
espressif_esp32c3_devkitm_1_n4.jpg 2022-02-14 esp32c3
Wi-Fi
Bluetooth/BTLE
Breadboard-Friendly

The ESP32-C3-DevKitM-1 is an entry-level RISC V development board equipped with the ESP32-C3-MINI-1-N4, a powerful, generic Wi-Fi + Bluetooth LE MCU module that features a rich set of peripherals, yet an optimized size. It's an ideal choice for a wide variety of application scenarios related to the Internet of Things (IoT), such as embedded systems, smart homes, wearable electronics, etc. ESP32-C3-DevKitM-1 comes with a PCB antenna. This version is equipped with the ESP32-C3-MINI-1-N4 with 4MB SPI Flash and no PSRAM.

Please note: The C3 is similar to the ESP32 - but uses RISC V as a core, not Tensilica, and has Bluetooth LE (not classic!) However, there is minimal support for this dev board. For example, as of the time of this writing, there is no CircuitPython support - only Arduino and ESP IDF! Please purchase if you're doing development with the C3, and recognize that it's a different core than the classic ESP32s most folks have used.

Most of the I/O pins on the module are broken out to the pin headers on both sides of this board for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-C3-DevKitM-1 on a breadboard.

At the core of the module is ESP32-C3, which has a 32-bit RISC-V single-core processor. The ESP32-C3 integrates a rich set of peripherals, ranging from UART, I2C, I2S, remote control peripheral, LED PWM controller, general DMA controller, TWAI controller, USB Serial/JTAG controller, temperature sensor, and ADC. It also includes SPI, Dual SPI, and Quad SPI interfaces.

There are three mutually exclusive ways to provide power to the board:

  • Micro-USB Port, default power supply
  • 5V and GND pin headers
  • 3V3 and GND pin headers

It is recommended to use the first option: Micro-USB Port.

Components:

  • ESP32-C3-MINI-1-N4: ESP32-C3-MINI-1-N4 from Espressif is a powerful and general-purpose RISC V module that offers Wi-Fi and Bluetooth LE coexistence. It has a PCB antenna and 4 MB SPI flash.
  • 5V to 3.3V LDO: Power regulator that converts a 5V supply into a 3.3V output.
  • 5V Power On LED: Turns on when the USB power is connected to the board.
  • Pin Headers: All available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers on the board for easy interfacing and programming. For details, please see Header Block.
  • Micro-USB Port: USB interface. Power supply for the board as well as the communication interface between a computer and the ESP32-C3 chip.
  • Boot Button: Download button. Holding down Boot and then pressing Reset initiates Firmware Download mode for downloading firmware through the serial port.
  • Reset Button: Press this button to restart the system.
  • USB-to-UART Bridge: Single USB-to-UART bridge chip provides transfer rates up to 3 Mbps.
  • RGB LED: Addressable RGB LED, driven by GPIO8.

Purchase