Add custom KiCad libraries for RP2040-Zero and OLED
Symbol library (SN-L00.lib/): - RP2040-Zero: 18-pin module symbol with all GPIO labels - OLED_128x32_I2C: 4-pin I2C display symbol Footprint library (SN-L00.pretty/): - RP2040-Zero: 2x9 through-hole, 15.24mm spacing, with pin labels - OLED_128x32_I2C: 38x12mm module outline, 4-pin header Auto-loading via fp-lib-table and sym-lib-table.
This commit is contained in:
@@ -91,7 +91,53 @@
|
||||
|
||||
- `SN-L00.kicad_pro` - KiCad project file
|
||||
- `SN-L00.kicad_sch` - Schematic (open in KiCad 8+)
|
||||
- `SN-L00.kicad_pcb` - PCB layout (to be created)
|
||||
- `SN-L00.kicad_pcb` - PCB layout
|
||||
- `PCB_LAYOUT.md` - Component placement guide
|
||||
|
||||
## Custom Libraries
|
||||
|
||||
### Symbol Library (`SN-L00.lib/`)
|
||||
|
||||
| Symbol | Description |
|
||||
|--------|-------------|
|
||||
| `RP2040-Zero` | Waveshare RP2040-Zero module (18 pins) |
|
||||
| `OLED_128x32_I2C` | 0.91" OLED display (4 pins: GND, VCC, SCL, SDA) |
|
||||
|
||||
### Footprint Library (`SN-L00.pretty/`)
|
||||
|
||||
| Footprint | Description |
|
||||
|-----------|-------------|
|
||||
| `RP2040-Zero` | 2×9 pin through-hole, 15.24mm row spacing |
|
||||
| `OLED_128x32_I2C` | 38×12mm module with 4-pin header |
|
||||
|
||||
Libraries are auto-loaded via `fp-lib-table` and `sym-lib-table`.
|
||||
|
||||
### RP2040-Zero Pinout (Footprint)
|
||||
|
||||
```
|
||||
Pin Name │ Pin Name
|
||||
─────────────┼─────────────
|
||||
1 5V │ 10 3V3
|
||||
2 GND │ 11 GND
|
||||
3 3V3 │ 12 GP0/SDA
|
||||
4 GP29 │ 13 GP1/SCL
|
||||
5 GP28 │ 14 GP2
|
||||
6 GP27 │ 15 GP3
|
||||
7 GP26 │ 16 GP4
|
||||
8 GP15 │ 17 GP5
|
||||
9 GP14 │ 18 GND
|
||||
```
|
||||
|
||||
### OLED Pinout (Footprint)
|
||||
|
||||
```
|
||||
Pin Name
|
||||
───────────
|
||||
1 GND
|
||||
2 VCC
|
||||
3 SCL
|
||||
4 SDA
|
||||
```
|
||||
|
||||
## Design Notes
|
||||
|
||||
|
||||
@@ -0,0 +1,232 @@
|
||||
(kicad_symbol_lib
|
||||
(version 20231120)
|
||||
(generator "kicad_symbol_editor")
|
||||
(generator_version "8.0")
|
||||
|
||||
;; RP2040-Zero Module Symbol
|
||||
(symbol "RP2040-Zero"
|
||||
(pin_names (offset 1.016))
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
|
||||
(property "Reference" "MOD"
|
||||
(at 0 16.51 0)
|
||||
(effects (font (size 1.27 1.27)))
|
||||
)
|
||||
(property "Value" "RP2040-Zero"
|
||||
(at 0 -16.51 0)
|
||||
(effects (font (size 1.27 1.27)))
|
||||
)
|
||||
(property "Footprint" "SN-L00:RP2040-Zero"
|
||||
(at 0 -19.05 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
(property "Datasheet" "https://www.waveshare.com/wiki/RP2040-Zero"
|
||||
(at 0 -21.59 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
(property "Description" "Waveshare RP2040-Zero module with USB-C"
|
||||
(at 0 -24.13 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
|
||||
(symbol "RP2040-Zero_0_1"
|
||||
;; Body rectangle
|
||||
(rectangle
|
||||
(start -10.16 15.24)
|
||||
(end 10.16 -15.24)
|
||||
(stroke (width 0.254) (type default))
|
||||
(fill (type background))
|
||||
)
|
||||
)
|
||||
|
||||
(symbol "RP2040-Zero_1_1"
|
||||
;; Left side pins (top to bottom)
|
||||
(pin power_in line
|
||||
(at -12.7 12.7 0)
|
||||
(length 2.54)
|
||||
(name "5V" (effects (font (size 1.27 1.27))))
|
||||
(number "1" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin power_in line
|
||||
(at -12.7 10.16 0)
|
||||
(length 2.54)
|
||||
(name "GND" (effects (font (size 1.27 1.27))))
|
||||
(number "2" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin power_out line
|
||||
(at -12.7 7.62 0)
|
||||
(length 2.54)
|
||||
(name "3V3" (effects (font (size 1.27 1.27))))
|
||||
(number "3" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 5.08 0)
|
||||
(length 2.54)
|
||||
(name "GP29/A3" (effects (font (size 1.27 1.27))))
|
||||
(number "4" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 2.54 0)
|
||||
(length 2.54)
|
||||
(name "GP28/A2" (effects (font (size 1.27 1.27))))
|
||||
(number "5" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 0 0)
|
||||
(length 2.54)
|
||||
(name "GP27/A1" (effects (font (size 1.27 1.27))))
|
||||
(number "6" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 -2.54 0)
|
||||
(length 2.54)
|
||||
(name "GP26/A0" (effects (font (size 1.27 1.27))))
|
||||
(number "7" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 -5.08 0)
|
||||
(length 2.54)
|
||||
(name "GP15" (effects (font (size 1.27 1.27))))
|
||||
(number "8" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -12.7 -7.62 0)
|
||||
(length 2.54)
|
||||
(name "GP14" (effects (font (size 1.27 1.27))))
|
||||
(number "9" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
|
||||
;; Right side pins (top to bottom)
|
||||
(pin power_out line
|
||||
(at 12.7 12.7 180)
|
||||
(length 2.54)
|
||||
(name "3V3" (effects (font (size 1.27 1.27))))
|
||||
(number "10" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin power_in line
|
||||
(at 12.7 10.16 180)
|
||||
(length 2.54)
|
||||
(name "GND" (effects (font (size 1.27 1.27))))
|
||||
(number "11" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 7.62 180)
|
||||
(length 2.54)
|
||||
(name "GP0/SDA" (effects (font (size 1.27 1.27))))
|
||||
(number "12" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 5.08 180)
|
||||
(length 2.54)
|
||||
(name "GP1/SCL" (effects (font (size 1.27 1.27))))
|
||||
(number "13" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 2.54 180)
|
||||
(length 2.54)
|
||||
(name "GP2" (effects (font (size 1.27 1.27))))
|
||||
(number "14" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 0 180)
|
||||
(length 2.54)
|
||||
(name "GP3" (effects (font (size 1.27 1.27))))
|
||||
(number "15" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 -2.54 180)
|
||||
(length 2.54)
|
||||
(name "GP4" (effects (font (size 1.27 1.27))))
|
||||
(number "16" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at 12.7 -5.08 180)
|
||||
(length 2.54)
|
||||
(name "GP5" (effects (font (size 1.27 1.27))))
|
||||
(number "17" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin power_in line
|
||||
(at 12.7 -7.62 180)
|
||||
(length 2.54)
|
||||
(name "GND" (effects (font (size 1.27 1.27))))
|
||||
(number "18" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
;; OLED 128x32 I2C Module Symbol
|
||||
(symbol "OLED_128x32_I2C"
|
||||
(pin_names (offset 1.016))
|
||||
(exclude_from_sim no)
|
||||
(in_bom yes)
|
||||
(on_board yes)
|
||||
|
||||
(property "Reference" "MOD"
|
||||
(at 0 7.62 0)
|
||||
(effects (font (size 1.27 1.27)))
|
||||
)
|
||||
(property "Value" "OLED_128x32_I2C"
|
||||
(at 0 -7.62 0)
|
||||
(effects (font (size 1.27 1.27)))
|
||||
)
|
||||
(property "Footprint" "SN-L00:OLED_128x32_I2C"
|
||||
(at 0 -10.16 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
(property "Datasheet" ""
|
||||
(at 0 -12.7 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
(property "Description" "128x32 OLED display module with SSD1306, I2C interface"
|
||||
(at 0 -15.24 0)
|
||||
(effects (font (size 1.27 1.27)) hide)
|
||||
)
|
||||
|
||||
(symbol "OLED_128x32_I2C_0_1"
|
||||
;; Body rectangle
|
||||
(rectangle
|
||||
(start -7.62 6.35)
|
||||
(end 7.62 -6.35)
|
||||
(stroke (width 0.254) (type default))
|
||||
(fill (type background))
|
||||
)
|
||||
;; Display area indication
|
||||
(rectangle
|
||||
(start -6.35 3.81)
|
||||
(end 6.35 -1.27)
|
||||
(stroke (width 0.127) (type default))
|
||||
(fill (type none))
|
||||
)
|
||||
)
|
||||
|
||||
(symbol "OLED_128x32_I2C_1_1"
|
||||
;; Pins (typical pinout: GND, VCC, SCL, SDA)
|
||||
(pin power_in line
|
||||
(at -10.16 3.81 0)
|
||||
(length 2.54)
|
||||
(name "GND" (effects (font (size 1.27 1.27))))
|
||||
(number "1" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin power_in line
|
||||
(at -10.16 1.27 0)
|
||||
(length 2.54)
|
||||
(name "VCC" (effects (font (size 1.27 1.27))))
|
||||
(number "2" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin input line
|
||||
(at -10.16 -1.27 0)
|
||||
(length 2.54)
|
||||
(name "SCL" (effects (font (size 1.27 1.27))))
|
||||
(number "3" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
(pin bidirectional line
|
||||
(at -10.16 -3.81 0)
|
||||
(length 2.54)
|
||||
(name "SDA" (effects (font (size 1.27 1.27))))
|
||||
(number "4" (effects (font (size 1.27 1.27))))
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -0,0 +1,157 @@
|
||||
(footprint "OLED_128x32_I2C"
|
||||
(version 20240108)
|
||||
(generator "pcbnew")
|
||||
(generator_version "8.0")
|
||||
(layer "F.Cu")
|
||||
(descr "0.91 inch 128x32 OLED display module, I2C interface, 4-pin header")
|
||||
(tags "OLED SSD1306 display I2C")
|
||||
(attr through_hole)
|
||||
|
||||
;; Typical 0.91" OLED module dimensions:
|
||||
;; PCB: ~38mm x 12mm (varies by manufacturer)
|
||||
;; Active display: ~22mm x 6mm
|
||||
;; Pin header: 4 pins at 2.54mm pitch on one edge
|
||||
|
||||
;; Reference and value
|
||||
(property "Reference" "MOD2"
|
||||
(at 0 -9 0)
|
||||
(layer "F.SilkS")
|
||||
(uuid "ref-text")
|
||||
(effects
|
||||
(font (size 1 1) (thickness 0.15))
|
||||
)
|
||||
)
|
||||
(property "Value" "OLED_128x32"
|
||||
(at 0 9 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "val-text")
|
||||
(effects
|
||||
(font (size 1 1) (thickness 0.15))
|
||||
)
|
||||
)
|
||||
|
||||
;; Module PCB outline on Fab layer
|
||||
(fp_rect
|
||||
(start -19 -6)
|
||||
(end 19 6)
|
||||
(stroke (width 0.1) (type solid))
|
||||
(fill none)
|
||||
(layer "F.Fab")
|
||||
(uuid "module-outline")
|
||||
)
|
||||
|
||||
;; Silkscreen outline
|
||||
(fp_rect
|
||||
(start -19.5 -6.5)
|
||||
(end 19.5 6.5)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill none)
|
||||
(layer "F.SilkS")
|
||||
(uuid "silk-outline")
|
||||
)
|
||||
|
||||
;; Display active area indication
|
||||
(fp_rect
|
||||
(start -11 -3)
|
||||
(end 11 3)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill none)
|
||||
(layer "F.SilkS")
|
||||
(uuid "display-area")
|
||||
)
|
||||
(fp_text user "DISPLAY"
|
||||
(at 0 0 0)
|
||||
(layer "F.SilkS")
|
||||
(uuid "display-text")
|
||||
(effects
|
||||
(font (size 1 1) (thickness 0.15))
|
||||
)
|
||||
)
|
||||
|
||||
;; Pin 1 indicator
|
||||
(fp_circle
|
||||
(center -18 4.5)
|
||||
(end -17.5 4.5)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill solid)
|
||||
(layer "F.SilkS")
|
||||
(uuid "pin1-dot")
|
||||
)
|
||||
|
||||
;; Courtyard
|
||||
(fp_rect
|
||||
(start -20.5 -7.5)
|
||||
(end 20.5 7.5)
|
||||
(stroke (width 0.05) (type solid))
|
||||
(fill none)
|
||||
(layer "F.CrtYd")
|
||||
(uuid "courtyard")
|
||||
)
|
||||
|
||||
;; Pin header at left edge
|
||||
;; Pins centered vertically, left edge at X=-17
|
||||
;; 4 pins at 2.54mm pitch
|
||||
|
||||
;; Pin 1: GND
|
||||
(pad "1" thru_hole rect
|
||||
(at -17 3.81)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-1")
|
||||
)
|
||||
;; Pin 2: VCC
|
||||
(pad "2" thru_hole oval
|
||||
(at -17 1.27)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-2")
|
||||
)
|
||||
;; Pin 3: SCL
|
||||
(pad "3" thru_hole oval
|
||||
(at -17 -1.27)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-3")
|
||||
)
|
||||
;; Pin 4: SDA
|
||||
(pad "4" thru_hole oval
|
||||
(at -17 -3.81)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-4")
|
||||
)
|
||||
|
||||
;; Pin labels on Fab layer
|
||||
(fp_text user "GND"
|
||||
(at -14 3.81 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-1")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "VCC"
|
||||
(at -14 1.27 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-2")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "SCL"
|
||||
(at -14 -1.27 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-3")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "SDA"
|
||||
(at -14 -3.81 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-4")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
|
||||
;; Alternative: Some modules have pins on bottom edge
|
||||
;; Uncomment and adjust if your module is different
|
||||
;; (pad "1" thru_hole rect (at -3.81 5) ...)
|
||||
)
|
||||
@@ -0,0 +1,360 @@
|
||||
(footprint "RP2040-Zero"
|
||||
(version 20240108)
|
||||
(generator "pcbnew")
|
||||
(generator_version "8.0")
|
||||
(layer "F.Cu")
|
||||
(descr "Waveshare RP2040-Zero module, 2x9 pin headers, 2.54mm pitch")
|
||||
(tags "RP2040 Pico Zero Waveshare")
|
||||
(attr through_hole)
|
||||
|
||||
;; RP2040-Zero dimensions:
|
||||
;; Board: 23.5mm x 18mm
|
||||
;; Pin rows: 2.54mm pitch, 9 pins each side
|
||||
;; Row spacing: 15.24mm (600mil) center to center
|
||||
;; USB-C on top edge
|
||||
|
||||
;; Reference and value
|
||||
(property "Reference" "MOD1"
|
||||
(at 0 -13 0)
|
||||
(layer "F.SilkS")
|
||||
(uuid "ref-text")
|
||||
(effects
|
||||
(font (size 1 1) (thickness 0.15))
|
||||
)
|
||||
)
|
||||
(property "Value" "RP2040-Zero"
|
||||
(at 0 13 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "val-text")
|
||||
(effects
|
||||
(font (size 1 1) (thickness 0.15))
|
||||
)
|
||||
)
|
||||
|
||||
;; Board outline on Fab layer
|
||||
(fp_rect
|
||||
(start -9 -11.75)
|
||||
(end 9 11.75)
|
||||
(stroke (width 0.1) (type solid))
|
||||
(fill none)
|
||||
(layer "F.Fab")
|
||||
(uuid "board-outline")
|
||||
)
|
||||
|
||||
;; Silkscreen outline (slightly larger)
|
||||
(fp_rect
|
||||
(start -9.5 -12.25)
|
||||
(end 9.5 12.25)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill none)
|
||||
(layer "F.SilkS")
|
||||
(uuid "silk-outline")
|
||||
)
|
||||
|
||||
;; USB-C indicator on top
|
||||
(fp_rect
|
||||
(start -4.5 -11.75)
|
||||
(end 4.5 -9.5)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill none)
|
||||
(layer "F.SilkS")
|
||||
(uuid "usb-indicator")
|
||||
)
|
||||
(fp_text user "USB-C"
|
||||
(at 0 -10.5 0)
|
||||
(layer "F.SilkS")
|
||||
(uuid "usb-text")
|
||||
(effects
|
||||
(font (size 0.8 0.8) (thickness 0.12))
|
||||
)
|
||||
)
|
||||
|
||||
;; Pin 1 indicator
|
||||
(fp_circle
|
||||
(center -8.5 -8.5)
|
||||
(end -8 -8.5)
|
||||
(stroke (width 0.12) (type solid))
|
||||
(fill solid)
|
||||
(layer "F.SilkS")
|
||||
(uuid "pin1-dot")
|
||||
)
|
||||
|
||||
;; Courtyard
|
||||
(fp_rect
|
||||
(start -10.5 -13)
|
||||
(end 10.5 13)
|
||||
(stroke (width 0.05) (type solid))
|
||||
(fill none)
|
||||
(layer "F.CrtYd")
|
||||
(uuid "courtyard")
|
||||
)
|
||||
|
||||
;; Left column pins (active low Y, starting from top)
|
||||
;; Pin spacing: 2.54mm, 9 pins = 8 gaps = 20.32mm total
|
||||
;; Center at Y=0, so pins go from Y=-10.16 to Y=+10.16
|
||||
|
||||
;; Left column (X = -7.62mm = -300mil from center)
|
||||
;; Pin 1: 5V
|
||||
(pad "1" thru_hole rect
|
||||
(at -7.62 -10.16)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-1")
|
||||
)
|
||||
;; Pin 2: GND
|
||||
(pad "2" thru_hole oval
|
||||
(at -7.62 -7.62)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-2")
|
||||
)
|
||||
;; Pin 3: 3V3
|
||||
(pad "3" thru_hole oval
|
||||
(at -7.62 -5.08)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-3")
|
||||
)
|
||||
;; Pin 4: GP29
|
||||
(pad "4" thru_hole oval
|
||||
(at -7.62 -2.54)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-4")
|
||||
)
|
||||
;; Pin 5: GP28
|
||||
(pad "5" thru_hole oval
|
||||
(at -7.62 0)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-5")
|
||||
)
|
||||
;; Pin 6: GP27
|
||||
(pad "6" thru_hole oval
|
||||
(at -7.62 2.54)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-6")
|
||||
)
|
||||
;; Pin 7: GP26
|
||||
(pad "7" thru_hole oval
|
||||
(at -7.62 5.08)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-7")
|
||||
)
|
||||
;; Pin 8: GP15
|
||||
(pad "8" thru_hole oval
|
||||
(at -7.62 7.62)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-8")
|
||||
)
|
||||
;; Pin 9: GP14
|
||||
(pad "9" thru_hole oval
|
||||
(at -7.62 10.16)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-9")
|
||||
)
|
||||
|
||||
;; Right column (X = +7.62mm = +300mil from center)
|
||||
;; Pin 10: 3V3
|
||||
(pad "10" thru_hole oval
|
||||
(at 7.62 -10.16)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-10")
|
||||
)
|
||||
;; Pin 11: GND
|
||||
(pad "11" thru_hole oval
|
||||
(at 7.62 -7.62)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-11")
|
||||
)
|
||||
;; Pin 12: GP0 (I2C SDA)
|
||||
(pad "12" thru_hole oval
|
||||
(at 7.62 -5.08)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-12")
|
||||
)
|
||||
;; Pin 13: GP1 (I2C SCL)
|
||||
(pad "13" thru_hole oval
|
||||
(at 7.62 -2.54)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-13")
|
||||
)
|
||||
;; Pin 14: GP2 (TRIG OUT)
|
||||
(pad "14" thru_hole oval
|
||||
(at 7.62 0)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-14")
|
||||
)
|
||||
;; Pin 15: GP3 (RETURN IN)
|
||||
(pad "15" thru_hole oval
|
||||
(at 7.62 2.54)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-15")
|
||||
)
|
||||
;; Pin 16: GP4 (BTN)
|
||||
(pad "16" thru_hole oval
|
||||
(at 7.62 5.08)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-16")
|
||||
)
|
||||
;; Pin 17: GP5
|
||||
(pad "17" thru_hole oval
|
||||
(at 7.62 7.62)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-17")
|
||||
)
|
||||
;; Pin 18: GND
|
||||
(pad "18" thru_hole oval
|
||||
(at 7.62 10.16)
|
||||
(size 1.7 1.7)
|
||||
(drill 1.0)
|
||||
(layers "*.Cu" "*.Mask")
|
||||
(uuid "pad-18")
|
||||
)
|
||||
|
||||
;; Pin labels on Fab layer
|
||||
(fp_text user "5V"
|
||||
(at -5 -10.16 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-1")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GND"
|
||||
(at -5 -7.62 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-2")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "3V3"
|
||||
(at -5 -5.08 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-3")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP29"
|
||||
(at -4.5 -2.54 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-4")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP28"
|
||||
(at -4.5 0 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-5")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP27"
|
||||
(at -4.5 2.54 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-6")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP26"
|
||||
(at -4.5 5.08 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-7")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP15"
|
||||
(at -4.5 7.62 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-8")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP14"
|
||||
(at -4.5 10.16 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-9")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "3V3"
|
||||
(at 5 -10.16 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-10")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GND"
|
||||
(at 5 -7.62 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-11")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP0"
|
||||
(at 4.5 -5.08 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-12")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP1"
|
||||
(at 4.5 -2.54 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-13")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP2"
|
||||
(at 4.5 0 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-14")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP3"
|
||||
(at 4.5 2.54 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-15")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP4"
|
||||
(at 4.5 5.08 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-16")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GP5"
|
||||
(at 4.5 7.62 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-17")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
(fp_text user "GND"
|
||||
(at 5 10.16 0)
|
||||
(layer "F.Fab")
|
||||
(uuid "lbl-18")
|
||||
(effects (font (size 0.6 0.6) (thickness 0.1)))
|
||||
)
|
||||
|
||||
;; 3D model reference (optional)
|
||||
(model "${KIPRJMOD}/3dmodels/RP2040-Zero.step"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
@@ -0,0 +1,4 @@
|
||||
(fp_lib_table
|
||||
(version 7)
|
||||
(lib (name "SN-L00")(type "KiCad")(uri "${KIPRJMOD}/SN-L00.pretty")(options "")(descr "SN-L00 project footprints"))
|
||||
)
|
||||
@@ -0,0 +1,4 @@
|
||||
(sym_lib_table
|
||||
(version 7)
|
||||
(lib (name "SN-L00")(type "KiCad")(uri "${KIPRJMOD}/SN-L00.lib/SN-L00.kicad_sym")(options "")(descr "SN-L00 project symbols"))
|
||||
)
|
||||
Reference in New Issue
Block a user