mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
Arduino-like MCU Board Example
This example shows how to use BoardForge to create a small microcontroller board. The board hosts a 28‑pin MCU and breaks out the pins to two headers similar to a traditional Arduino layout.
Run the example:
python arduino_like.py
Another example shows how to draw a trace with a bend:
python bent_trace.py
Gerber files and SVG previews will be written to output/arduino_like.zip and the corresponding preview PNG/SVG files.
MCU Pinout
Left side (top to bottom)
- D0
- D1
- D2
- D3
- D4
- D5
- D6
- D7
- VCC
- GND
- RST
- VIN
- 3V3
- AREF
Right side (top to bottom)
- D8
- D9
- D10
- D11
- D12
- D13
- A0
- A1
- A2
- A3
- A4
- A5
- VCC
- GND
Components
- U1 – 28‑pin microcontroller
- J1 – 14‑pin digital I/O header
- J2 – 6‑pin analog header
- J3 – Power header (VIN, VCC, 3V3, GND)
- J4 – 6‑pin programming header
The example script connects each MCU pin to the corresponding header pad and adds simple silkscreen labels. Use it as a starting point for your own custom microcontroller boards.