Skip to content

Parts (external components)

Devices you attach to an MCU in Playground, system YAML, or an agent diagram: sensors, displays, motors, buttons, and more.

Add a new part: Onboard a part (I²C · SPI · actuators)

Template

Authors: parts/_TEMPLATE.md. Tone: ESP32-C3 board page.


Agent path

  1. labwired_list (optionally kind=component)
  2. labwired_describe with catalog id
  3. labwired_validatelabwired_run / labwired_verify

Catalog (documented here)

Part Catalog / type id Bus
MCP9808 mcp9808 I²C
MMA8451Q mma8451q I²C
MPU-6050 mpu6050 I²C
BMP280 bmp280 I²C
SSD1306 OLED oled-ssd1306 / oled-ssd1306-128x32 I²C
LCD1602 lcd1602 GPIO / I²C backpack
APA102 apa102 SPI-like
Servo servo GPIO PWM
Button button GPIO
Buzzer buzzer GPIO
Seven-segment seven-segment GPIO / SPI

More devices live under configs/devices/ and in the live catalog. If a part is missing from this table, labwired_describe still works when the id is registered.

Also useful: TMP102 (tmp102), ADXL345 SPI (adxl345_spi), DC motor (dc-motor) — see Onboard a part.