commit exisiting parts

usb-cable-tester
King Kévin 3 years ago
commit 7acb3eab6f
  1. 1
      README.md
  2. 13
      capacitor/c0603.yaml
  3. 13
      capacitor/c0805.yaml
  4. 34
      connector/connector_battery_18650.yaml
  5. 350
      connector/connector_idc-2.54.yaml
  6. 61
      connector/connector_lightning_iphone5.yaml
  7. 44
      connector/connector_usb-a-2.0-plug_molex_48037-2200.yaml
  8. 51
      connector/connector_usb-a-3.0_fci_10117835.yaml
  9. 53
      connector/connector_usb-b-3.0_amphenol_gsb4211.yaml
  10. 74
      connector/connector_usb-c_hro_type-c-31-m-04.yaml
  11. 60
      connector/connector_usb-c_xkb_u261-24xn-4bs60.yaml
  12. 84
      connector/connector_usb-c_xkb_u262-24xn-4bv60.yaml
  13. 56
      connector/connector_usb-micro-b-2.0_ali_32910334970.yaml
  14. 82
      connector/connector_usb-micro-b-3.0_gct_usb3110.yaml
  15. 50
      connector/connector_usb-mini-b_edac_690-005-299-043.yaml
  16. 27
      connector/connector_xh-2.54-2p.yaml
  17. 52
      devboard/blue-pill.yaml
  18. 125
      devboard/stm32f103rx-square.yaml
  19. 14
      diode/led0603.yaml
  20. 73
      display/display_lcd_i2cadapter.yaml
  21. 55
      display/display_lcd_lcm1602.yaml
  22. 51
      display/display_oled_0.96in.yaml
  23. 63
      ic/ic_multiplexer_ti_cd74hc4067.yaml
  24. 702
      mcu/ic_mcu_st_stm32f103xb-detailed.yaml
  25. 702
      mcu/ic_mcu_st_stm32f103xb.yaml
  26. 707
      mcu/ic_mcu_st_stm32f103xc.yaml
  27. 32
      mechanical/mechanical_button_6mm.yaml
  28. 13
      resistor/r0603.yaml
  29. 20
      transistor/transistor_pmos_nxp_bss84.yaml
  30. 32
      vreg/vreg_ldo_torex_xc6206.yaml
  31. 35
      vreg/vreg_pmic_tpower_tp4056.yaml

