Skip to content

M5Stack Stamp C3

RecommendedCost-conscious pick.
ChipESP32-C3
Form factorStamp module, 24 × 24 mm (Mate version has pin headers)
Flash4 MB
Antenna3D antenna
USBUSB-C (USB-to-serial chip)
InstallBrowser installer, esp32c3 flavor
Storesm5stackaliamz/us
GPIOFunctionESPresense setting
2SK6812 RGB LEDLEDs
3Button (active low)Inputs

Paste this into the Board Template box on the node's Templates page, then Preview and Apply (firmware v5.0.0b1 or later). It sets the board's pins (and Ethernet type, if it has one) in one go. The LED, input and output lists replace what was configured before, so the result doesn't depend on the node's old setup. See Templates.

{"name":"M5 Stamp C3","chip":"esp32c3","settings":{"leds":[{"type":"grb","pin":2,"count":1,"control":"status"}],"inputs":[{"name":"Button","role":"button","pin":3,"type":"pullup_inverted"}],"outputs":[]}}
Formatted, with what each value means
{
  "name": "M5 Stamp C3",
  "chip": "esp32c3",
  "settings": {
    "leds": [
      {
        "type": "grb",
        "pin": 2,
        "count": 1,
        "control": "status"
      }
    ],
    "inputs": [
      {
        "name": "Button",
        "role": "button",
        "pin": 3,
        "type": "pullup_inverted"
      }
    ],
    "outputs": []
  }
}

LED type: pwm, pwm_inverted, grb, grbw, rgb or rgbw (the last four are addressable). LED control: mqtt, status, motion, count, or output (follows the output numbered byoutput). Input type: pullup, pulldown or floating, with_inverted for active-low. Output type: output, output_inverted, or high/low for a pin that's just held at that level. An output's input is the 1-based input that controls it. power takes ESPHome's hlw8012 values (a cse7766 needs only rx); sel_inverted matches ESPHome's inverted on sel_pin. eth is the Ethernet Type's option number.

  • The generic esp32c3 build defaults to a PWM LED on GPIO 2, but this board’s LED is addressable. Without the template the status LED never lights.
  • Install the plain esp32c3 flavor. The board has a USB-to-serial chip, so it doesn’t need esp32c3-cdc. (The Stamp C3U has native USB and does.)
  • No I2C is wired on the board, and I2C is off by default.