library: use central repo instead of local files

This commit is contained in:
King Kévin 2020-02-03 16:51:28 +01:00
parent 2f4d035f63
commit 672d55904f
24 changed files with 4 additions and 1597 deletions

3
.gitmodules vendored
View File

@ -2,3 +2,6 @@
path = firmware
url = https://git.cuvoodoo.info/stm32f1
branch = usb_cable_tester
[submodule "hardware/library"]
path = hardware/library
url = https://git.cuvoodoo.info/qeda_library

1
hardware/library Submodule

@ -0,0 +1 @@
Subproject commit 2e1764db7d364072b4681fb68953fb542e372de9

View File

@ -1,13 +0,0 @@
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

View File

@ -1,34 +0,0 @@
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

View File

@ -1,61 +0,0 @@
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

View File

@ -1,44 +0,0 @@
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

View File

@ -1,51 +0,0 @@
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

View File

@ -1,53 +0,0 @@
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

View File

@ -1,74 +0,0 @@
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

View File

@ -1,56 +0,0 @@
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

View File

@ -1,82 +0,0 @@
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

View File

@ -1,50 +0,0 @@
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

View File

@ -1,27 +0,0 @@
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

View File

@ -1,14 +0,0 @@
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

View File

@ -1,73 +0,0 @@
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

View File

@ -1,55 +0,0 @@
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
# mounting hole
holeDiameter1: 2.8
padPosition1: -37.6, -15.6, 37.6, -15.6, -37.6, 15.6, 37.6, 15.6 # 2.4 from the corner
padDiameter1: 0

View File

@ -1,51 +0,0 @@
name: OLED0.96
description: OLED display module, 0.96 in., SSD1306, 128x96 pixels
keywords: display, OLED
datasheet: https://aliexpress.com/item/32896971385.html
pinout:
GND: 1
VDD: 2
I2C:
SCK: 3
SDA: 4
properties:
power: VDD
ground: GND
bidir: SDA
in: SCK
schematic:
symbol: ic
left: I2C
top: VDD
bottom: GND
housing:
pattern: custom
# from the drawing
#bodyWidth: 24.7
# measured from the module I have
bodyWidth: 27
bodyLength: 27
height: 11.30
# pins
holeDiameter: 1.0
padDiameter: 1.8
pitch: 2.54
rowCount: 1
columnCount: 4
rowDX: 0
rowDY: -12.0
# mounting hole (from the drawing)
holeDiameter1: 2.8
padPosition1: -10.25, -11.5, 10.25, -11.5, -10.25, 11.5, 10.25, 11.5
padDiameter1: 0
# mounting hole (measured from the module I have)
holeDiameter2: 2.8
padPosition2: -11.15, -11.5, 11.15, -11.5, -11.15, 11.5, 11.15, 11.5
padDiameter2: 0

View File

@ -1,20 +0,0 @@
name: CSM-7
description: SMD Quartz Crystal
datasheet: http://www.ecsxtal.com/store/pdf/csm_7.pdf
keywords: Crystal
schematic:
symbol: crystal
housing:
pattern: crystal
bodyLength: 11.3-11.5
bodyWidth: 4.8
height: 4.3
leadWidth: 0.51-0.75
leadLength: 4.4
leadSpan: 13.2
padWidth: 5.5
padHeight: 2
padSpace: 4

View File

