From fde561406f69c2685d5c40cae8869afb1fa6349f Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 7 Mar 2021 19:48:20 +0100 Subject: [PATCH] Exchange USB-C socket with USB-micro-B I want a 100% SMD part to avoid holes in the board, and was not able to find an entirely SMD type-C connector. --- kicad/aux.sch | 103 ++++++++++++------------- kicad/digital.sch | 2 +- kicad/led_substring.sch | 2 +- kicad/leddie-cache.lib | 72 +++++++---------- kicad/leddie.sch | 166 ++++++++++++++++++++++++++++------------ kicad/power.sch | 5 +- 6 files changed, 199 insertions(+), 151 deletions(-) diff --git a/kicad/aux.sch b/kicad/aux.sch index a567b6d..e537e31 100644 --- a/kicad/aux.sch +++ b/kicad/aux.sch @@ -3,7 +3,7 @@ EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 -Sheet 6 7 +Sheet 4 7 Title "Leddie" Date "2021-03-06" Rev "01" @@ -13,78 +13,46 @@ Comment2 "https://l.notsyncing.net/leddie" Comment3 "" Comment4 "LED + Routing" $EndDescr -$Sheet -S 4050 1650 550 200 -U 6052A1F5 -F0 "led_substring_aux" 47 -F1 "led_substring.sch" 47 -F2 "DOUT" O R 4600 1750 47 -F3 "DIN" I L 4050 1750 47 -$EndSheet -$Comp -L Connector:USB_C_Plug_USB2.0 P? -U 1 1 6055A7C7 -P 1350 1650 -AR Path="/60435139/6055A7C7" Ref="P?" Part="1" -AR Path="/60528580/6055A7C7" Ref="P?" Part="1" -F 0 "P?" H 1457 2517 50 0000 C CNN -F 1 "USB_C_Plug_USB2.0" H 1457 2426 50 0000 C CNN -F 2 "" H 1500 1650 50 0001 C CNN -F 3 "https://www.usb.org/sites/default/files/documents/usb_type-c.zip" H 1500 1650 50 0001 C CNN - 1 1350 1650 - 1 0 0 -1 -$EndComp Wire Wire Line - 1950 1050 2050 1050 + 1400 1150 1500 1150 Wire Wire Line - 2050 1050 2050 950 + 1500 1150 1500 1050 $Comp L power:VBUS #PWR? U 1 1 6055A7CF -P 2050 950 +P 1500 1050 AR Path="/60435139/6055A7CF" Ref="#PWR?" Part="1" AR Path="/60528580/6055A7CF" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 2050 800 50 0001 C CNN -F 1 "VBUS" H 2065 1123 50 0000 C CNN -F 2 "" H 2050 950 50 0001 C CNN -F 3 "" H 2050 950 50 0001 C CNN - 1 2050 950 +F 0 "#PWR?" H 1500 900 50 0001 C CNN +F 1 "VBUS" H 1515 1223 50 0000 C CNN +F 2 "" H 1500 1050 50 0001 C CNN +F 3 "" H 1500 1050 50 0001 C CNN + 1 1500 1050 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 6055A7D5 -P 1200 2750 +P 1050 1950 AR Path="/60435139/6055A7D5" Ref="#PWR?" Part="1" AR Path="/60528580/6055A7D5" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1200 2500 50 0001 C CNN -F 1 "GND" H 1205 2577 50 0000 C CNN -F 2 "" H 1200 2750 50 0001 C CNN -F 3 "" H 1200 2750 50 0001 C CNN - 1 1200 2750 +F 0 "#PWR?" H 1050 1700 50 0001 C CNN +F 1 "GND" H 1055 1777 50 0000 C CNN +F 2 "" H 1050 1950 50 0001 C CNN +F 3 "" H 1050 1950 50 0001 C CNN + 1 1050 1950 1 0 0 -1 $EndComp Wire Wire Line - 1200 2750 1200 2650 -Wire Wire Line - 1200 2650 1350 2650 -Wire Wire Line - 1350 2650 1350 2550 -Wire Wire Line - 1200 2650 1050 2650 -Wire Wire Line - 1050 2650 1050 2550 -Connection ~ 1200 2650 -Text HLabel 2050 1750 2 47 BiDi ~ 0 + 1050 1950 1050 1850 +Text HLabel 1500 1350 2 47 BiDi ~ 0 USB_DP -Text HLabel 2050 1550 2 47 BiDi ~ 0 +Text HLabel 1500 1450 2 47 BiDi ~ 0 USB_DM -NoConn ~ 1950 1250 -NoConn ~ 1950 1350 Wire Wire Line - 2050 1750 1950 1750 + 1500 1350 1400 1350 Wire Wire Line - 1950 1550 2050 1550 + 1400 1450 1500 1450 Text Notes 9100 6900 0 50 ~ 0 This sheet will be used for four PCBs\nwith different component population. $Comp @@ -115,7 +83,7 @@ F 3 "" H 900 3700 50 0001 C CNN $EndComp Wire Wire Line 1400 3600 1500 3600 -Text HLabel 1500 3600 2 50 Input ~ 0 +Text HLabel 1500 3600 2 50 Output ~ 0 ~BTN Wire Wire Line 4050 1750 3950 1750 @@ -125,4 +93,33 @@ Text HLabel 3950 1750 0 50 Input ~ 0 LED_DIN Text HLabel 4700 1750 2 50 Output ~ 0 LED_DOUT +$Comp +L Connector:USB_B_Micro J? +U 1 1 6046866E +P 1100 1350 +F 0 "J?" H 1157 1817 50 0000 C CNN +F 1 "USB_B_Micro" H 1157 1726 50 0000 C CNN +F 2 "" H 1250 1300 50 0001 C CNN +F 3 "~" H 1250 1300 50 0001 C CNN + 1 1100 1350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1000 1750 1000 1850 +Wire Wire Line + 1000 1850 1050 1850 +Wire Wire Line + 1100 1850 1100 1750 +Connection ~ 1050 1850 +Wire Wire Line + 1050 1850 1100 1850 +NoConn ~ 1400 1550 +$Sheet +S 4050 1650 550 200 +U 6052A1F5 +F0 "led_substring_aux" 47 +F1 "led_substring.sch" 47 +F2 "DOUT" O R 4600 1750 47 +F3 "DIN" I L 4050 1750 47 +$EndSheet $EndSCHEMATC diff --git a/kicad/digital.sch b/kicad/digital.sch index a5e0412..4861146 100644 --- a/kicad/digital.sch +++ b/kicad/digital.sch @@ -3,7 +3,7 @@ EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 -Sheet 4 7 +Sheet 2 7 Title "Leddie" Date "2021-03-06" Rev "01" diff --git a/kicad/led_substring.sch b/kicad/led_substring.sch index ea5c4fe..140e1f9 100644 --- a/kicad/led_substring.sch +++ b/kicad/led_substring.sch @@ -3,7 +3,7 @@ EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 -Sheet 3 7 +Sheet 7 7 Title "Leddie" Date "2021-03-06" Rev "01" diff --git a/kicad/leddie-cache.lib b/kicad/leddie-cache.lib index 3106fe0..6c9f664 100644 --- a/kicad/leddie-cache.lib +++ b/kicad/leddie-cache.lib @@ -59,53 +59,39 @@ X 1 1 0 0 100 U 50 50 1 1 P ENDDRAW ENDDEF # -# Connector_USB_C_Plug_USB2.0 +# Connector_USB_B_Micro # -DEF Connector_USB_C_Plug_USB2.0 P 0 40 Y Y 1 F N -F0 "P" -400 750 50 H V L CNN -F1 "Connector_USB_C_Plug_USB2.0" 500 750 50 H V R CNN -F2 "" 150 0 50 H I C CNN -F3 "" 150 0 50 H I C CNN +DEF Connector_USB_B_Micro J 0 40 Y Y 1 F N +F0 "J" -200 450 50 H V L CNN +F1 "Connector_USB_B_Micro" -200 350 50 H V L CNN +F2 "" 150 -50 50 H I C CNN +F3 "" 150 -50 50 H I C CNN +ALIAS USB_B_Mini $FPLIST - USB*C*Plug* + USB* $ENDFPLIST DRAW -A -275 -150 75 -1799 -1 0 1 20 N -350 -150 -200 -150 -A -275 -150 25 -1799 -1 0 1 10 N -300 -150 -250 -150 -A -275 -150 25 -1799 -1 0 1 10 F -300 -150 -250 -150 -A -275 150 25 1 1799 0 1 10 F -250 150 -300 150 -A -275 150 25 1 1799 0 1 10 N -250 150 -300 150 -A -275 150 75 1 1799 0 1 20 N -200 150 -350 150 -C -100 45 25 0 1 10 F -C 0 -230 50 0 1 0 F -S -10 -700 10 -660 0 0 0 N -S 400 -90 360 -110 0 0 0 N -S 400 110 360 90 0 0 0 N -S 400 310 360 290 0 0 0 N -S 400 410 360 390 0 0 0 N -S 400 610 360 590 0 0 0 N -S -400 700 400 -700 0 1 10 f -S -300 -150 -250 150 0 1 10 F -S 75 70 125 120 0 1 10 F -P 2 0 1 20 -350 -150 -350 150 N -P 2 0 1 20 -200 150 -200 -150 N -P 2 0 1 20 0 -230 0 170 N -P 3 0 1 20 0 -130 -100 -30 -100 20 N -P 3 0 1 20 0 -80 100 20 100 70 N -P 4 0 1 10 -50 170 0 270 50 170 -50 170 F -X GND A1 0 -900 200 U 50 50 1 1 P -X GND A12 0 -900 200 U 50 50 1 1 P N -X VBUS A4 600 600 200 L 50 50 1 1 P -X CC A5 600 400 200 L 50 50 1 1 B -X D+ A6 600 -100 200 L 50 50 1 1 B -X D- A7 600 100 200 L 50 50 1 1 B -X VBUS A9 600 600 200 L 50 50 1 1 P N -X GND B1 0 -900 200 U 50 50 1 1 P N -X GND B12 0 -900 200 U 50 50 1 1 P N -X VBUS B4 600 600 200 L 50 50 1 1 P N -X VCONN B5 600 300 200 L 50 50 1 1 B -X VBUS B9 600 600 200 L 50 50 1 1 P N -X SHIELD S1 -300 -900 200 U 50 50 1 1 P +C -150 85 25 0 1 10 F +C -25 135 15 0 1 10 F +S -200 -300 200 300 0 1 10 f +S -5 -300 5 -270 0 1 0 N +S 10 50 -20 20 0 1 10 F +S 200 -205 170 -195 0 1 0 N +S 200 -105 170 -95 0 1 0 N +S 200 -5 170 5 0 1 0 N +S 200 195 170 205 0 1 0 N +P 2 0 1 10 -75 85 25 85 N +P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N +P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N +P 4 0 1 10 25 110 25 60 75 85 25 110 F +P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F +P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N +X VBUS 1 300 200 100 L 50 50 1 1 w +X D- 2 300 -100 100 L 50 50 1 1 B +X D+ 3 300 0 100 L 50 50 1 1 B +X ID 4 300 -200 100 L 50 50 1 1 P +X GND 5 0 -400 100 U 50 50 1 1 w +X Shield 6 -100 -400 100 U 50 50 1 1 P ENDDRAW ENDDEF # diff --git a/kicad/leddie.sch b/kicad/leddie.sch index 9295805..6e35235 100644 --- a/kicad/leddie.sch +++ b/kicad/leddie.sch @@ -14,103 +14,169 @@ Comment3 "" Comment4 "PCB Overview" $EndDescr $Sheet -S 700 700 1400 1350 -U 60435139 -F0 "power" 50 -F1 "power.sch" 50 -$EndSheet -$Sheet -S 2300 700 1400 1350 +S 2750 700 1400 1350 U 60699B96 F0 "digital" 47 F1 "digital.sch" 47 +F2 "USB_DP" B R 4150 850 50 +F3 "USB_DM" B R 4150 950 50 +F4 "~CHG_ACTIVE" I L 2750 850 50 +F5 "~VLED_EN" O L 2750 950 50 +F6 "~BTN" I R 4150 1100 50 +F7 "LED_DOUT" O R 4150 1950 50 $EndSheet $Sheet -S 3900 700 1400 1350 +S 4350 700 1400 1350 U 60528580 F0 "aux" 50 F1 "aux.sch" 50 +F2 "USB_DP" B L 4350 850 50 +F3 "USB_DM" B L 4350 950 50 +F4 "~BTN" O L 4350 1100 50 +F5 "LED_DIN" I L 4350 1950 50 +F6 "LED_DOUT" O R 5750 1950 50 $EndSheet -Text Notes 4250 1450 0 50 ~ 0 -This block will be\nbuilt four times. +Text Notes 4700 1500 0 50 ~ 0 +This block will be\nbuilt four times\nwith different\npopulation options. Wire Notes Line - 2250 2750 2250 3550 + 5100 3900 5100 4700 Wire Notes Line - 2250 3550 3050 3550 + 5100 4700 5900 4700 Wire Notes Line - 3050 2750 2250 2750 + 5900 3900 5100 3900 Wire Notes Line - 3050 3550 3500 3300 + 5900 4700 6350 4450 Wire Notes Line - 3500 3300 3500 2500 + 6350 4450 6350 3650 Wire Notes Line - 3500 2500 3050 2750 + 6350 3650 5900 3900 Wire Notes Line - 2700 2500 2250 2750 + 5550 3650 5100 3900 Wire Notes Line - 3500 2500 2700 2500 + 6350 3650 5550 3650 Wire Notes Line - 2700 2500 2700 3300 + 5550 3650 5550 4450 Wire Notes Line - 2700 3300 3500 3300 + 5550 4450 6350 4450 Wire Notes Line - 2250 3550 2700 3300 -Text Notes 2900 3450 0 50 Italic 0 + 5100 4700 5550 4450 +Text Notes 5750 4600 0 50 Italic 0 power -Text Notes 2800 2650 0 50 Italic 0 +Text Notes 5650 3800 0 50 Italic 0 digital Wire Notes Line - 3550 2900 3700 2900 + 6400 4050 6550 4050 Wire Notes Line - 3550 2900 3600 2850 + 6400 4050 6450 4000 Wire Notes Line - 3550 2900 3600 2950 -Text Notes 3700 2900 0 50 ~ 0 + 6400 4050 6450 4100 +Text Notes 6550 4050 0 50 ~ 0 4x aux Wire Notes Line - 2600 3550 2600 3450 + 5450 4700 5450 4600 Wire Notes Line - 2600 3450 2700 3400 + 5450 4600 5550 4550 Wire Notes Line - 2750 3450 2850 3400 + 5600 4600 5700 4550 Wire Notes Line - 2750 3450 2750 3550 + 5600 4600 5600 4700 Wire Notes Line - 2750 3450 2600 3450 + 5600 4600 5450 4600 Wire Notes Line - 2750 3550 2850 3500 + 5600 4700 5700 4650 Wire Notes Line - 2850 3400 2850 3500 + 5700 4550 5700 4650 Wire Notes Line - 2700 3400 2850 3400 -Text Notes 2600 3550 0 39 ~ 0 + 5550 4550 5700 4550 +Text Notes 5450 4700 0 39 ~ 0 USB Wire Notes Line - 2900 3350 2900 3250 + 5750 4500 5750 4400 Wire Notes Line - 2900 3250 3000 3200 + 5750 4400 5850 4350 Wire Notes Line - 3050 3250 3150 3200 + 5900 4400 6000 4350 Wire Notes Line - 3050 3250 2900 3250 + 5900 4400 5750 4400 Wire Notes Line - 3050 3350 3150 3300 -Text Notes 2900 3350 0 28 ~ 0 + 5900 4500 6000 4450 +Text Notes 5750 4500 0 28 ~ 0 Button Wire Notes Line - 2900 3350 3050 3350 + 5750 4500 5900 4500 Wire Notes Line - 3000 3200 3150 3200 + 5850 4350 6000 4350 Wire Notes Line - 3050 2750 3050 3550 + 5900 3900 5900 4700 Wire Notes Line - 3150 3200 3150 3300 + 6000 4350 6000 4450 Wire Notes Line - 2650 3600 2650 3750 + 5500 4750 5500 4900 Wire Notes Line - 2650 3600 2600 3650 + 5500 4750 5450 4800 Wire Notes Line - 2650 3600 2700 3650 -Text Notes 2250 3950 0 50 ~ 0 + 5500 4750 5550 4800 +Text Notes 5100 5100 0 50 ~ 0 Holes for USB + button\nare on the bottom. +$Sheet +S 1150 700 1400 1350 +U 60435139 +F0 "power" 50 +F1 "power.sch" 50 +F2 "~VLED_EN" I R 2550 950 50 +F3 "~CHG_ACTIVE" O R 2550 850 50 +F4 "LED_DIN" I L 1150 1950 50 +$EndSheet +Wire Wire Line + 2550 850 2750 850 +Wire Wire Line + 2750 950 2550 950 +Wire Wire Line + 4350 1100 4150 1100 +Wire Wire Line + 4150 950 4350 950 +Wire Wire Line + 4350 850 4150 850 +Wire Wire Line + 4350 1950 4150 1950 +Wire Wire Line + 5750 1950 10650 1950 +Wire Wire Line + 10650 1950 10650 2150 +Wire Wire Line + 10650 2150 1050 2150 +Wire Notes Line + 5950 700 5950 2050 +Wire Notes Line + 5950 2050 7350 2050 +Wire Notes Line + 7350 2050 7350 700 +Wire Notes Line + 7350 700 5950 700 +Text Notes 5950 700 0 50 ~ 0 +VSheet: aux +Wire Notes Line + 7550 700 7550 2050 +Wire Notes Line + 7550 2050 8950 2050 +Wire Notes Line + 8950 2050 8950 700 +Wire Notes Line + 8950 700 7550 700 +Text Notes 7550 700 0 50 ~ 0 +VSheet: aux +Wire Notes Line + 9150 700 9150 2050 +Wire Notes Line + 9150 2050 10550 2050 +Wire Notes Line + 10550 2050 10550 700 +Wire Notes Line + 10550 700 9150 700 +Text Notes 9150 700 0 50 ~ 0 +VSheet: aux +Wire Wire Line + 1050 2150 1050 1950 +Wire Wire Line + 1050 1950 1150 1950 $EndSCHEMATC diff --git a/kicad/power.sch b/kicad/power.sch index fc1d69e..96c1abf 100644 --- a/kicad/power.sch +++ b/kicad/power.sch @@ -3,7 +3,7 @@ EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 -Sheet 2 7 +Sheet 6 7 Title "Leddie" Date "2021-03-06" Rev "01" @@ -650,8 +650,7 @@ Text HLabel 4150 4400 0 50 Input ~ 0 LED_DIN Wire Wire Line 4150 4400 4250 4400 -Text HLabel 4900 4400 2 50 Output ~ 0 -LED_DOUT Wire Wire Line 4900 4400 4800 4400 +NoConn ~ 4900 4400 $EndSCHEMATC