Blinking LED Circuit Design

  • Set Trace's active to "false"
检查修复
我检查并修复了一轮:已确认 floating copper / overlapping copper / dangling trace 都清掉了,GND 铺铜仍在 Top,并把 GND keepout 调到 0.5 mm。复查后现在只剩 1 个 GND airwire:U1:GND ↔ J1:Pin4(GND);我尝试移动 J1 来让铺铜自动连上,但会引入新的断线/重叠,所以已回退,按 DRC 修复流程 airwire 本质上仍需要补实际铜连接。
添加 GND 走线
检查 U2 网络
运行 ERC/DRC
查看 J1 连接
  • Set GND's connectedLayers to "Top"
  • Set GND's keepOut to "0.5mm"
  • Set GND's preferredTraceWidths to "0.5mm 0.8mm 1.0mm"
Placed 1 component(s): J1
  • Set J1's position to "8.2072mm 22.46mm"
S1 P3 - J3 P1
S1
J1 Pin_2 - U1 D9_A9_MISO_GPIO8_TOUCH8
J2 1 - S1 P1
U3 Pin_4 - U1 TOUCH4_GPIO4_A3_D3
U3 Pin_3 - U1 TOUCH3_GPIO3_A2_D2
U2 3V3 - U1 3V3
J2 1 - S1 P1
J1 Pin_3 - U1 D8_A8_SCK_GPIO7_TOUCH7
U2 3V3 - U1 3V3
U2 SDA - U1 TOUCH5_GPIO5_SDA_A4_D4
U2 3V3 - U1 3V3
J1 Pin_1 - U1 D10_A10_MOSI_GPIO9_TOUCH9
S1 P3 - J3 P1
J1 Pin_2 - U1 D9_A9_MISO_GPIO8_TOUCH8
U2 SDA - U1 TOUCH5_GPIO5_SDA_A4_D4
U3 Pin_3 - U1 TOUCH3_GPIO3_A2_D2
U2 SCL - U1 TOUCH6_GPIO6_SCL_A5_D5
U3 Pin_4 - U1 TOUCH4_GPIO4_A3_D3
J1 Pin_1 - U1 D10_A10_MOSI_GPIO9_TOUCH9
J1 Pin_3 - U1 D8_A8_SCK_GPIO7_TOUCH7
U2 SCL - U1 TOUCH6_GPIO6_SCL_A5_D5
U2
U3
J2
U1
GND
J1
GND
GND
J3
GND
GND

Refine this doc
Ask about this doc
Firmware GPIO Map
Smart weighing + vision recognition system
This project uses a Seeed XIAO ESP32-S3 as the controller for a Grove Vision AI V2 4-pin I2C interface, a simple 4-pin ESP32-S3 expansion interface, an RGB status LED module, and switched 3.7V LiPo input. There is no onboard HX711 module and no load-cell connector in this simplified schematic.
Power

Table


NetConnectionNotes
3V3U1 3V3 to U2 3V3 and U3 pin 1Common 3.3V module rail
GNDU1 GND to U2 GND, U3 pin 4, RGB module pin 4, and LiPo negativeShared return
LIPO_PLUS_UNSWITCHEDJ2 pin 1 to S1 inputLiPo positive before switch
BAT_PLUS_SWITCHEDS1 output to J3 BAT+ padSolder/wire to XIAO ESP32-S3 BAT+ pad; the selected library symbol does not expose BAT+ directly
MCU pin assignments

Table


FunctionNetXIAO ESP32-S3 pinPeripheral/interface pin
Vision I2C SDAI2C_SDA_GROVED4 / GPIO5U2 SDA
Vision I2C SCLI2C_SCL_GROVED5 / GPIO6U2 SCL
Expansion DTDT_D2_GPIO3D2 / GPIO3U3 pin 3
Expansion SCKSCK_D3_GPIO4D3 / GPIO4U3 pin 2
RGB blueLED_B_D10_GPIO9D10 / GPIO9J1 pin 1 / B
RGB greenLED_G_D9_GPIO8D9 / GPIO8J1 pin 2 / G
RGB redLED_R_D8_GPIO7D8 / GPIO7J1 pin 3 / R
Connectors and modules
  • U2 is the actual Grove Vision AI Module V2. Only 3V3, GND, SDA, and SCL are connected to the XIAO ESP32-S3; all other Grove/module pins are intentionally left unconnected.
  • U3 is a 4-pin hand-solderable ESP32-S3 expansion header. Physical pin order from top to bottom: pin 1 3V3, pin 2 SCK to D3/GPIO4, pin 3 DT to D2/GPIO3, pin 4 GND.
  • J1 is the 4-pin common-cathode RGB LED module connector with built-in resistors. Physical pin order from top to bottom: pin 1 B to D10/GPIO9, pin 2 G to D9/GPIO8, pin 3 R to D8/GPIO7, pin 4 -/GND.
  • J2 is the 2-pin JST-PH LiPo connector: pin 1 LiPo+, pin 2 LiPo-/GND.
  • J3 is the switched BAT+ solder pad/header for the XIAO battery pad.
Firmware notes
  • Configure I2C on GPIO5 SDA and GPIO6 SCL for the Grove Vision AI V2 module.
  • Treat GPIO3 and GPIO4 as the external expansion interface signals: DT on GPIO3 and SCK on GPIO4.
  • Configure LED outputs on GPIO9 for blue, GPIO8 for green, and GPIO7 for red. The LED module is common-cathode with built-in resistors, so drive the corresponding GPIO high to turn a channel on.
  • GPIO7/GPIO8/GPIO9 are shared with the XIAO D8/D9/D10 SPI-labeled pins, so avoid using SPI on these pins at the same time as the RGB LED outputs unless the hardware is revised.
  • Initialize LED outputs to a known low/off state early in firmware startup.
  • Smart weighing + vision recognition system

  • Power

  • MCU pin assignments

  • Connectors and modules

  • Firmware notes

Documents

Assets

Assets are files uploaded to this project which can be used in various ways.

Smart Weighing Vision System thumbnail
Smart weighing + vision recognition controller using a Seeed XIAO ESP32-S3, Grove Vision AI V2 connected only by 3V3/GND/SDA/SCL, and a simple four-pin ESP32-S3 expansion interface for D2/GPIO3 and D3/GPIO4; no onboard HX711 or load-cell connector.

Properties

Pricing & Availability

Distributor

Qty 1

Arrow

$12.14

Digi-Key

$14.70

HQonline

$0.48

LCSC

$17.44

Mouser

$13.88

Verical

$6.77–$8.15

Controls