@ -1,707 +0,0 @@
name: STM32F103xC
alias: STM32F103xD, STM32F103xE
suffix: 6, 7
variations: LQFP64, LQFP100, LQFP144, WLCSP64, LFBGA100, LFBGA144
description: STM32F103xC/STM32F103xD/STM32F103xE ARM Cartex-M3 micro-controller
keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103
datasheet: https://www.st.com/resource/en/datasheet/stm32f103rc.pdf
pinout@LQFP64:
PORTA:
PA0-WKUP: 14
PA1: 15
PA2: 16
PA3: 17
PA4: 20
PA5: 21
PA6: 22
PA7: 23
PA8: 41
PA9: 42
PA10: 43
PA11: 44
PA12: 45
PA13: 46
PA14: 49
PA15: 50
PORTB:
PB0: 26
PB1: 27
PB2: 28
PB3: 55
PB4: 56
PB5: 57
PB6: 58
PB7: 59
PB8: 61
PB9: 62
PB10: 29
PB11: 30
PB12: 33
PB13: 34
PB14: 35
PB15: 36
PORTC:
PC0: 8
PC1: 9
PC2: 10
PC3: 11
PC4: 24
PC5: 25
PC6: 37
PC7: 38
PC8: 39
PC9: 40
PC10: 51
PC11: 52
PC12: 53
PC13-TAMPER-RTC: 2
PC14-OSC32_IN: 3
PC15-OSC32_OUT: 4
PORTD:
PD2: 54
CTRL:
OSC_IN: 5
OSC_OUT: 6
NRST: 7
BOOT0: 60
GROUND:
VSS: 31, 47, 63, 18
VSSA: 12
POWER:
VDD: 32, 48, 64, 19
VDDA: 13
VBAT: 1
pinout@LQFP100:
PORTA:
PA0-WKUP: 23
PA1: 24
PA2: 25
PA3: 26
PA4: 29
PA5: 30
PA6: 31
PA7: 32
PA8: 67
PA9: 68
PA10: 69
PA11: 70
PA12: 71
PA13: 72
PA14: 76
PA15: 77
PORTB:
PB0: 35
PB1: 36
PB2: 37
PB3: 89
PB4: 90
PB5: 91
PB6: 92
PB7: 93
PB8: 95
PB9: 96
PB10: 47
PB11: 48
PB12: 51
PB13: 52
PB14: 53
PB15: 54
PORTC:
PC0: 15
PC1: 16
PC2: 17
PC3: 18
PC4: 33
PC5: 34
PC6: 63
PC7: 64
PC8: 65
PC9: 66
PC10: 78
PC11: 79
PC12: 80
PC13-TAMPER-RTC: 7
PC14-OSC32_IN: 8
PC15-OSC32_OUT: 9
PORTD:
PD0: 81
PD1: 82
PD2: 83
PD3: 84
PD4: 85
PD5: 86
PD6: 87
PD7: 88
PD8: 55
PD9: 56
PD10: 57
PD11: 58
PD12: 59
PD13: 60
PD14: 61
PD15: 62
PORTE:
PE0: 97
PE1: 98
PE2: 1
PE3: 2
PE4: 3
PE5: 4
PE6: 5
PE7: 38
PE8: 39
PE9: 40
PE10: 41
PE11: 42
PE12: 43
PE13: 44
PE14: 45
PE15: 47
CTRL:
OSC_IN: 12
OSC_OUT: 13
NRST: 14
BOOT0: 94
GROUND:
VSS: 49, 74, 99, 27, 10
VSSA: 19
VREF-: 20
POWER:
VDD: 50, 75, 100, 28, 11
VDDA: 22
VBAT: 6
VREF+: 21
NC: 73
pinout@LQFP144:
PORTA:
PA0-WKUP: 34
PA1: 35
PA2: 36
PA3: 37
PA4: 40
PA5: 41
PA6: 42
PA7: 43
PA8: 100
PA9: 101
PA10: 102
PA11: 103
PA12: 104
PA13: 105
PA14: 109
PA15: 110
PORTB:
PB0: 46
PB1: 47
PB2: 48
PB3: 133
PB4: 134
PB5: 135
PB6: 136
PB7: 137
PB8: 139
PB9: 140
PB10: 69
PB11: 70
PB12: 73
PB13: 74
PB14: 75
PB15: 76
PORTC:
PC0: 26
PC1: 27
PC2: 28
PC3: 29
PC4: 44
PC5: 45
PC6: 96
PC7: 97
PC8: 98
PC9: 99
PC10: 111
PC11: 112
PC12: 113
PC13-TAMPER-RTC: 7
PC14-OSC32_IN: 8
PC15-OSC32_OUT: 9
PORTD:
PD0: 114
PD1: 115
PD2: 116
PD3: 117
PD4: 118
PD5: 119
PD6: 122
PD7: 123
PD8: 77
PD9: 78
PD10: 79
PD11: 80
PD12: 81
PD13: 82
PD14: 85
PD15: 86
PORTE:
PE0: 141
PE1: 142
PE2: 1
PE3: 2
PE4: 3
PE5: 4
PE6: 5
PE7: 58
PE8: 59
PE9: 60
PE10: 63
PE11: 64
PE12: 65
PE13: 66
PE14: 67
PE15: 68
PORTF:
PF0: 10
PF1: 11
PF2: 12
PF3: 13
PF4: 14
PF5: 15
PF6: 18
PF7: 19
PF8: 20
PF9: 21
PF10: 22
PF11: 49
PF12: 50
PF13: 53
PF14: 54
PF15: 55
PORTG:
PG0: 56
PG1: 57
PG2: 87
PG3: 88
PG4: 89
PG5: 90
PG6: 91
PG7: 92
PG8: 93
PG9: 124
PG10: 125
PG11: 126
PG12: 127
PG13: 128
PG14: 129
PG15: 132
CTRL:
OSC_IN: 23
OSC_OUT: 24
NRST: 25
BOOT0: 138
GROUND:
VSS: 71, 107, 143, 38, 16, 51, 61, 83, 94, 120, 130
VSSA: 30
VREF-: 31
POWER:
VDD: 72, 108, 144, 39, 17, 52, 62, 84, 95, 121, 131
VDDA: 33
VBAT: 6
VREF+: 32
NC: 106
pinout@WLCSP64:
PORTA:
PA0-WKUP: F6
PA1: E6
PA2: H8
PA3: G7
PA4: H7
PA5: E5
PA6: G5
PA7: G4
PA8: E4
PA9: D2
PA10: D3
PA11: C1
PA12: C2
PA13: D4
PA14: B2
PA15: C3
PORTB:
PB0: H4
PB1: F4
PB2: H3
PB3: A4
PB4: B4
PB5: A5
PB6: B5
PB7: C5
PB8: D5
PB9: B6
PB10: G3
PB11: F3
PB12: G2
PB13: G1
PB14: F2
PB15: F1
PORTC:
PC0: E8
PC1: F8
PC2: D6
PC4: H6
PC5: H5
PC6: E1
PC7: E2
PC8: E3
PC9: D1
PC10: A2
PC11: B3
PC12: C4
PC13-TAMPER-RTC: C8
PC14-OSC32_IN: B8
PC15-OSC32_OUT: B7
PORTD:
PD0: D8
PD1: D7
PD2: A3
CTRL:
OSC_IN: D8
OSC_OUT: D7
NRST: C7
BOOT0: A6
GROUND:
VSS: H2, B1, A7, F5
VSSA: E7
POWER:
VDD: H1, A1, A8, G6
VDDA: G8
VBAT: C6
VREF+: F7
pinout@LFBGA100:
PORTA:
PA0-WKUP: G2
PA1: H2
PA2: J2
PA3: K2
PA4: G3
PA5: H3
PA6: J3
PA7: K3
PA8: D9
PA9: C9
PA10: D10
PA11: C10
PA12: B10
PA13: A10
PA14: A9
PA15: A8
PORTB:
PB0: J4
PB1: K4
PB2: G5
PB3: A7
PB4: A6
PB5: C5
PB6: B5
PB7: A5
PB8: B4
PB9: A4
PB10: J7
PB11: K7
PB12: K8
PB13: J8
PB14: H8
PB15: G8
PORTC:
PC0: F1
PC1: F2
PC2: E2
PC3: F3
PC4: G4
PC5: H4
PC6: F10
PC7: E10
PC8: F9
PC9: E9
PC10: B9
PC11: B8
PC12: C8
PC13-TAMPER-RTC: A2
PC14-OSC32_IN: A1
PC15-OSC32_OUT: B1
PORTD:
PD0: D8
PD1: E8
PD2: B7
PD3: C7
PD4: D7
PD5: B6
PD6: C6
PD7: D6
PD8: K9
PD9: J9
PD10: H9
PD11: G9
PD12: K10
PD13: J10
PD14: H10
PD15: G10
PORTE:
PE0: D4
PE1: C4
PE2: A3
PE3: B3
PE4: C3
PE5: D3
PE6: E3
PE7: H5
PE8: J5
PE9: K5
PE10: G6
PE11: H6
PE12: J6
PE13: K6
PE14: G7
PE15: H7
CTRL:
OSC_IN: C1
OSC_OUT: D1
NRST: E1
BOOT0: D5
GROUND:
VSS: E7, E6, E5, E4, C2
VSSA: G1
VREF-: H1
POWER:
VDD: F7, F6, F5, F4, D2
VDDA: K1
VBAT: B2
VREF+: J1
NC: F8
pinout@LFBGA144:
PORTA:
PA0-WKUP: J2
PA1: K2
PA2: L2
PA3: M2
PA4: J3
PA5: K3
PA6: L3
PA7: M3
PA8: E12
PA9: D12
PA10: D11
PA11: C12
PA12: B12
PA13: A12
PA14: A11
PA15: A10
PORTB:
PB0: L4
PB1: M4
PB2: J5
PB3: A7
PB4: A6
PB5: B6
PB6: C6
PB7: D6
PB8: C5
PB9: B5
PB10: M9
PB11: M10
PB12: M11
PB13: M12
PB14: L11
PB15: L12
PORTC:
PC0: H1
PC1: H2
PC2: H3
PC3: H4
PC4: J4
PC5: K4
PC6: G12
PC7: F12
PC8: F11
PC9: E11
PC10: B11
PC11: B10
PC12: C10
PC13-TAMPER-RTC: A1
PC14-OSC32_IN: B1
PC15-OSC32_OUT: C1
PORTD:
PD0: E10
PD1: D10
PD2: E9
PD3: D9
PD4: C9
PD5: B9
PD6: A8
PD7: A9
PD8: L9
PD9: K9
PD10: J9
PD11: H9
PD12: L10
PD13: K10
PD14: K11
PD15: K12
PORTE:
PE0: A5
PE1: A4
PE2: A3
PE3: A2
PE4: B2
PE5: B3
PE6: B4
PE7: M7
PE8: L7
PE9: K7
PE10: J7
PE11: H8
PE12: J8
PE13: K8
PE14: L8
PE15: M8
PORTF:
PF0: C3
PF1: C4
PF2: D4
PF3: E2
PF4: E3
PF5: E4
PF6: F3
PF7: F2
PF8: G3
PF9: G2
PF10: G1
PF11: M5
PF12: L5
PF13: K5
PF14: M6
PF15: L6
PORTG:
PG0: K6
PG1: J6
PG2: J12
PG3: J11
PG4: J10
PG5: H12
PG6: H11
PG7: H10
PG8: G11
PG9: E8
PG10: D8
PG11: C8
PG12: B8
PG13: D7
PG14: C7
PG15: B7
CTRL:
OSC_IN: D1
OSC_OUT: E1
NRST: F1
BOOT0: D5
GROUND:
VSS: H7, G9, E5, G4, D2, H5, H6, G8, G10, E7, E6
VSSA: J1
VREF-: K1
POWER:
VDD: G7, F9, F5, F4, D3, G5, G6, F8, F10, F7, F6
VDDA: M1
VBAT: C2
VREF+: L1
NC: C11
properties:
in: NRST, BOOT0
bidir: PA0-WKUP:, PA0-WKUP, PA1-15, PB0-15, PC0-12, PC13-TAMPER-RTC, PC14-OSC32_IN, PC15-OSC32_OUT, PD0-15, PE0-15, PF0-15, PG0-15
passive: OSC_IN, OSC_OUT, VREF+, VREF-
power: VDD, VDDA, VBAT
nc: NC
ground: VSS, VSSA
inverted: ~NRST
schematic:
symbol: IC
left: CTRL, PORTA, PORTB, PORTC
right: PORTD, PORTE, PORTF, PORTG
top: POWER
bottom: GROUND
housing@LFBGA144:
pattern: BGA
bodyWidth: 9.850-10.150 # E
bodyLength: 9.850-10.150 # D
height: 1.700 # A
pitch: 0.800 # e
rowCount: 12
columnCount: 12
leadDiameter: 0.150 # eee
leadCount: 144
housing@LFBGA100:
pattern: BGA
bodyWidth: 9.850-10.150 # E
bodyLength: 9.850-10.150 # D
height: 1.700 # A
pitch: 0.800 # e
rowCount: 10
columnCount: 10
leadDiameter: 0.150 # eee
leadCount: 100
housing@WLCSP64:
pattern: BGA
bodyWidth: 4.446-4.486 # D
bodyLength: 4.375-4.415 # E
height: 0.535-0.635 # A
pitch: 0.500 # e
rowCount: 8
columnCount: 8
leadDiameter: 0.290-0.350 # b
leadCount: 64
housing@LQFP144:
pattern: QFP
bodyWidth: 19.80-20.20 # D1
bodyLength: 19.80-20.20 # E1
height: 1.600 # A
leadWidth: 0.17-0.27 # b
leadLength: 0.45-0.75 # L
leadSpan: 21.80-22.20 # D
pitch: 0.5 # e
leadCount: 144
rowCount: 36
columnCount: 36
housing@LQFP100:
pattern: QFP
bodyWidth: 13.800-14.200 # D1
bodyLength: 13.800-14.200 # E1
height: 1.600 # A
leadWidth: 0.17-0.27 # b
leadLength: 0.45-0.75 # L
leadSpan: 15.800-16.200 # D
pitch: 0.5 # e
leadCount: 100
rowCount: 25
columnCount: 25
housing@LQFP64:
pattern: QFP
bodyWidth: 9.8-10.2 # D1
bodyLength: 9.8-10.2 # E1
height: 1.600 # A
leadWidth: 0.17-0.27 # b
leadLength: 0.45-0.75 # L
leadSpan: 11.8-12.2 # D
pitch: 0.5 # e
leadCount: 64
rowCount: 16
columnCount: 16