@ -0,0 +1 @@
electronic parts definitions for [QEDA](https://doc.qeda.org/core/)

@ -0,0 +1,13 @@
name: C0603
description: Chip capacitor 1.6x0.8 mm
keywords: Capacitor
schematic:
symbol: capacitor
housing:
pattern: chip
bodyLength: 1.45-1.75
bodyWidth: 0.65-0.95
height: 0.78-0.92
leadLength: 0.2-0.5

@ -0,0 +1,13 @@
name: C0805
description: Chip capacitor 2x1.25 mm
keywords: Capacitor
schematic:
symbol: capacitor
housing:
pattern: chip
bodyLength: 1.8-2.2
bodyWidth: 1.05-1.45
height: 1.1-1.4
leadLength: 0.25-0.75

@ -0,0 +1,34 @@
name: 18650_HOLDER
description: 18650 battery holder
keywords: battery
# https://www.aliexpress.com/item/Carprie-New-DIY-Storage-Box-Holder-Case-For-1-x-18650-Rechargeable-Battery-18Apr20-Dropshipping/32864529390.html
pinout:
BAT+: 1
BAT-: 2
properties:
power: BAT+
ground: BAT-
schematic:
symbol: ic # connector makes weird stuff
top: BAT+
bottom: BAT-
nc: MOUNTING_HOLE
housing:
pattern: custom
bodyWidth: 77.7
bodyLength: 20.9
height: 21.31
# pins
holeDiameter: 2.4
padDiameter: 3.0
padPosition: -36.45, 0, 36.45, 0
# mounting hole
holeDiameter1: 3.2
padDiameter1: 0
padPosition1: -27.805, 0, 27.805, 0

@ -0,0 +1,350 @@
name: IDC-2.54
description: IDC header, 2 rows, 0.1 in/2.54 mm pitch, through hole, straight, box, shrouded
variations: 2x3, 2x4, 2x5, 2x6, 2x7, 2x8, 2x10, 2x12, 2x13, 2x15, 2x17, 2x20, 2x25, 2x30, 2x32
keywords: Connector, Male, IDC
pinout@2x3: 1-6
pinout@2x4: 1-8
pinout@2x5: 1-10
pinout@2x6: 1-12
pinout@2x7: 1-14
pinout@2x8: 1-16
pinout@2x10: 1-20
pinout@2x12: 1-24
pinout@2x13: 1-26
pinout@2x15: 1-30
pinout@2x17: 1-34
pinout@2x20: 1-40
pinout@2x25: 1-50
pinout@2x30: 1-60
pinout@2x32: 1-64
schematic@2x3:
suffix: -2x3
symbol: connector
left: 1, 3, 5
right: 2, 4, 6
schematic@2x4:
suffix: -2x4
symbol: connector
left: 1, 3, 5, 7
right: 2, 4, 6, 8
schematic@2x5:
suffix: -2x5
symbol: connector
left: 1, 3, 5, 7, 9
right: 2, 4, 6, 8, 10
schematic@2x6:
suffix: -2x6
symbol: connector
left: 1, 3, 5, 7, 9, 11
right: 2, 4, 6, 8, 10, 12
schematic@2x7:
suffix: -2x7
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13
right: 2, 4, 6, 8, 10, 12, 14
schematic@2x8:
suffix: -2x8
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15
right: 2, 4, 6, 8, 10, 12, 14, 16
schematic@2x10:
suffix: -2x10
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20
schematic@2x12:
suffix: -2x12
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24
schematic@2x13:
suffix: -2x13
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26
schematic@2x15:
suffix: -2x15
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
schematic@2x17:
suffix: -2x17
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34
schematic@2x20:
suffix: -2x20
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40
schematic@2x25:
suffix: -2x25
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50
schematic@2x30:
suffix: -2x30
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60
schematic@2x32:
suffix: -2x32
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64
housing@2x3:
suffix: -2x3
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 3
bodyLength: 14.72-15.72
housing@2x4:
suffix: -2x4
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 4
bodyLength: 17.26-18.26
housing@2x5:
suffix: -2x5
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 5
bodyLength: 19.8-20.8
housing@2x6:
suffix: -2x6
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 6
bodyLength: 22.34-23.34
housing@2x7:
suffix: -2x7
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 7
bodyLength: 24.88-25.88
housing@2x8:
suffix: -2x8
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 8
bodyLength: 27.42-28.42
housing@2x10:
suffix: -2x10
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 10
bodyLength: 32.5-33.5
housing@2x12:
suffix: -2x12
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 12
bodyLength: 37.58-38.58
housing@2x13:
suffix: -2x13
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 13
bodyLength: 40.12-41.12
housing@2x15:
suffix: -2x15
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 15
bodyLength: 45.2-46.2
housing@2x17:
suffix: -2x17
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 17
bodyLength: 50.28-51.28
housing@2x20:
suffix: -2x20
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 20
bodyLength: 57.9-58.9
housing@2x25:
suffix: -2x25
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 25
bodyLength: 70.6-71.6
housing@2x30:
suffix: -2x30
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 30
bodyLength: 83.3-84.3
housing@2x32:
suffix: -2x32
pattern: custom
options: polarized
height: 8.8-9.1
pitch: 2.54
leadHeight: 3.2-3.4
leadWidth: 0.64
leadLength: 0.64
holeDiameter: 1.0
columnCount: 2
bodyWidth: 8.9-9.1
rowCount: 32
bodyLength: 88.38-89.38

@ -0,0 +1,61 @@
name: LIGHTNING_IPHONE5
description: lightning connector for iPhone 5
datasheet: https://aliexpress.com/item/32923926674.html, 50--5
keywords: connector, lightning
pinout:
GND: 1
L0p: 2
L0n: 3
ID0: 4
PWR: 5
L1n: 6
L1p: 7
ID1: 8
INSERT_DETECT: 9, 10
SHIELD: 11, 12
MOUNTING_TAB: 13, 14
properties:
power: PWR
bidir: L0p, L0n, L1n, L1p, ID0, ID1
ground: GND
passive: INSERT_DETECT, SHIELD, MOUNTING_TAB
schematic:
symbol: connector
top: PWR, INSERT_DETECT
right: L0p, L0n, L1n, L1p, ID0, ID1
bottom: GND, SHIELD, MOUNTING_TAB
housing:
pattern: custom
bodyWidth: 10.30
bodyLength: 8.20
height: 3.3
# lightning
padWidth: 0.4 # lead width = 0.2
padHeight: 1.5 # lead height = 1.3
pitch: 0.6
rowCount: 1
columnCount: 8
rowDX: 0
rowDY: -4.75
# insert detect
padWidth1: 0.4 # lead width = 0.2
padHeight1: 1.5 # lead height = 1.3
padPosition1: -2.93, -4.75, 2.93, -4.75
# shield tabs
padWidth2: 1.6 # lead width = 1.15-1.37
padHeight2: 1.2 # lead height = 1.0
padPosition2: -5.8, -3.3, 5.8, -3.3
# mounting tabs
slotWidth3: 0.6 # tab height = 0.2
slotHeight3: 1.4 # tab height = 1.0
padWidth3: 1.0
padHeight3: 1.8
padPosition3: -5.05, 0.95, 5.05, 0.95 # 7.15/2, 2.3-3.45

@ -0,0 +1,44 @@
name: MOLEX_48037-2200
description: USB 2.0 standard-A plug, right angle
datasheet: https://www.molex.com/pdm_docs/sd/480372200_sd.pdf
keywords: connector, USB
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
GND: 4
SHELL:
SHIELD: 5, 6
properties:
power: VBUS
ground: GND, GND_DRAIN
bidir: D-, D+
passive: SHIELD
schematic:
symbol: connector
right: USB
bottom: SHELL
housing:
pattern: custom
bodyWidth: 12.00
bodyLength: 18.75
bodyPosition: 0, 8.375 # 17.75 - 18.75 / 2
height: 4.50
padWidth: 1.20
padHeight: 3.00
padPosition: 3.50, -2.60, 1.00, -2.60, -1.00, -2.60, -3.50, -2.60
holeDiameter1: 2.50
slotWidth1: 0.70
slotHeight1: 2.50
padPosition1: -5.85, 0, 5.85, 0
holeDiameter2: 1.10
padDiameter2: 0
padPosition2: -2.25, 0, 2.25, 0

@ -0,0 +1,51 @@
name: FCI_10117835
description: USB 3.0 standard-A receptacle, right angle
datasheet: http://www.amphenol-icc.com/media/wysiwyg/files/drawing/10117835.pdf
keywords: connector, usb
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
GND: 4
USB3.0:
SSRX-: 5
SSRX+: 6
GND_DRAIN: 7
SSTX-: 8
SSTX+: 9
SHELL:
SHIELD: 10, 11
properties:
power: VBUS
ground: GND, GND_DRAIN
bidir: D-, D+
in: SSRX-, SSRX+
out: SSTX-, SSTX+
passive: SHIELD
schematic:
symbol: connector
right: USB, USB3.0
bottom: SHELL
housing:
pattern: custom
bodyWidth: 15.88
bodyLength: 16.70
bodyPosition: 0, 3.43
height: 7.0
# USB 2.0
holeDiameter: 0.7
padPosition: -3.5, -2.0, -1.0, -2.0, 1.0, -2.0, 3.5, -2.0
# USB 3.0
holeDiameter1: 0.7
padPosition1: 4.0, -3.5, 2.0, -3.5, 0.0, -3.5, -2.0, -3.5, -4.0, -3.5
# shell/shield
holeDiameter2: 2.3
padPosition2: -6.57, 0, 6.57, 0

@ -0,0 +1,53 @@
name: USB-B-3
description: USB 3.0, type B
# they all have a similar footprint
datasheet: http://www.amphenol-icc.com/media/wysiwyg/files/drawing/gsb4211xxxweu.pdf
keywords: connector, USB
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
GND: 4
USB3.0:
SSTX-: 5
SSTX+: 6
GND_DRAIN: 7
SSRX-: 8
SSRX+: 9
SHIELD: 10, 11
properties:
power: VBUS
ground: GND, GND_DRAIN
bidir: D-, D+
in: SSRX-, SSRX+
out: SSTX-, SSTX+
passive: SHIELD
schematic:
symbol: connector
right: USB, USB3.0
bottom: SHIELD
housing:
pattern: custom
bodyWidth: 12.00
bodyLength: 18.35
bodyPosition: 0, 1.125 # use mounting holes as center (10.3 - 18.35 / 2)
height: 12.90
silkscreen: M -6.02 2.625 6.02 2.625 # PCB edge (3.75 - 1.125)
# USB 2.0 pins
holeDiameter: 0.92
padPosition: 1.25, -4.71, -1.25, -4.71, -1.25, -2.71, 1.25, -2.71
# USB 3.0 pins
holeDiameter1: 0.70
padPosition1: -4.25, -6.71, -2.5, -6.71, 0, -6.71, 2.5, -6.71, 4.25, -6.71
# shell/shield mounting holes
holeDiameter2: 2.3
padPosition2: -6.02, 0, 6.02, 0

@ -0,0 +1,74 @@
name: HRO_TYPE-C-31-M-04
description: USB 3.1 receptacle, type C
datasheet: https://datasheet.lcsc.com/szlcsc/1903211731_Korean-Hroparts-Elec-TYPE-C-31-M-04_C129018.pdf
keywords: connector, USB
pinout:
A:
TX+1: 2
TX-1: 3
CC1: 5
D+1: 6
D-1: 7
SBU1: 8
RX-2: 10
RX+2: 11
B:
RX+1: 14
RX-1: 15
SBU2: 17
D-2: 18
D+2: 19
CC2: 20
TX-2: 22
TX+2: 23
GND: 1, 12, 13, 24
VBUS: 4, 9, 16, 21
SHIELD: 25, 26, 27, 28
MOUNTING: 29, 30
properties:
power: VBUS
ground: GND
bidir: D-, D+, CC1, CC2, SBU1, SBU2
in: RX-1, RX+1, RX-2, RX+2
out: TX-1, TX+1, TX-2, TX+2
passive: SHIELD
nc: MOUNTING
schematic:
symbol: connector
right: A, B
top: VBUS
bottom: GND, SHIELD
housing:
pattern: custom
bodyWidth: 9.55-10.15
bodyLength: 9.87
bodyPosition: 0, 3.235 # use mounting holes line as center (8.17 - 9.87 / 2)
height: 3.32
# A
padWidth: 0.30
padHeight: 0.90
pitch: 0.50
rowCount: 1
columnCount: 12
rowDX: 0
rowDY: -0.56
# B
holeDiameter1: 0.4
padDiameter1: 0.6
padPosition1: -2.875, 0.65, -2.475, 1.35, -1.675, 1.35, -1.275, 0.65, -0.875, 1.35, -0.457, 0.65, 0.457, 0.65, 0.875, 1.35, 1.275, 0.65, 1.675, 1.35, 2.475, 1.35, 2.875, 0.65
# shield
holeDiameter2: 1.1
padDiameter2: 1.5
padPosition2: -4.195, 1.24, 4.195, 1.24, -4.565, 5.64, 4.565, 5.64
# mounting hole
holeDiameter3: 0.65
padPosition3: -3.675, 0, 3.675, 0

@ -0,0 +1,60 @@
name: XKB_U261-24XN-4BS60
descripton: USB-C plug, 24 pins, edge mount
datasheet: https://datasheet.lcsc.com/szlcsc/2001050503_XKB-Enterprise-U261-24XN-4BS60_C319150.pdf
keywords: connector, USB
# LCSC C319150 https://lcsc.com/product-detail/USB-Connectors_XKB-Enterprise-U261-24XN-4BS60_C319150.html
# since QEDA does not allow to put pads on both side, this footprint is one for one side
pinout:
TX+: 2
TX-: 3
CC: 5
D+: 6
D-: 7
SBU: 8
RX-: 10
RX+: 11
GND: 1, 12
VBUS: 4, 9
SHIELD: 25, 26
properties:
power: VBUS
ground: GND
bidir: D-, D+, CC, SBU
in: RX-, RX+
out: TX-, TX+
passive: SHIELD
schematic:
symbol: connector
left: TX+, TX-, CC, D+, D-, SBU, RX-, RX+
top: VBUS
bottom: GND, SHIELD
housing:
pattern: custom
bodyWidth: 8.22-8.28
bodyLength: 11.95-12.45
bodyPosition: 0, 5.45 # use signal pad center (12.20 / 2 - 1.70 + 1.20 - 0.90 + 1.50 / 2)
height: 3.60
# board in connector
silkscreen: M -3.95 -4.4 -3.05 -4.4 M 3.95 -4.4 3.05 -4.4 M -3.05 -4.4 -3.05 -3.5 M 3.05 -4.4 3.05 -3.5 M -3.05 -3.5 3.05 -3.5
# signals
padWidth: 0.30
padHeight: 1.50
pitch: 0.50
rowCount: 1
columnCount: 12
rowDX: 0
rowDY: 0
# shield
padWidth1: 0.70
padHeight1: 1.40
pitch1: 7.20
rowCount1: 1
columnCount1: 2
rowDX1: 0
rowDY1: -0.05

@ -0,0 +1,84 @@
name: XKB_U262-24XN-4BV60
descripton: USB-C receptacle, 24 pins, sutface mouant and through hole
datasheet: https://datasheet.lcsc.com/szlcsc/1905061605_XKB-Enterprise-U262-241N-4BV60_C388659.pdf
keywords: connector, USB
# LCSC C388659 https://lcsc.com/product-detail/New-Arrivals_XKB-Enterprise-U262-241N-4BV60_C388659.html
pinout:
A:
TX+1: 2
TX-1: 3
CC1: 5
D+1: 6
D-1: 7
SBU1: 8
RX-2: 10
RX+2: 11
B:
RX+1: 14
RX-1: 15
SBU2: 17
D-2: 18
D+2: 19
CC2: 20
TX-2: 22
TX+2: 23
GND: 1, 12, 13, 24
VBUS: 4, 9, 16, 21
SHIELD: 25, 26, 27, 28
MOUNTING: 29, 30
properties:
power: VBUS
ground: GND
bidir: D-1, D+1, D-1, D+1, CC1, CC2, SBU1, SBU2
in: RX-1, RX+1, RX-2, RX+2
out: TX-1, TX+1, TX-2, TX+2
passive: SHIELD
nc: MOUNTING
schematic:
symbol: connector
left: A
right: B
top: VBUS
bottom: GND, SHIELD
housing:
pattern: custom
bodyWidth: 9.90
bodyLength: 10
bodyPosition: 0, 3.17 # use mounting holes line as center (8.17 - 10 / 2)
height: 3.26
# A
padWidth: 0.30
padHeight: 0.90
pitch: 0.50
rowCount: 1
columnCount: 12
rowDX: 0
rowDY: -0.56
# B
holeDiameter1: 0.4
padDiameter1: 0.6
padPosition1: -2.875, 0.65, -2.475, 1.35, -1.675, 1.35, -1.275, 0.65, -0.875, 1.35, -0.457, 0.65, 0.457, 0.65, 0.875, 1.35, 1.275, 0.65, 1.675, 1.35, 2.475, 1.35, 2.875, 0.65
# shield
slotWidth2: 0.5
slotHeight2: 1.1
padWidth2: 0.9
padHeight2: 1.5
padPosition2: -4.205, 1.25, 4.205, 1.25, -4.565, 5.64, 4.565, 5.64
# mounting hole
holeDiameter3: 0.65
padPosition3: -3.675, 0, 3.675, 0
# solder tabs
padWidth4: 0.50
padHeight4: 0.30
#padPosition4: -3.445, -1.55, -1.325, -1.55, 1.325, -1.55, 3.445, -1.55
padPosition4: -3.445, -1.55, 3.445, -1.55

@ -0,0 +1,56 @@
name: USB_2_MICRO-B
description: USB 2.0 micro receptacle, type B, SMT
datasheet: https://www.aliexpress.com/item/32910334970.html
keywords: connector, usb
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
ID: 4
GND: 5
SHELL:
MOUNTING_TAB: 6, 7, 8, 9
MOUNTING_HOLE: 10, 11
properties:
power: VBUS
ground: GND
bidir: D-, D+
in: ID
passive: MOUNTING_TAB
nc: MOUNTING_HOLE
schematic:
symbol: connector
right: USB
bottom: MOUNTING_TAB
housing:
pattern: custom
bodyWidth: 8.0
bodyLength: 6.6
bodyPosition: 0, 1.75 # use holes line as center 6.6/2 - (0.8/2 + 3.45 - 2.3)
height: 3.0
silkscreen: M -3.575 2.7 3.575 2.7 # PCB edge
# USB pins
padWidth: 0.4
padHeight: 1.85
pitch: 0.65
rowCount: 1
columnCount: 5
rowDX: 0 # 2 * 0.65
rowDY: -0.720 # -1.85 / 2 + 0.25
# shell mounting tabs
slotWidth1: 0.65
slotHeight1: 1.85
padWidth1: 0.95
padHeight1: 2.15
padPosition1: -3.575, -1.15, 3.575, -1.15, -3.575, 2.30, 3.575, 2.3 # 7.15/2, 2.3-3.45
# mounting holes
holeDiameter2: 0.8
padPosition2: -2.0, 0 , 2.0, 0

@ -0,0 +1,82 @@
name: GCT_USB3110
description: USB 3.0 micro receptacle, type b, SMT
datasheet: https://gct.co/connector/usb3110, https://www.aliexpress.com/item//32808667114.html
keywords: connector, usb
pinout:
USB:
VBUS: 1
D-: 2
D+: 3
ID: 4
GND: 5
USB3.0:
SSTX-: 6
SSTX+: 7
GND_DRAIN: 8
SSRX-: 9
SSRX+: 10
SHELL:
MOUNTING_TAB: 11, 12
MOUNTING_PAD: 13, 14, 15, 16
properties:
power: VBUS
ground: GND, GND_DRAIN
bidir: D-, D+
in: ID, SSRX-, SSRX+
out: SSTX-, SSTX+
passive: MOUNTING_TAB
nc: MOUNTING_PAD
schematic:
symbol: connector
right: USB, USB3.0
bottom: MOUNTING_TAB
housing:
pattern: custom
bodyWidth: 12.85
bodyLength: 5.00
bodyPosition: 0, -0.35 # use tab center line as center
height: 2.45
silkscreen: M -6.275 1.80 6.275 1.80 # PCB edge (1.45 + 0.35)
# USB 2.0 left pins
padWidth: 0.4
padHeight: 1.35
pitch: 0.65 # 1.30 / 2
rowCount: 1
columnCount: 5
rowDX: -2.675 # center of 5 pin ground -(3.60+8.95)/2 + 3.60
rowDY: -2.675 # 2 + 1.35 / 2
# USB 3.0 right pins
padWidth1: 0.4
padHeight1: 1.35
pitch1: 0.65 # 1.30 / 2
rowCount1: 1
columnCount1: 5
rowDX1: 4.025 # center of 5 pin ground -(3.60+8.95)/2 + 3.60 + 6.70
rowDY1: -2.675 # 2 + 1.35 / 2
# shell mounting holes
# slots are not supported by qeda
#holeWidth2: 0.45
#holeHeight2: 1.25 # 0.8 + 0.45
#padWidth2: 1.05
#padHeight2: 1.85 # 0.8 + 0.45 + (1.05 - 0.45)
# use the largest dimension to make a hole of the slot
holeDiameter2: 1.25 # use the largest dimension to make a hole of the slot
padDiameter2: 1.85 # use the largest dimension to make a hole of the slot
padPosition2: -6.275, 0, 6.275, 0 # -(3.60+8.95)/2
# shell
padWidth3: 2.025 # 2.15 - 0.25 / 2
padHeight3: 1.85 # not specified, re-using mounting hole height
padPosition3: -3.875, 0 , -1.475, 0 # -(3.60+8.95)/2 + 3.60 - 0.25 - (2.15-0.25)/2, 0, -(3.60+8.95)/2 + 3.60 + 0.25 + (2.15-0.25)/2, 0
padWidth4: 1.8 # 4.9 - 3.1
padHeight4: 1.85 # not specified, re-using mounting hole height
padPosition4: 1.325, 0 , 3.825, 0 # -(3.60+8.95)/2 + 3.60 + 3.1 + 1.8/2, 0, -(3.60+8.95)/2 + 3.60 + 5.6 + 1.8/2, 0

@ -0,0 +1,50 @@
name: USB_mini-B
description: USB 2.0 receptacle, type mini-B
datasheet: http://files.edac.net/690-005-299-043.pdf
keywords: connector, USB
pinout:
VBUS: 1
D-: 2
D+: 3
ID: 4
GND: 5
SHIELD: 6, 7, 8, 9
properties:
power: VBUS
ground: GND
bidir: D-, D+
passive: ID, SHIELD
schematic:
symbol: connector
right: D-, D+, ID
top: VBUS
bottom: GND, SHIELD
housing:
pattern: custom
bodyWidth: 7.5
bodyLength: 9.2
bodyPosition: 0, 0.6 # use mounting holes line as center (5.2 - 9.2 / 2)
height: 3.88
# USB
padWidth: 0.50
padHeight: 2.30
pitch: 0.80
rowCount: 1
columnCount: 5
rowDX: 0
rowDY: -2.65
# shield
padWidth1: 2.00
padHeight1: 2.50
padPosition1: -4.45, 2.95, 4.45, 2.95, -4.45, -2.55, 4.45, -2.55
# mounting hole
holeDiameter2: 0.90
padPosition2: -2.20, 0, 2.20, 0

@ -0,0 +1,27 @@
name: XH-2.54-2P
# the JST XH series has a pitch of 2.5 mm
description: similar to JST XH series connector, with 2 pins, pitch 2.54 mm
keywords: connector
pinout:
+: 1
-: 2
schematic:
symbol: connector
# measured from actual connector
housing:
pattern: custom
bodyWidth: 7.45
bodyLength: 5.75
height: 7.0
# pins
holeDiameter: 1.0
padDiameter: 1.8
pitch: 2.54
rowCount: 1
columnCount: 2
rowDX: 0
rowDY: -0.425

@ -0,0 +1,52 @@
name: blue-pill
description: STM32F103C8T6-based development board
datasheet: https://wiki.cuvoodoo.info/doku.php?id=stm32f1xx#blue_pill
keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103, Development Board
pinout:
PORTA:
PA0-12: 25-32, 5-9
PA15: 10
PORTB:
PB0-1: 33-34
PB3-15: 11-17, 35-36, 1-4
PORTC:
PC13-15: 22-24
CTRL:
~NRST: 37
GND: 19, 39, 40
POWER:
3V3: 20, 38
5V: 18
VB: 21
properties:
in: ~NRST
bidir: PA0-15, PB0-15, PC13-15
power: 3V3, 5V, VB
ground: GND
inverted: ~NRST
schematic:
symbol: IC
left: PORTA, PORTC
right: PORTB, CTRL
top: POWER
bottom: GND
housing:
pattern: DIP
bodyWidth: 22.5
bodyLength: 53
height: 12.7
pitch: 2.54
leadWidth: 0.64
leadLength: 0.64
leadHeight: 0.5 # should be 6 but the generated pattern would be too large (no idea why)
leadCount: 40
holeDiameter: 1.0
leadSpan: 15
horizontalPitch: 15
verticalPitch: 2.54
rowCount: 20
columnCount: 2

@ -0,0 +1,125 @@
name: stm32f103rx-square
description: STM32F103Rx-based (TQFP-64) square development board
keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103, Development Board
pinout:
PORTA:
PA0: 13
PA1: 16
PA2: 15
PA3: 18
PA4: 19
PA5: 21
PA6: 22
PA7: 23
PA8: 51
PA9: 52
PA10: 49
PA11: 50
PA12: 47
PA13: 48
PA14: 43
PA15: 44
PORTB:
PB0: 26
PB1: 27
PB2: 28
PB3: 37
PB4: 38
PB5: 35
PB6: 36
PB7: 33
PB8: 31
PB9: 32
PB10: 29
PB11: 30
PB12: 59
PB13: 60
PB14: 57
PB15: 58
PORTC:
PC0: 7
PC1: 10
PC2: 9
PC3: 12
PC4: 24
PC5: 25
PC6: 55
PC7: 56
PC8: 53
PC9: 54
PC10: 41
PC11: 42
PC12: 39
PC13: 1
PC14: 4
PC15: 3
PORTD:
PD0: 6
PD1: 5
PD2: 40
CTRL:
~NRST: 8
TX: 67
RX: 66
GND: 11, 17, 45, 64, 68
POWER:
3V3: 20, 34, 46, 63, 65
5V: 61, 62
VDDA: 14
VBAT: 2
properties:
in: ~NRST
bidir: PA0-15, PB0-15, PC0-15, PD0-2
power: 3V3, 5V, VBAT, VDDA
ground: GND
inverted: ~NRST
schematic:
symbol: IC
left: PORTA, PORTB
right: PORTC, PORTD, CTRL
top: POWER
bottom: GND
housing:
pattern: custom
bodyWidth: 50.0
bodyLength: 50.0
height: 20.0
holeDiameter1: 1.0
pitch1: 2.54
rowCount1: 15
columnCount1: 2
columnDX1: -21.59
holeDiameter2: 1.0
pitch2: 2.54
rowCount2: 15
columnCount2: 2
columnDX2: 21.59
holeDiameter3: 1.0
pitch3: 2.54
rowCount3: 2
columnCount3: 4
columnDX3: 12.5
columnDY3: 22.2
holeDiameter4: 2.0
padDiameter4: 0
padPosition4: -21.59, -22.0
holeDiameter5: 2.0
padDiameter5: 0
padPosition5: -21.59, 22.0
holeDiameter6: 2.0
padDiameter6: 0
padPosition6: 21.59, -22.0
holeDiameter7: 2.0
padDiameter7: 0
padPosition7: 21.59, 22.0

@ -0,0 +1,14 @@
name: LED0603
description: Chip LED 1.6x0.8 mm
keywords: LED
schematic:
symbol: LED
housing:
pattern: chip
options: polarized
bodyLength: 1.5-1.7
bodyWidth: 0.7-0.9
height: 0.7-0.9
leadLength: 0.3

@ -0,0 +1,73 @@
name: I2C_LCD_ADAPTER
description: board to communicate with HD44780-based LCD module over I2C
keywords: display, LCD, I2C
datasheet: https://www.aliexpress.com/item/32984738230.html
# this board uses a PCF8574 I/O expander controlled over I2C. here is it's pinout:
# P0: RS
# P1: RnW
# P2: E
# P3: LED
# P4: D4
# P5: D5
# P6: D6
# P7: D7
pinout:
LCD:
LED_K: 1
LED_A: 2
DB7: 3
DB6: 4
DB5: 5
DB4: 6
DB3: 7
DB2: 8
DB1: 9
DB0: 10
E: 11
RnW: 12
RS: 13
VO: 14
VDD: 15
VSS: 16
I2C:
GND: 17
VCC: 18
SDA: 19
SCL: 20
properties:
power: VDD, LED_A, VCC
ground: VSS, LED_K, GND
bidir: DB0-DB7, SDA
in: VO, RS, RnW, E, SCL
schematic:
symbol: ic
top: VCC
bottom: GND
left: SDA, SCL
right: LCD
housing:
pattern: custom
bodyWidth: 42
bodyLength: 19
# LCD pins
holeDiameter: 1.0
padDiameter: 1.8
pitch: 2.54
rowCount: 1
columnCount: 16
rowDX: 0.0
rowDY: -8.0
# LCD pins
holeDiameter1: 1.0
padDiameter1: 1.8
pitch1: 2.54
rowCount1: 4
columnCount1: 1
rowDX1: 19.0
rowDY1: 0.0

@ -0,0 +1,55 @@
name: LCM1602
description: LCD module, 16 characters x 2 lines, HD44780 driver
keywords: display, LCD
# here a version with 3.3V power supply (e.g. with the IC on the side boosting to 5.0V) https://www.aliexpress.com/item/1-pieces-16-2-Character-LCD-Display-LCM-1602-16X2-162-blue-display-HD44780-character-3/32425471801.html
pinout:
VSS: 1
VDD: 2
VO: 3
RS: 4
RnW: 5
E: 6
DB0: 7
DB1: 8
DB2: 9
DB3: 10
DB4: 11
DB5: 12
DB6: 13
DB7: 14
LED_A: 15
LED_K: 16
properties:
power: VDD, LED_A
ground: VSS, LED_K
bidir: DB0
in: VO, RS, RnW, E
schematic:
symbol: connector
left: RS, RnW, E, DB0-7
right: VO, LED_A, LED_K
top: VDD
bottom: VSS
housing:
pattern: custom
bodyWidth: 80.0
bodyLength: 36.0
height: 12.5
# pins
holeDiameter: 1.0
padDiameter: 1.8
pitch: 2.54
rowCount: 1
columnCount: 16
rowDX: -12.95 # 80 / -2 + 8 + 7.5 * 2.54
rowDY: -15.46 # 36 / -2 + 2.54