From: Keith Packard Date: Fri, 13 Nov 2015 08:28:26 +0000 (-0800) Subject: Add parts for lego board update X-Git-Tag: telelco-v3.0~653 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=676f7f2b2ce57ff83a6dae27fd21e4bc65a7cef4;p=hw%2Faltusmetrum Add parts for lego board update High current 5V regulator, new USB micro B with tangs and a 4 dpst dip switch. Signed-off-by: Keith Packard --- diff --git a/packages/2013499-1.5c b/packages/2013499-1.5c new file mode 100644 index 0000000..587e478 --- /dev/null +++ b/packages/2013499-1.5c @@ -0,0 +1,75 @@ +/* + * Copyright © 2015 Keith Packard + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +/* TE 2013499-1 USB micro B with solder tangs. Y origin is the board edge */ + +load "footprint.5c" +import Footprint; + +real pad_width = 0.4; +real pad_height = 1.35; +real pad_spacing = 0.65; +real pad_y = 1.45 + 3.35 - pad_height/2; + +real tab_width = 1.9; +real tab_height = 1.9; +real tab_x = 0.5 + tab_width / 2; +real tab_y = 1.45; + +real tang_y = 1.45; +real tang_radius = 0.36; +real tang_length = 1.2; +real tang_x = 5.8/2 + tang_radius; +real tang_copper = 0.22; + +real wing_width = 1.6; +real wing_height = 1.4; +real wing_x = 2.4 + wing_width/2; +real wing_y = 1.45 + 3.35 - 0.9; + +real pkg_width = 6.1; +real pkg_height = 7.9; +real edge_height = 4.8; +real edge_width = 2 * (wing_inner + wing_width); + +element_start("2013499-1"); + +pad_mm(pad_spacing* 2, pad_y, pad_width, pad_height, "VBUS", "1"); +pad_mm(pad_spacing* 1, pad_y, pad_width, pad_height, "D-", "2"); +pad_mm(pad_spacing* 0, pad_y, pad_width, pad_height, "D+", "3"); +pad_mm(pad_spacing*-1, pad_y, pad_width, pad_height, "HS", "4"); +pad_mm(pad_spacing*-2, pad_y, pad_width, pad_height, "GND", "5"); + +/* "Wings", which are next to the signal pads */ + +pad_mm_clear(-wing_x, wing_y, wing_width, wing_height, 0, "GND", "5"); +pad_mm_clear( wing_x, wing_y, wing_width, wing_height, 0, "GND", "5"); + +/* Tabs under package */ + +pad_mm_clear(-tab_x, tab_y, tab_width, tab_height, 0, "GND", "5"); +pad_mm_clear( tab_x, tab_y, tab_width, tab_height, 0, "GND", "5"); + +/* tangs at edges of package */ + +pin_mm_clear(-tang_x, tang_y - tang_length / 2, tang_radius * 2, tang_copper, 0, "GND", "5"); +pin_mm_clear(-tang_x, tang_y + tang_length / 2, tang_radius * 2, tang_copper, 0, "GND", "5"); + +pin_mm_clear( tang_x, tang_y - tang_length / 2, tang_radius * 2, tang_copper, 0, "GND", "5"); +pin_mm_clear( tang_x, tang_y + tang_length / 2, tang_radius * 2, tang_copper, 0, "GND", "5"); + +element_end(); diff --git a/packages/Makefile b/packages/Makefile index 4a4ddb1..7dc89bd 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -89,11 +89,13 @@ FOOTPRINTS= \ DO-214AC.fp \ BU2032SM.fp \ TO252AA.fp \ + TO252.fp \ SD.fp \ microSD.fp \ v-bite.fp \ qfn16-3x3.fp \ - 1051330011.fp + 1051330011.fp \ + 2013499-1.fp .5c.fp: nickle $*.5c > $@ diff --git a/packages/TO252.5c b/packages/TO252.5c new file mode 100644 index 0000000..efe6423 --- /dev/null +++ b/packages/TO252.5c @@ -0,0 +1,53 @@ +/* + * Copyright © 2015 Keith Packard + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +/* TO-252/DPAK footprint from ST */ + +load "footprint.5c"; +import Footprint; + +real gnd_width = 6.3; +real gnd_height = 6.1; + +real pad_width = 1.5; +real pad_height = 2.8; +real pad_space = 4.572; + +real total_height = 10.7; +real gnd_y = pad_height / 2 + gnd_height / 2 - total_height; + +real pkg_width = 6.5; +real pkg_height = 6.1; +real pkg_center_y = 1.5/2 - 2.8 - pkg_height/2; + +element_start("TO252"); + +pad_mm(-pad_space/2, 0, + pad_width, pad_height, + "1", "1"); + +pad_mm(0, gnd_y, + gnd_width, gnd_height, + "2", "2"); + +pad_mm(pad_space/2, 0, + pad_width, pad_height, + "3", "3"); + +rect(-pkg_width / 2, pkg_center_y - pkg_height/2, pkg_width, pkg_height); + +element_end(); diff --git a/preferred-parts b/preferred-parts index afbbf4b..4a4f17a 100644 --- a/preferred-parts +++ b/preferred-parts @@ -8,12 +8,14 @@ BEEPER TDK_PS12 TDK_PS12 throughhole no PS1240P02BT digikey 445-2525-1-ND CAPACITOR 0.01uF 0402 smt no CC0402KRX7R9BB103 digikey 311-1349-1-ND CAPACITOR 0.1uF 0402 smt no C0402C104K8PACTU digikey 399-3027-1-ND CAPACITOR 0.22uF 0402 smt no LMK105BJ224KV-F digikey 587-1228-1-ND +CAPACITOR 0.33uF 0402 smt no C1005X5R1E334K050BB digikey 445-8018-1-ND CAPACITOR 100pF 0402 smt no CC0402JRNPO9BN101 digikey 311-1024-1-ND CAPACITOR 10nF 0402 smt no 250R07W103KV4T digikey 709-1132-1-ND CAPACITOR 10pF 0402 smt no GRM1555C1H100JA01D digikey 490-5921-1-ND CAPACITOR 1.8nF 0402 smt no GRM155R71H182KA01D digikey 490-3246-1-ND CAPACITOR 18pF 0402 smt no GRM1555C1H180FA01D digikey 490-6203-1-ND CAPACITOR 1uF 0402 smt no GRM155R60J105KE19D digikey 490-1320-1-ND +CAPACITOR 10uF 0805 smt no C0805C106Z8VACTU digikey 399-8015-1-ND CAPACITOR 220pF 0402 smt no UMK105CG221JV-F digikey 587-1215-1-ND CAPACITOR 22pF 0402 smt no CC0402JRNPO9BN220 digikey 311-1018-1-ND CAPACITOR 2.2pF 0402 smt no GRM1555C1H2R2CA01D digikey 490-5932-1-ND @@ -46,6 +48,7 @@ CONNECTOR SMA sma-edge handload no 73251-2120 mouser 538-73251-2120 CONNECTOR Terminal-4 282834-4 throughhole no 20067 4ucon 20087 CONNECTOR USBcable usbcable handload no 88728-3400 mouser 538-88728-3400 CONNECTOR USBmicroB ZX62-B-5PA smt yes 18575 4ucon 18575 +CONNECTOR USBmicroB 2013499-1 smt no 2013499-1 digikey A107962CT-ND CONNECTOR USBmicroV 1051330011 smt no 1051330011 digikey WM10134CT-ND CONNECTOR BNC v-bite smt no 361V504ET digikey 991-1037-ND CONNECTOR BigTerminal-10 mkds5n-10 throughhole no 1777626 mouser 651-1777626 @@ -78,6 +81,7 @@ IC DRV8838 s-pwson-n8 smt no DRV8838DSGT digikey 296-37539-1-ND IC DS1307 SOIJ8 smt no DS1307Z+T&R mouser 700-DS1307ZT&R IC FT232RQ TI-QFN32 smt no FT232RQ-REEL digikey 768-1008-1-ND IC HMC5883L LPCC16 smt no HMC5883L-TR digikey 342-1082-1-ND +IC LD29150DT50R TO252 smt no LD29150DT50R digikey 497-3468-1-ND IC LM293 8ufson2x2 smt no LM293QT mouser 511-LM293QT IC LP2985 SOT23-5 smt no LP2985-50DBVR digikey 296-20717-1-ND IC LPC11U14FHI33 hvqfn33 smt no LPC11U14FHI33/201 avnet LPC11U14FHI33/201 @@ -144,3 +148,4 @@ RESISTOR 8.06k 0402 smt no ERJ-2RKF8061X digikey P8.06KLCT-ND RESISTOR 9.09k 0402 smt no ERJ-2RKF9091X digikey P9.09KLCT-ND SWITCH On/OFF PNswitchDPDT throughhole no PN22SJNA03QE digikey CKN1191-ND SWITCH SPDT cus-12 smt no CUS-12TB digikey 563-1102-1-ND +SWITCH DPST DIP16 throughhole no 206-214 digikey CT206214-ND