fix stupidity in the LED circuit .. sigh
[hw/lipocharger] / lipocharger.pcb
index 5f22616941faa59541b82ec95dee28044830082b..535513f92fefae0b0b7acf8a23f451e383835c6b 100644 (file)
@@ -1,5 +1,5 @@
 # release: pcb 20100929
-# date:    Thu Apr 21 18:38:20 2011
+# date:    Tue May  3 02:49:51 2011
 # user:    bdale (Bdale Garbee,KB0G)
 # host:    rover
 
@@ -818,11 +818,11 @@ Via[37400 27500 2900 2000 0 1500 "" "thermal(1S)"]
 Via[43400 8500 2900 2000 0 1500 "" "thermal(1S)"]
 Via[50900 15700 2900 2000 0 1500 "" "thermal(1S)"]
 Via[68700 15700 2900 2000 0 1500 "" "thermal(1S)"]
-Via[4900 2000 2900 2000 0 1500 "" ""]
+Via[2900 4900 2900 2000 0 1500 "" "thermal(1S)"]
 Via[79100 14900 2900 2000 0 1500 "" "thermal(1S)"]
-Via[18400 5700 2900 2000 0 1500 "" ""]
 Via[79100 25200 2900 2000 0 1500 "" ""]
-Via[2500 5100 2900 2000 0 1500 "" "thermal(1S)"]
+Via[25900 5700 2900 2000 0 1500 "" ""]
+Via[12400 2000 2900 2000 0 1500 "" ""]
 
 Element["" "0402" "C1" "4.7uF" 78500 20026 -1593 -2026 3 100 ""]
 (
@@ -838,23 +838,21 @@ Element["" "0402" "C2" "4.7uF" 38200 23526 -1800 -5600 3 100 ""]
 
        )
 
-Element["" "0605" "D1" "unknown" 15900 500 0 0 3 100 ""]
+Element["" "0402" "R2" "1k" 7500 4900 -3150 -3150 0 100 ""]
 (
-       Pad[-2067 1280 -1280 1280 2559 -1771 3159 "2" "2" "square,edge2"]
-       Pad[-2067 4626 -1280 4626 2559 -1771 3159 "1" "1" "square,edge2"]
-       Pad[-7776 1280 -6988 1280 2559 -1771 3159 "4" "4" "square"]
-       Pad[-7776 4626 -6988 4626 2559 -1771 3159 "3" "3" "square"]
+       Pad[-1574 -393 -1574 393 1968 2000 2568 "1" "1" "square"]
+       Pad[1574 -393 1574 393 1968 2000 2568 "2" "2" "square"]
 
        )
 
-Element["" "0402" "R1" "1k" 40026 4500 -2426 793 0 100 ""]
+Element["" "0402" "R1" "1k" 31800 2400 -2426 793 0 100 ""]
 (
        Pad[-1574 -393 -1574 393 1968 2000 2568 "1" "1" "square"]
        Pad[1574 -393 1574 393 1968 2000 2568 "2" "2" "square"]
 
        )
 
-Element["" "0402" "R2" "2k" 68700 20000 -894 -3126 3 100 ""]
+Element["" "0402" "R3" "2k" 68700 20000 -894 -3126 3 100 ""]
 (
        Pad[-393 -1574 393 -1574 1968 2000 2568 "1" "1" "square"]
        Pad[-393 1574 393 1574 1968 2000 2568 "2" "2" "square"]
@@ -870,7 +868,7 @@ Element["" "S2B-PH-SM4" "J2" "LiPo" 378 39605 5722 -13105 1 100 ""]
 
        )
 
-Element["" "0402" "R3" "10k" 51000 19926 2907 3926 3 100 ""]
+Element["" "0402" "R4" "10k" 51000 19926 2907 3926 3 100 ""]
 (
        Pad[-393 -1574 393 -1574 1968 2000 2568 "1" "1" "square"]
        Pad[-393 1574 393 1574 1968 2000 2568 "2" "2" "square"]
@@ -883,11 +881,11 @@ Element["" "SOT23-5" "U1" "unknown" 55200 12300 -5000 -6300 0 89 ""]
        Attribute("copyright" "2006 DJ Delorie")
        Attribute("use-license" "Unlimited")
        Attribute("dist-license" "GPL")
-       Pad[-800 0 800 0 2400 3000 3000 "4" "4" "square,edge2"]
-       Pad[-800 -7800 800 -7800 2400 3000 3000 "5" "5" "square,edge2"]
-       Pad[-9000 -7800 -7400 -7800 2400 3000 3000 "1" "1" "square"]
-       Pad[-9000 -3900 -7400 -3900 2400 3000 3000 "2" "2" "square"]
-       Pad[-9000 0 -7400 0 2400 3000 3000 "3" "3" "square"]
+       Pad[-800 0 800 0 2400 3000 3000 "VIN" "4" "square,edge2"]
+       Pad[-800 -7800 800 -7800 2400 3000 3000 "PROG" "5" "square,edge2"]
+       Pad[-9000 -7800 -7400 -7800 2400 3000 3000 "STAT" "1" "square"]
+       Pad[-9000 -3900 -7400 -3900 2400 3000 3000 "VSS" "2" "square"]
+       Pad[-9000 0 -7400 0 2400 3000 3000 "VBAT" "3" "square"]
        ElementLine [-11000 -9800 -11000 2000 1000]
        ElementLine [-11000 -9800 2900 -9800 1000]
        ElementLine [2900 -9800 2900 2000 1000]
@@ -895,11 +893,11 @@ Element["" "SOT23-5" "U1" "unknown" 55200 12300 -5000 -6300 0 89 ""]
 
        )
 
