From fadfb29ee035a80af684d7c2c8a09b63593d4cfb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 3 May 2021 14:40:02 -0700 Subject: [PATCH] Adjust to fix issues raised by Seeed Use different 10k resistor. Fix battery connector symbol. Tie connectors to ground. Signed-off-by: Keith Packard --- lipocharger.lht | 524 ++++++++++++++++++++++++------------------------ lipocharger.sch | 11 +- 2 files changed, 269 insertions(+), 266 deletions(-) diff --git a/lipocharger.lht b/lipocharger.lht index 8e26e05..b2c1ba2 100644 --- a/lipocharger.lht +++ b/lipocharger.lht @@ -759,265 +759,9 @@ ha:pcb-rnd-board-v7 { } uid = n7muq2An4zZF48SHsBkAAAAF } - ha:subc.96 { - ha:attributes { - value=LiPo - footprint=S2B-PH-SM4 - refdes=J2 - } - ha:data { - li:padstack_prototypes { - - ha:ps_proto_v6.0 { - hdia=0.0; hplated=0; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - li:ps_poly { - -68.9mil - -0.499999mm - -68.9mil - 0.499999mm - 68.9mil - 0.499999mm - 68.9mil - -0.499999mm - } - } - - ha:ps_shape_v4 { - ha:combining { sub=1; auto=1; } - ha:layer_mask { - top = 1 - mask = 1 - } - clearance=0.0 - li:ps_poly { - -1.850009mm - -23.62mil - -1.850009mm - 23.62mil - 1.850009mm - 23.62mil - 1.850009mm - -23.62mil - } - } - - ha:ps_shape_v4 { - ha:combining { auto=1; } - ha:layer_mask { - top = 1 - paste = 1 - } - clearance=0.0 - li:ps_poly { - -68.9mil - -0.499999mm - -68.9mil - 0.499999mm - 68.9mil - 0.499999mm - 68.9mil - -0.499999mm - } - } - } - } - - ha:ps_proto_v6.1 { - hdia=0.0; hplated=0; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - li:ps_poly { - -66.93mil - -29.53mil - -66.93mil - 29.53mil - 66.93mil - 29.53mil - 66.93mil - -29.53mil - } - } - - ha:ps_shape_v4 { - ha:combining { sub=1; auto=1; } - ha:layer_mask { - top = 1 - mask = 1 - } - clearance=0.0 - li:ps_poly { - -1.799971mm - -33.465mil - -1.799971mm - 33.465mil - 1.799971mm - 33.465mil - 1.799971mm - -33.465mil - } - } - - ha:ps_shape_v4 { - ha:combining { auto=1; } - ha:layer_mask { - top = 1 - paste = 1 - } - clearance=0.0 - li:ps_poly { - -66.93mil - -29.53mil - -66.93mil - 29.53mil - 66.93mil - 29.53mil - 66.93mil - -29.53mil - } - } - } - } - } - - li:objects { - ha:padstack_ref.98 { - proto=0; x=7.346061mm; y=5.213604mm; rot=0.000000; xmirror=0; smirror=0; clearance=0.0; - ha:flags { - clearline=1 - } - - li:thermal { - } - - ha:attributes { - term=2 - name=- - } - } - ha:padstack_ref.99 { - proto=0; x=7.346061mm; y=3.213608mm; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil; - ha:flags { - clearline=1 - } - - li:thermal { - } - - ha:attributes { - term=1 - name=+ - } - } - ha:padstack_ref.100 { - proto=1; x=1.796034mm; y=7.563612mm; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil; - ha:flags { - clearline=1 - } - - li:thermal { - } - - ha:attributes { - term=G - name=tab1 - } - } - ha:padstack_ref.101 { - proto=1; x=1.796034mm; y=34.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil; - ha:flags { - clearline=1 - } - - li:thermal { - } - - ha:attributes { - term=G - name=tab2 - } - } - } - li:layers { - - ha:top-silk { - lid=0 - ha:combining { } - - li:objects { - ha:text.97 { - string=%a.parent.refdes%; x=22.0mil; y=3.308604mm; scale=100; fid=0; - ha:flags { - dyntext=1 - floater=1 - } - rot = 0.000000 - } - } - ha:type { - silk = 1 - top = 1 - } - } - - ha:subc-aux { - lid=1 - ha:combining { } - - li:objects { - ha:line.102 { - x1=4.571047mm; y1=4.213606mm; x2=4.571047mm; y2=4.213606mm; thickness=0.1mm; clearance=0.0; - ha:attributes { - subc-role=pnp-origin - } - } - ha:line.105 { - x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=327.31mil; thickness=0.1mm; clearance=0.0; - ha:attributes { - subc-role=origin - } - } - ha:line.108 { - x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=7.313674mm; thickness=0.1mm; clearance=0.0; - ha:attributes { - subc-role=x - } - } - ha:line.111 { - x1=0.096012mm; y1=327.31mil; x2=-0.903988mm; y2=327.31mil; thickness=0.1mm; clearance=0.0; - ha:attributes { - subc-role=y - } - } - } - ha:type { - top = 1 - misc = 1 - virtual = 1 - } - } - } - } - uid = n7muq2An4zZF48SHsBkAAAAG - } ha:subc.130 { ha:attributes { - value=microUSB + value=USBmicroB footprint=ZX62-B-5PA refdes=J1 } @@ -1680,7 +1424,7 @@ ha:pcb-rnd-board-v7 { } ha:subc.2198 { ha:attributes { - value= + value=MCP73831-DFN footprint=dfn-2x3-8 refdes=U1 } @@ -2033,7 +1777,7 @@ ha:pcb-rnd-board-v7 { } ha:subc.714 { ha:attributes { - value= + value=SPDT footprint=PCM12SMTR refdes=S1 } @@ -3082,6 +2826,262 @@ ha:pcb-rnd-board-v7 { } uid = n7muq2An4zZF48SHsBkAAAAK } + ha:subc.3923 { + ha:attributes { + value=LiPo + footprint=S2B-PH-SM + refdes=J2 + } + ha:data { + li:padstack_prototypes { + + ha:ps_proto_v6.0 { + hdia=0.0; hplated=0; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + li:ps_poly { + 0.499999mm + -68.9mil + -0.499999mm + -68.9mil + -0.499999mm + 68.9mil + 0.499999mm + 68.9mil + } + } + + ha:ps_shape_v4 { + ha:combining { sub=1; auto=1; } + ha:layer_mask { + top = 1 + mask = 1 + } + clearance=0.0 + li:ps_poly { + 23.62mil + -1.850009mm + -23.62mil + -1.850009mm + -23.62mil + 1.850009mm + 23.62mil + 1.850009mm + } + } + + ha:ps_shape_v4 { + ha:combining { auto=1; } + ha:layer_mask { + top = 1 + paste = 1 + } + clearance=0.0 + li:ps_poly { + 0.499999mm + -68.9mil + -0.499999mm + -68.9mil + -0.499999mm + 68.9mil + 0.499999mm + 68.9mil + } + } + } + } + + ha:ps_proto_v6.1 { + hdia=0.0; hplated=0; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + li:ps_poly { + 29.53mil + -66.93mil + -29.53mil + -66.93mil + -29.53mil + 66.93mil + 29.53mil + 66.93mil + } + } + + ha:ps_shape_v4 { + ha:combining { sub=1; auto=1; } + ha:layer_mask { + top = 1 + mask = 1 + } + clearance=0.0 + li:ps_poly { + 33.465mil + -1.799971mm + -33.465mil + -1.799971mm + -33.465mil + 1.799971mm + 33.465mil + 1.799971mm + } + } + + ha:ps_shape_v4 { + ha:combining { auto=1; } + ha:layer_mask { + top = 1 + paste = 1 + } + clearance=0.0 + li:ps_poly { + 29.53mil + -66.93mil + -29.53mil + -66.93mil + -29.53mil + 66.93mil + 29.53mil + 66.93mil + } + } + } + } + } + + li:objects { + ha:padstack_ref.3937 { + proto=0; x=7.346061mm; y=5.213604mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0; + ha:flags { + clearline=1 + } + + li:thermal { + } + + ha:attributes { + term=2 + name=pin2 + } + } + ha:padstack_ref.3938 { + proto=0; x=7.346061mm; y=3.213608mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.499999mm; + ha:flags { + clearline=1 + } + + li:thermal { + } + + ha:attributes { + term=1 + name=pin1 + } + } + ha:padstack_ref.3939 { + proto=1; x=1.796034mm; y=7.563612mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0; + ha:flags { + clearline=1 + } + + li:thermal { + } + + ha:attributes { + term=G + name=tab1 + } + } + ha:padstack_ref.3940 { + proto=1; x=1.796034mm; y=34.0mil; rot=90.000000; xmirror=0; smirror=0; clearance=0.0; + ha:flags { + clearline=1 + } + + li:thermal { + } + + ha:attributes { + term=G + name=tab2 + } + } + } + li:layers { + + ha:top-silk { + lid=0 + ha:combining { } + + li:objects { + ha:text.3924 { + string=%a.parent.refdes%; x=0.096012mm; y=327.31mil; scale=100; fid=0; + ha:flags { + dyntext=1 + floater=1 + } + rot = 90.000000 + } + } + ha:type { + silk = 1 + top = 1 + } + } + + ha:subc-aux { + lid=1 + ha:combining { } + + li:objects { + ha:line.3925 { + x1=4.571047mm; y1=4.213606mm; x2=4.571047mm; y2=4.213606mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=pnp-origin + } + } + ha:line.3928 { + x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=327.31mil; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=origin + } + } + ha:line.3931 { + x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=9.313674mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=x + } + } + ha:line.3934 { + x1=0.096012mm; y1=327.31mil; x2=-0.903988mm; y2=327.31mil; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=y + } + } + } + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + } + } + } + uid = 2KKV1FSIrO+jHbwpyDQAAAAM + } } li:layers { @@ -3427,7 +3427,7 @@ ha:pcb-rnd-board-v7 { color = {#104e8b} } - {ha:bottom silk} { + {ha:bottom silk} { lid=3 group=8 ha:combining { auto=1; } @@ -3490,7 +3490,7 @@ ha:pcb-rnd-board-v7 { color = {#000000} } - {ha:top silk} { + {ha:top silk} { lid=4 group=1 ha:combining { auto=1; } @@ -3548,7 +3548,7 @@ ha:pcb-rnd-board-v7 { li:conn { S1-2; U1-8; } } ha:GND { - li:conn { C1-1; C2-1; J1-5; J1-G; J2-2; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-6; U1-9; } + li:conn { C1-1; C2-1; J1-5; J1-G; J2-2; J2-G; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-6; U1-9; } } ha:unnamed_net1 { li:conn { C1-2; J1-1; R1-2; U1-1; U1-2; } diff --git a/lipocharger.sch b/lipocharger.sch index 0cd31be..12c6bec 100644 --- a/lipocharger.sch +++ b/lipocharger.sch @@ -30,7 +30,7 @@ T 46900 49300 5 10 0 0 90 0 1 device=CAPACITOR T 47800 49850 5 10 1 1 180 0 1 refdes=C1 -T 46700 49300 5 10 0 0 90 0 1 +T 46700 49300 5 10 1 1 90 0 1 symversion=0.1 T 47550 49200 5 10 1 1 0 0 1 value=4.7uF @@ -39,13 +39,13 @@ footprint=0402 T 47600 49100 5 10 0 1 0 0 1 loadstatus=smt } -C 55800 49800 1 270 0 battery.sym +C 55800 49800 1 270 0 battery-conn.sym { T 56700 49500 5 10 0 1 270 0 1 device=CONNECTOR T 56300 49700 5 10 1 1 0 0 1 refdes=J2 -T 57100 49500 5 10 0 0 270 0 1 +T 57100 49500 5 10 1 1 270 0 1 symversion=0.1 T 56300 49300 5 10 1 1 0 0 1 value=LiPo @@ -84,7 +84,7 @@ T 54200 49300 5 10 0 0 90 0 1 device=CAPACITOR T 55150 49850 5 10 1 1 180 0 1 refdes=C2 -T 54000 49300 5 10 0 0 90 0 1 +T 54000 49300 5 10 1 1 90 0 1 symversion=0.1 T 54900 49200 5 10 1 1 0 0 1 value=4.7uF @@ -151,6 +151,8 @@ T 54100 46600 5 10 1 1 0 0 1 value=10k T 54000 46400 5 10 0 1 0 0 1 loadstatus=smt +T 54000 46400 5 10 0 1 0 0 1 +mfg_part_number=CRCW040210K0FKEDC } N 53300 46400 53900 46400 4 N 48400 48600 48400 47800 4 @@ -254,3 +256,4 @@ C 52700 47500 1 0 0 gnd.sym N 52800 47800 53000 47800 4 N 54200 47800 54400 47800 4 N 52700 48400 52700 48800 4 +C 55400 49100 1 0 0 gnd.sym -- 2.30.2