View File

@ -1,32 +0,0 @@
name: BUTTON6MM
description: 6x6 mm tactile button, though hole
keywords: mechanical, button
# 1A and 1B are internally connected
# 2A and 2B are internally connected
# 1x/2x are momentarily connected when the button is pressed
pinout:
1A: 1
2A: 2
2B: 3
1B: 4
schematic:
symbol: connector
left: 1A, 1B
right: 2A, 2B
housing:
pattern: custom
bodyLength: 6.0
bodyWidth: 6.0
holeDiameter: 1.0
padDiameter: 1.4
# this numbers the pins not as I would like
#rowCount: 2
#columnCount: 2
#verticalPitch: 4.5
#horizontalPitch: 6.5
padPosition: -3.25, -2.25, -3.25, 2.25, 3.25, 2.25, 3.25, -2.25

View File

@ -1,13 +0,0 @@
name: R0603
description: Chip resistor 1.6x0.8 mm
keywords: Resistor, 1/10W
schematic:
symbol: resistor
housing:
pattern: chip
bodyLength: 1.5-1.7
bodyWidth: 0.7-0.9
height: 0.35-0.55
leadLength: 0.15-0.45

View File

@ -1,20 +0,0 @@
name: BSS84
description: P-channel enhancement mode vertical DMOS transistor
keywords: transistor, MOSFET, pMOS
datasheet: https://assets.nexperia.com/documents/data-sheet/BSS84.pdf
pinout:
G: 1
S: 2
D: 3
properties:
in: G
pasive: S, D
schematic:
symbol: FET
options: p, diode
housing:
outline: JEDEC TO-236 AB