-Element["" "ZX62-B-5PA" "J1" "unknown" 81011 20024 10161 12011 2 100 ""]
+Element["" "ZX62-B-5PA" "J1" "microUSB" 81011 20024 10161 12011 2 100 ""]
 (
-       Pad[787 0 4528 0 1575 984 2362 "D+" "3" "square"]
-       Pad[787 2558 4528 2558 1575 984 2362 "D-" "2" "square"]
-       Pad[787 -2559 4528 -2559 1575 984 2362 "HS" "4" "square"]
+       Pad[787 0 4528 0 1575 984 2362 "DATA+" "3" "square"]
+       Pad[787 2558 4528 2558 1575 984 2362 "DATA-" "2" "square"]
+       Pad[787 -2559 4528 -2559 1575 984 2362 "ID" "4" "square"]
        Pad[787 5117 4528 5117 1575 984 2362 "VBUS" "1" "square"]
        Pad[787 -5118 4528 -5118 1575 984 2362 "GND" "5" "square"]
        Pad[3150 -13189 3150 -11220 6299 984 7087 "tab1" "G" "square"]
@@ -925,11 +923,21 @@ Element["" "PCM12SMTR" "S1" "unknown" 59800 33400 0 0 0 100 ""]
        Pad[13976 4331 14764 4331 3150 20866 4537 "mnt" "M" "square,edge2"]
        Pad[-14763 4331 -13975 4331 3150 20866 4537 "mnt" "M" "square"]
        Pad[-14763 -4330 -13975 -4330 3150 20866 4537 "mnt" "M" "square"]
-       Pad[-8857 -8464 -8857 -5314 2756 600 3356 "pin1" "1" "square"]
-       Pad[2953 -8464 2953 -5314 2756 600 3356 "pin2" "2" "square"]
-       Pad[8858 -8464 8858 -5314 2756 600 3356 "pin3" "3" "square"]
+       Pad[-8857 -8464 -8857 -5314 2756 600 3356 "1" "1" "square"]
+       Pad[2953 -8464 2953 -5314 2756 600 3356 "2" "2" "square"]
+       Pad[8858 -8464 8858 -5314 2756 600 3356 "3" "3" "square"]
+
+       )
+
+Element["" "0605" "D1" "dualLED" 23400 500 0 0 3 100 ""]
+(
+       Pad[-2067 1280 -1280 1280 2559 -1771 3159 "2" "2" "square,edge2"]
+       Pad[-2067 4626 -1280 4626 2559 -1771 3159 "1" "1" "square,edge2"]
+       Pad[-7776 1280 -6988 1280 2559 -1771 3159 "4" "4" "square"]
+       Pad[-7776 4626 -6988 4626 2559 -1771 3159 "3" "3" "square"]
 
        )