View File

@ -1,32 +0,0 @@
name: XC6206
description: positive voltage regulators
variations: MR
datasheet: https://www.torexsemi.com/file/xc6206/XC6206.pdf
keywords: IC, regulator
pinout@MR:
VSS: 1
VOUT: 2
VIN: 3
properties@MR:
power: VIN
output: VOUT
ground: VSS
schematic@MR:
symbol: IC
left: VIN
right: VOUT
bottom: VSS
housing@MR:
pattern: SOT23
bodyWidth: 1.5-1.8 # E1
bodyLength: 2.7-3.1 # D
leadSpan: 2.6-3.0 # E
leadWidth: 0.395-4.1 # b
leadLength: 0.2 # L
height: 1.3 # A
pitch: 0.95 # e
leadCount: 3

View File

@ -1,35 +0,0 @@
name: TP4056
description: 1A Standalone Linear Li-lon Battery Charger
keywords: IC, PMIC, battery, charger
datasheet: https://datasheet.lcsc.com/szlcsc/1910111742_TPOWER-TP4056_C382139.pdf
pinout:
TEMP: 1
PROG: 2
GND: 3
VCC: 4
BAT: 5
nSTDBY: 6
nCHRG: 7
CE: 8
schematic:
symbol: IC
top: VCC
bottom: GND
left: CE, nSTDBY, nCHRG
right: BAT, TEMP, PROG
housing:
pattern: SOP
bodyWidth: 3.8-4.0 # E
bodyLength: 4.7-5.1 # D
height: 1.35-1.75 # A
pitch: 1.270 # e
leadCount: 8
leadLength: 0.4-1.27 # L
leadSpan: 5.8-6.2 # E1
leadWidth: 0.33-0.51 # b
tabLength: 3.202-4.402 # D1
tabWidth: 2.313-2.513 # E2