+Rat[21726 5126 0 16018 1780 0  ""]
 Layer(1 "top")
 (
        Line[79000 14600 83639 14600 1000 2000 "clearline"]
@@ -958,7 +966,7 @@ Layer(1 "top")
        Line[62800 26464 62753 26511 1000 2000 "clearline"]
        Line[28921 19526 39774 19526 2500 2000 "clearline"]
        Line[39774 19526 47000 12300 2500 2000 "clearline"]
-       Line[47000 4500 41600 4500 1000 2000 "clearline"]
+       Line[51200 8300 55200 12300 1000 2000 "clearline"]
        Line[47000 8400 43500 8400 2500 2000 "clearline"]
        Line[43500 8400 43400 8500 2500 2000 "clearline"]
        Line[51000 18352 51000 15800 1000 2000 "clearline"]
@@ -966,27 +974,30 @@ Layer(1 "top")
        Line[68700 18426 68700 15700 1000 2000 "clearline"]
        Line[56100 13200 55200 12300 2500 2000 "clearline"]
        Line[56100 15100 56100 13200 2500 2000 "clearline"]
-       Line[8518 5126 2126 5126 1000 2000 "clearline"]
+       Line[40900 5700 42100 4500 1000 2000 "clearline"]
        Line[79000 15200 83639 15200 1000 2000 "clearline"]
        Line[83739 14900 83757 14882 1000 2000 "clearline"]
-       Line[14800 5700 37252 5700 1000 2000 "clearline"]
-       Line[37252 5700 38452 4500 1000 2000 "clearline"]
-       Line[79800 25400 83640 25400 1000 2000 "clearline"]
-       Line[8518 1780 5120 1780 1000 2000 "clearline"]
-       Line[5120 1780 4900 2000 1000 2000 "clearline"]
-       Line[2126 5126 2100 5100 1000 2000 "clearline"]
-       Line[14226 1780 50280 1780 1000 2000 "clearline"]
-       Line[50280 1780 51200 2700 1000 2000 "clearline"]
        Line[51200 2700 51200 8300 1000 2000 "clearline"]
-       Line[51200 8300 55200 12300 1000 2000 "clearline"]
+       Line[50280 1780 51200 2700 1000 2000 "clearline"]
+       Line[79800 25400 83640 25400 1000 2000 "clearline"]
+       Line[42100 4500 47000 4500 1000 2000 "clearline"]
+       Line[16018 5126 9300 5126 1000 2000 "clearline"]
+       Line[9300 5126 9074 4900 1000 2000 "clearline"]
+       Line[2900 4900 5926 4900 1000 2000 "clearline"]
+       Line[16018 1780 12620 1780 1000 2000 "clearline"]
+       Line[12620 1780 12400 2000 1000 2000 "clearline"]
+       Line[21726 1780 29606 1780 1000 2000 "clearline"]
+       Line[29606 1780 30226 2400 1000 2000 "clearline"]
+       Line[50300 1800 33974 1800 1000 2000 "clearline"]
+       Line[33974 1800 33374 2400 1000 2000 "clearline"]
+       Line[25900 5700 40900 5700 1000 2000 "clearline"]
+       Line[21726 5126 25326 5126 1000 2000 "clearline"]
+       Line[25326 5126 25900 5700 1000 2000 "clearline"]
 )
 Layer(2 "bottom")
 (
-       Line[59700 25200 79100 25200 2500 2000 "clearline"]
-       Line[56100 21600 59700 25200 2500 2000 "clearline"]
-       Line[56100 15100 56100 21600 2500 2000 "clearline"]
-       Line[4900 2000 14700 2000 1000 2000 "clearline"]
-       Line[14700 2000 18400 5700 1000 2000 "clearline"]
+       Line[56100 15100 79000 25100 2500 2000 "clearline"]
+       Line[12400 2000 25900 5700 1000 2000 "clearline"]
        Polygon("clearpoly")
        (
                [1000 39000] [99000 39000] [99000 1000] [1000 1000] 
@@ -1002,7 +1013,7 @@ Layer(3 "outline")
 Layer(4 "silk")
 (
        Text[3000 39500 0 100 "LipoCharger" "auto"]
-       Text[3000 31500 0 100 "v0.2" "auto"]
+       Text[3000 31500 0 100 "v0.3" "auto"]
        Text[3000 23500 0 100 "` 2011" "auto"]
        Text[3000 15500 0 100 "Bdale Garbee" "auto"]
        Text[41400 39000 0 100 "100           500" "clearline,auto"]
@@ -1017,18 +1028,18 @@ NetList()
        (
                Connect("C1-1")
                Connect("C2-1")
-               Connect("D1-3")
                Connect("J1-5")
                Connect("J2-2")
                Connect("R2-1")
                Connect("R3-1")
+               Connect("R4-1")
                Connect("U1-2")
        )
        Net("unnamed_net1" "(unknown)")
        (
                Connect("C1-2")
-               Connect("D1-2")
                Connect("J1-1")
+               Connect("R1-2")
                Connect("U1-4")
        )
        Net("unnamed_net2" "(unknown)")
@@ -1039,26 +1050,31 @@ NetList()
        )
        Net("unnamed_net3" "(unknown)")
        (
-               Connect("D1-1")
-               Connect("D1-4")
+               Connect("D1-2")
                Connect("R1-1")
        )
        Net("unnamed_net4" "(unknown)")
        (
-               Connect("R1-2")
+               Connect("D1-1")
+               Connect("D1-4")
                Connect("U1-1")
        )
        Net("unnamed_net5" "(unknown)")
        (
+               Connect("D1-3")
                Connect("R2-2")
-               Connect("S1-3")
        )
        Net("unnamed_net6" "(unknown)")
        (
                Connect("R3-2")
-               Connect("S1-1")
+               Connect("S1-3")
        )
        Net("unnamed_net7" "(unknown)")
+       (
+               Connect("R4-2")
+               Connect("S1-1")
+       )
+       Net("unnamed_net8" "(unknown)")
        (
                Connect("S1-2")
                Connect("U1-5")