From: Jan "Yenya" Kasprzak Date: Tue, 11 Dec 2012 16:16:29 +0000 (+0100) Subject: schematics: bug fixes X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=ecb629fe60dac111aad6e4e498127aff2b77bc4e;p=bike-lights.git schematics: bug fixes - low-pass filters added to the ADC pins measuring LED current - prog_ena jumper changed to disconnect pwm0 only, as this is what makes problem during in-system programming - labels for LED and battery connectors moved outside the footprint --- diff --git a/schematics/lights.pcb b/schematics/lights.pcb index 6063e72..7224e31 100644 --- a/schematics/lights.pcb +++ b/schematics/lights.pcb @@ -5,12 +5,12 @@ FileVersion[20070407] PCB["Bike Lights" 200000 200000] -Grid[2500.0 0 0 1] -Cursor[60000 187500 0.000000] +Grid[2500.0 0 0 0] +Cursor[12500 150000 0.000000] PolyArea[200000000.000000] Thermal[0.500000] DRC[1000 1000 1000 1000 1500 1000] -Flags("showdrc,nameonpcb,uniquename,clearnew,locknames") +Flags("showdrc,nameonpcb,uniquename,clearnew") Groups("1,c:2,s") Styles["Signal,1000,4000,2000,1000:Power,2500,6000,3500,1000:Fat,6000,9000,5000,2000:Skinny,600,2402,1181,600"] @@ -791,7 +791,7 @@ Via[165000 27500 9000 4000 0 5000 "" ""] Via[135000 57500 6000 2000 0 3500 "" ""] Via[130000 40000 4000 2000 0 2000 "" ""] Via[127500 52500 4000 2000 0 2000 "" ""] -Via[95000 122500 4000 2000 0 2000 "" ""] +Via[97500 122500 4000 2000 0 2000 "" ""] Via[142500 162500 4000 2000 0 2000 "" ""] Via[132500 95000 6000 2000 0 3500 "" ""] Via[102500 75000 4000 2000 0 2000 "" ""] @@ -802,15 +802,16 @@ Via[67500 47500 4000 2000 0 2000 "" ""] Via[127500 112500 4000 2000 0 2000 "" ""] Via[50000 152500 6000 2000 0 3500 "" ""] Via[77500 180000 9000 4000 0 5000 "" ""] -Via[125000 140000 4000 2000 0 2000 "" ""] -Via[125000 132500 4000 2000 0 2000 "" ""] -Via[140000 132500 4000 2000 0 2000 "" ""] -Via[87500 115000 6000 2000 0 3500 "" ""] +Via[120000 132500 4000 2000 0 2000 "" ""] +Via[145000 132500 4000 2000 0 2000 "" ""] Via[70000 145000 4000 2000 0 2000 "" ""] Via[70000 130000 4000 2000 0 2000 "" ""] Via[92500 42500 6000 2000 0 3500 "" ""] Via[92500 17500 6000 2000 0 3500 "" ""] Via[82500 27500 9000 4000 0 5000 "" ""] +Via[102500 87500 6000 2000 0 3500 "" ""] +Via[87500 115000 6000 2000 0 3500 "" ""] +Via[125000 142500 4000 2000 0 2000 "" ""] Element["" "RCY300" "L30" "220uH" 130000 150000 2500 12500 3 100 ""] ( @@ -936,7 +937,7 @@ Element["" "PS_2PIN.fp" "BATTERY" "x" 180000 110000 -12500 -22500 0 100 ""] ) -Element["" "HEADER10_1" "USBASP_PROG" "x" 25000 77500 13500 -40000 3 100 ""] +Element["" "HEADER10_1" "USBASP_PROG" "x" 25000 77500 12500 -27500 3 100 ""] ( Pin[0 0 6800 3000 7600 3800 "1" "1" "square"] Pin[0 -10000 6800 3000 7600 3800 "2" "2" ""] @@ -957,7 +958,7 @@ Element["" "HEADER10_1" "USBASP_PROG" "x" 25000 77500 13500 -40000 3 100 ""] ) -Element["" "PS_8PIN.fp" "FRONT_STATUS_LEDS" "x" 20000 92500 20000 -2500 3 100 ""] +Element["" "PS_8PIN.fp" "FRONT_STATUS_LEDS" "x" 20000 92500 20000 5000 3 100 ""] ( Pin[0 20000 8100 3937 8900 4600 "3" "3" ""] Pin[0 70000 8100 3937 8900 4600 "8" "8" ""] @@ -1135,19 +1136,6 @@ Element["" "1210" "C41" "1.5uF" 147500 90000 -19750 -5000 0 100 ""] ) -Element["" "JUMPER2" "PROG_ENA" "unknown" 105000 87500 -2500 -12500 0 100 ""] -( - Pin[0 0 6800 3000 7600 3800 "1" "1" "square,edge2"] - Pin[-10000 0 6800 3000 7600 3800 "2" "2" "edge2"] - ElementLine [-15000 -5000 5000 -5000 1000] - ElementLine [-15000 -5000 -15000 5000 1000] - ElementLine [-15000 5000 5000 5000 1000] - ElementLine [5000 -5000 5000 5000 1000] - ElementLine [-5000 -5000 -5000 5000 1000] - ElementLine [-5000 5000 5000 5000 1000] - - ) - Element["" "Fuse_PTC__Schurter_PFRA.300" "F40" "5A" 170000 125000 -3622 7095 0 100 ""] ( Attribute("description" "Fuse_PTC__Schurter_PFRA.300") @@ -1382,6 +1370,73 @@ Element["onsolder" "1206" "R2" "300K" 42500 167500 -3150 3150 0 100 "auto"] ElementLine [3740 -2362 3740 2362 1000] ElementLine [-3740 -2362 -3740 2362 1000] + ) + +Element["" "1206" "C13" "220nF" 102500 52500 -5000 -15000 0 100 ""] +( + Pad[-1181 5905 1181 5905 5118 2000 5718 "1" "1" "square"] + Pad[-1181 -5905 1181 -5905 5118 2000 5718 "2" "2" "square"] + ElementLine [-3740 -2362 -3740 2362 800] + ElementLine [3740 -2362 3740 2362 800] + + ) + +Element["" "1206" "R11" "1K5" 117500 45000 -2500 5000 0 100 ""] +( + Pad[5905 -1181 5905 1181 5118 2000 5718 "1" "1" "square"] + Pad[-5905 -1181 -5905 1181 5118 2000 5718 "2" "2" "square"] + ElementLine [-2362 3740 2362 3740 800] + ElementLine [-2362 -3740 2362 -3740 800] + + ) + +Element["onsolder" "1206" "R31" "1K5" 132500 135000 0 10000 0 100 "auto"] +( + Pad[-5905 1181 -5905 -1181 5118 2000 5718 "1" "1" "onsolder,square"] + Pad[5905 1181 5905 -1181 5118 2000 5718 "2" "2" "onsolder,square"] + ElementLine [-2362 3740 2362 3740 800] + ElementLine [-2362 -3740 2362 -3740 800] + + ) + +Element["" "JUMPER2" "PROG_ENA" "unknown" 37500 40000 7500 7500 3 100 ""] +( + Pin[0 0 6800 3000 7600 3800 "1" "1" "square"] + Pin[0 -10000 6800 3000 7600 3800 "2" "2" ""] + ElementLine [5000 -15000 5000 5000 1000] + ElementLine [-5000 -15000 5000 -15000 1000] + ElementLine [-5000 -15000 -5000 5000 1000] + ElementLine [-5000 5000 5000 5000 1000] + ElementLine [-5000 -5000 5000 -5000 1000] + ElementLine [-5000 -5000 -5000 5000 1000] + + ) + +Element["" "1206" "C21" "220nF" 117500 65000 -15000 0 0 100 ""] +( + Pad[-1181 5905 1181 5905 5118 2000 5718 "1" "1" "square"] + Pad[-1181 -5905 1181 -5905 5118 2000 5718 "2" "2" "square"] + ElementLine [-3740 -2362 -3740 2362 800] + ElementLine [3740 -2362 3740 2362 800] + + ) + +Element["" "1206" "R22" "1K5" 132500 70000 -5000 5000 0 100 ""] +( + Pad[-5905 -1181 -5905 1181 5118 2000 5718 "1" "1" "square"] + Pad[5905 -1181 5905 1181 5118 2000 5718 "2" "2" "square"] + ElementLine [-2362 -3740 2362 -3740 800] + ElementLine [-2362 3740 2362 3740 800] + + ) + +Element["onsolder" "1206" "C33" "220nF" 90000 100000 10000 2500 3 100 "auto"] +( + Pad[-1181 5905 1181 5905 5118 2000 5718 "1" "1" "onsolder,square"] + Pad[-1181 -5905 1181 -5905 5118 2000 5718 "2" "2" "onsolder,square"] + ElementLine [3740 -2362 3740 2362 800] + ElementLine [-3740 -2362 -3740 2362 800] + ) Layer(1 "component") ( @@ -1390,12 +1445,10 @@ Layer(1 "component") Line[180000 100000 147500 100000 2500 2000 "clearline"] Line[147500 100000 147500 102500 2500 2000 "clearline"] Line[140000 102500 140000 87500 2500 2000 "clearline"] - Line[140000 87500 105000 87500 2500 2000 "clearline"] + Line[140000 87500 95000 87500 2500 2000 "clearline"] Line[152500 100000 152500 85000 2500 2000 "clearline"] - Line[95000 87500 85000 87500 2500 2000 "clearline"] - Line[85000 87500 85000 90000 2500 2000 "clearline"] + Line[95000 87500 82500 87500 2500 2000 "clearline"] Line[147500 80000 80000 80000 2500 2000 "clearline"] - Line[85000 90000 57500 90000 2500 2000 "clearline"] Line[57500 90000 57500 80000 2500 2000 "clearline"] Line[57500 80000 50000 80000 2500 2000 "clearline"] Line[180039 110000 180000 110000 6000 4000 "clearline,auto"] @@ -1407,19 +1460,17 @@ Layer(1 "component") Line[132500 7500 82500 7500 6000 4000 "clearline"] Line[130000 40000 135000 40000 1000 2000 "clearline"] Line[135000 57500 87500 57500 2500 2000 "clearline"] - Line[80000 40000 92500 52500 1000 2000 "clearline"] - Line[92500 52500 127500 52500 1000 2000 "clearline"] Line[180000 77500 155000 77500 1000 2000 "clearline"] - Line[155000 77500 142500 65000 1000 2000 "clearline"] + Line[155000 77500 147500 70000 1000 2000 "clearline"] Line[180000 150000 175000 150000 6000 4000 "clearline"] Line[135000 190000 122500 190000 6000 4000 "clearline"] Line[122500 190000 112500 180000 6000 4000 "clearline"] Line[112500 180000 77500 180000 6000 4000 "clearline"] - Line[95000 122500 112500 140000 1000 2000 "clearline"] - Line[112500 140000 125000 140000 1000 2000 "clearline"] + Line[97500 122500 115000 140000 1000 2000 "clearline"] + Line[115000 140000 120000 140000 1000 2000 "clearline"] Line[180000 190000 190000 190000 1000 2000 "clearline"] Line[190000 190000 190000 142500 1000 2000 "clearline"] - Line[190000 142500 150000 142500 1000 2000 "clearline"] + Line[190000 142500 155000 142500 1000 2000 "clearline"] Line[80000 110000 100000 110000 1000 2000 "clearline"] Line[142500 162500 112500 162500 1000 2000 "clearline"] Line[112500 162500 80000 130000 1000 2000 "clearline"] @@ -1433,7 +1484,6 @@ Layer(1 "component") Line[107500 117500 120000 117500 1000 2000 "clearline"] Line[55000 65000 50000 70000 1000 2000 "clearline"] Line[102500 75000 75000 75000 1000 2000 "clearline"] - Line[85000 65000 80000 60000 1000 2000 "clearline"] Line[60000 50000 60000 17500 1000 2000 "clearline"] Line[75000 85000 62500 72500 1000 2000 "clearline"] Line[67500 47500 67500 17500 1000 2000 "clearline"] @@ -1445,7 +1495,6 @@ Layer(1 "component") Line[110000 112500 102500 105000 1000 2000 "clearline"] Line[65000 105000 102500 105000 1000 2000 "clearline"] Line[132500 95000 132500 137500 2500 2000 "clearline"] - Line[132500 137500 147500 152500 2500 2000 "clearline"] Line[147500 152500 147500 165000 2500 2000 "clearline"] Line[147500 165000 145000 167500 2500 2000 "clearline"] Line[145000 167500 110000 167500 2500 2000 "clearline"] @@ -1465,11 +1514,10 @@ Layer(1 "component") Line[175000 150000 135000 190000 6000 4000 "clearline"] Line[135000 57500 135000 7500 6000 4000 "clearline"] Line[147500 80000 152500 85000 2500 2000 "clearline"] - Line[85000 65000 142500 65000 1000 2000 "clearline"] Line[60000 50000 67500 57500 1000 2000 "clearline"] Line[120000 117500 125000 122500 1000 2000 "clearline"] - Line[125000 122500 125000 132500 1000 2000 "clearline"] - Line[150000 142500 140000 132500 1000 2000 "clearline"] + Line[125000 122500 125000 127500 1000 2000 "clearline"] + Line[155000 142500 145000 132500 1000 2000 "clearline"] Line[115000 125000 107500 125000 2500 2000 "clearline"] Line[107500 125000 97500 115000 2500 2000 "clearline"] Line[70000 120000 42500 147500 1000 2000 "clearline"] @@ -1487,6 +1535,21 @@ Layer(1 "component") Line[35000 187500 35000 172500 2500 2000 "clearline"] Line[35000 172500 25000 162500 2500 2000 "clearline"] Line[25000 162500 20000 162500 2500 2000 "clearline"] + Line[147500 70000 137500 70000 1000 2000 "clearline"] + Line[127500 70000 90000 70000 1000 2000 "clearline"] + Line[80000 60000 90000 70000 1000 2000 "clearline"] + Line[127500 52500 122500 47500 1000 2000 "clearline"] + Line[122500 47500 122500 45000 1000 2000 "clearline"] + Line[112500 45000 100000 45000 1000 2000 "clearline"] + Line[100000 45000 95000 50000 1000 2000 "clearline"] + Line[95000 50000 90000 50000 1000 2000 "clearline"] + Line[90000 50000 80000 40000 1000 2000 "clearline"] + Line[80000 90000 57500 90000 2500 2000 "clearline"] + Line[82500 87500 80000 90000 2500 2000 "clearline"] + Line[125000 127500 120000 132500 1000 2000 "clearline"] + Line[132500 137500 147500 152500 2500 2000 "clearline"] + Line[120000 140000 122500 142500 1000 2000 "clearline"] + Line[122500 142500 125000 142500 1000 2000 "clearline"] ) Layer(2 "solder") ( @@ -1500,7 +1563,6 @@ Layer(2 "solder") Line[167500 67500 167500 85000 6000 4000 "clearline"] Line[167500 72500 147500 72500 6000 4000 "clearline"] Line[115000 105000 115000 72500 6000 4000 "clearline"] - Line[115000 72500 122500 72500 6000 4000 "clearline"] Line[130000 180000 180000 180000 6000 4000 "clearline"] Line[180000 180000 180000 160000 6000 4000 "clearline"] Line[180000 190000 190000 190000 6000 4000 "clearline"] @@ -1517,7 +1579,7 @@ Layer(2 "solder") Line[155000 90000 147750 90000 6000 4000 "clearline"] Line[145000 37500 145000 42500 6000 4000 "clearline"] Line[115000 105000 125000 105000 6000 4000 "clearline"] - Line[67500 80000 87500 80000 2500 2000 "clearline"] + Line[67500 80000 90000 80000 2500 2000 "clearline"] Line[80000 50000 90000 60000 2500 2000 "clearline"] Line[165000 27500 165000 7500 6000 4000 "clearline"] Line[165000 7500 125000 7500 6000 4000 "clearline"] @@ -1568,23 +1630,15 @@ Layer(2 "solder") Line[85000 185000 90000 185000 2500 2000 "clearline"] Line[80000 180000 90000 180000 2500 2000 "clearline"] Line[90000 142500 95000 142500 2500 2000 "clearline"] - Line[95000 142500 95000 132500 2500 2000 "clearline"] Line[107500 132500 107500 135000 2500 2000 "clearline"] Line[107500 135000 115000 135000 2500 2000 "clearline"] Line[117500 137500 117500 145000 2500 2000 "clearline"] Line[115000 147500 110000 147500 2500 2000 "clearline"] - Line[112500 152500 117500 152500 1000 2000 "clearline"] - Line[95000 127500 95000 122500 1000 2000 "clearline"] - Line[95000 130000 95000 97500 2500 2000 "clearline"] - Line[90000 77500 90000 60000 2500 2000 "clearline"] - Line[95000 97500 87500 90000 2500 2000 "clearline"] - Line[87500 90000 87500 80000 2500 2000 "clearline"] + Line[112500 152500 115000 152500 1000 2000 "clearline"] + Line[90000 92500 90000 60000 2500 2000 "clearline"] Line[120000 175000 152500 142500 6000 4000 "clearline"] Line[152500 142500 152500 125000 6000 4000 "clearline"] Line[115000 125000 160000 125000 6000 4000 "clearline"] - Line[102500 127500 102500 97500 2500 2000 "clearline"] - Line[102500 97500 95000 90000 2500 2000 "clearline"] - Line[65000 35000 50000 50000 1000 2000 "clearline"] Line[125000 95000 132500 95000 6000 4000 "clearline"] Line[145000 97500 140000 97500 1000 2000 "clearline"] Line[140000 97500 132500 105000 1000 2000 "clearline"] @@ -1612,17 +1666,12 @@ Layer(2 "solder") Line[55000 182500 55000 172500 2500 2000 "clearline"] Line[45000 182500 45000 172500 2500 2000 "clearline"] Line[52500 142500 20000 142500 2500 2000 "clearline"] - Line[90000 77500 87500 80000 2500 2000 "clearline"] Line[42500 162500 20000 162500 2500 2000 "clearline"] Line[15000 162500 7500 155000 2500 2000 "clearline"] Line[7500 155000 7500 75000 2500 2000 "clearline"] Line[7500 75000 15000 67500 2500 2000 "clearline"] Line[15000 67500 15000 37500 2500 2000 "clearline"] Line[15000 37500 22500 30000 2500 2000 "clearline"] - Line[22500 30000 37500 30000 2500 2000 "clearline"] - Line[37500 30000 50000 17500 2500 2000 "clearline"] - Line[50000 50000 37500 50000 1000 2000 "clearline"] - Line[37500 50000 25000 37500 1000 2000 "clearline"] Line[50000 60000 37500 60000 1000 2000 "clearline"] Line[37500 60000 25000 47500 1000 2000 "clearline"] Line[20000 102500 30000 102500 1000 2000 "clearline"] @@ -1644,9 +1693,6 @@ Layer(2 "solder") Line[40000 92500 40000 87500 1000 2000 "clearline"] Line[40000 87500 30000 77500 1000 2000 "clearline"] Line[30000 77500 25000 77500 1000 2000 "clearline"] - Line[117500 152500 122500 147500 1000 2000 "clearline"] - Line[122500 147500 122500 142500 1000 2000 "clearline"] - Line[122500 142500 125000 140000 1000 2000 "clearline"] Line[102500 75000 110000 82500 1000 2000 "clearline"] Line[110000 82500 110000 92500 1000 2000 "clearline"] Line[110000 92500 107500 95000 1000 2000 "clearline"] @@ -1654,13 +1700,12 @@ Layer(2 "solder") Line[107500 107500 115000 115000 1000 2000 "clearline"] Line[122500 115000 115000 115000 1000 2000 "clearline"] Line[102500 127500 107500 132500 2500 2000 "clearline"] - Line[95000 60000 95000 90000 2500 2000 "clearline"] + Line[95000 60000 95000 80000 2500 2000 "clearline"] Line[167500 50000 170000 47500 1000 2000 "clearline"] Line[127500 52500 130000 50000 1000 2000 "clearline"] Line[167500 50000 130000 50000 1000 2000 "clearline"] Line[145000 17500 130000 17500 6000 4000 "clearline"] Line[115000 147500 117500 145000 2500 2000 "clearline"] - Line[125000 132500 140000 132500 1000 2000 "clearline"] Line[87500 115000 87500 132500 2500 2000 "clearline"] Line[87500 132500 82500 137500 2500 2000 "clearline"] Line[82500 137500 32500 137500 2500 2000 "clearline"] @@ -1669,7 +1714,6 @@ Layer(2 "solder") Line[70000 115000 65000 110000 1000 2000 "clearline"] Line[95000 45000 92500 42500 2500 2000 "clearline"] Line[92500 7500 92500 17500 2500 2000 "clearline"] - Line[102500 35000 65000 35000 1000 2000 "clearline"] Line[100000 25000 102500 25000 6000 4000 "clearline"] Line[82500 27500 102500 27500 6000 4000 "clearline"] Line[107500 17500 110000 20000 2500 2000 "clearline"] @@ -1683,6 +1727,30 @@ Layer(2 "solder") Line[32500 137500 27500 132500 2500 2000 "clearline"] Line[20000 152500 50000 152500 2500 2000 "clearline"] Line[117500 137500 115000 135000 2500 2000 "clearline"] + Line[22500 30000 25000 30000 2500 2000 "clearline"] + Line[25000 30000 37500 17500 2500 2000 "clearline"] + Line[37500 17500 50000 17500 2500 2000 "clearline"] + Line[37500 40000 27500 40000 1000 2000 "clearline"] + Line[27500 40000 25000 37500 1000 2000 "clearline"] + Line[50000 50000 47500 50000 1000 2000 "clearline"] + Line[47500 50000 37500 40000 1000 2000 "clearline"] + Line[100000 35000 77500 35000 1000 2000 "clearline"] + Line[77500 35000 72500 30000 1000 2000 "clearline"] + Line[72500 30000 37500 30000 1000 2000 "clearline"] + Line[115000 72500 122500 72500 6000 4000 "clearline"] + Line[102500 127500 102500 87500 2500 2000 "clearline"] + Line[102500 87500 95000 80000 2500 2000 "clearline"] + Line[97500 122500 97500 100000 2500 2000 "clearline"] + Line[95000 142500 95000 125000 2500 2000 "clearline"] + Line[95000 125000 97500 122500 2500 2000 "clearline"] + Line[82500 110000 85000 107500 1000 2000 "clearline"] + Line[85000 107500 90000 107500 1000 2000 "clearline"] + Line[97500 100000 90000 92500 2500 2000 "clearline"] + Line[115000 152500 125000 142500 1000 2000 "clearline"] + Line[120000 132500 122500 135000 1000 2000 "clearline"] + Line[122500 135000 127500 135000 1000 2000 "clearline"] + Line[137500 135000 142500 135000 1000 2000 "clearline"] + Line[142500 135000 145000 132500 1000 2000 "clearline"] ) Layer(3 "silk") ( @@ -1697,8 +1765,6 @@ Layer(3 "silk") Text[100000 70000 0 120 "+" "clearline,onsolder"] Text[155000 50000 0 120 "+" "clearline,onsolder"] Text[157500 90000 0 120 "+" "clearline,onsolder"] - Text[140000 195000 0 120 "Order #" "clearline,onsolder"] - Text[140000 187500 0 120 "100003993" "clearline,onsolder"] ) Layer(4 "silk") ( @@ -1714,13 +1780,13 @@ Layer(4 "silk") Line[30000 170000 30000 197500 1000 2000 "clearline"] Text[95000 27500 3 140 "DESIGNED BY" "clearline"] Text[95000 97500 3 140 "JAN \"YENYA\" KASPRZAK" "clearline"] - Text[52500 187500 0 100 ">|" "clearline"] - Text[185000 35000 0 120 "+" "clearline"] - Text[185000 65000 0 120 "+" "clearline"] - Text[185000 107500 0 120 "+" "clearline"] - Text[185000 97500 0 120 "-" "clearline"] - Text[185000 177500 0 120 "+" "clearline"] + Text[192500 32500 0 120 "+" "clearline"] + Text[192500 62500 0 120 "+" "clearline"] + Text[192500 107500 0 120 "+" "clearline"] + Text[192500 95000 0 120 "-" "clearline"] + Text[192500 175000 0 120 "+" "clearline"] Text[162500 112500 0 120 "+" "clearline"] + Text[62500 190000 0 100 ">|" "clearline"] Text[132500 80000 0 120 "+" "clearline"] ) NetList() @@ -1730,13 +1796,14 @@ NetList() Connect("C1-1") Connect("C10-1") Connect("C30-1") + Connect("C41-1") Connect("FRONT_STATUS_LEDS-6") - Connect("PROG_ENA-2") Connect("R1-1") Connect("U1-5") Connect("U1-15") Connect("U10-6") Connect("U30-6") + Connect("U40-2") Connect("USBASP_PROG-10") ) Net("\\_RST" "(unknown)") @@ -1772,9 +1839,12 @@ NetList() Connect("C1-2") Connect("C10-2") Connect("C12-2") + Connect("C13-1") Connect("C20-2") + Connect("C21-2") Connect("C30-2") Connect("C32-2") + Connect("C33-2") Connect("C40-2") Connect("C41-2") Connect("FRONT_STATUS_LEDS-3") @@ -1862,8 +1932,8 @@ NetList() ) Net("PWM1" "(unknown)") ( + Connect("PROG_ENA-1") Connect("U1-2") - Connect("U10-3") Connect("USBASP_PROG-5") ) Net("PWM2" "(unknown)") @@ -1879,20 +1949,20 @@ NetList() ) Net("SENSE1+" "(unknown)") ( - Connect("LED_1-1") - Connect("R10-1") + Connect("C13-2") + Connect("R11-2") Connect("U1-20") ) Net("SENSE2+" "(unknown)") ( - Connect("LED_2-1") - Connect("R20-1") + Connect("C21-1") + Connect("R22-1") Connect("U1-18") ) Net("SENSE3" "(unknown)") ( - Connect("LED_3-1") - Connect("R30-1") + Connect("C33-1") + Connect("R31-1") Connect("U1-13") ) Net("SW1" "(unknown)") @@ -1956,9 +2026,9 @@ NetList() ) Net("unnamed_net10" "(unknown)") ( - Connect("C41-1") - Connect("PROG_ENA-1") - Connect("U40-2") + Connect("LED_2-1") + Connect("R20-1") + Connect("R22-2") ) Net("unnamed_net11" "(unknown)") ( @@ -1966,11 +2036,28 @@ NetList() Connect("F40-2") ) Net("unnamed_net12" "(unknown)") + ( + Connect("PROG_ENA-2") + Connect("U10-3") + ) + Net("unnamed_net13" "(unknown)") + ( + Connect("LED_1-1") + Connect("R10-1") + Connect("R11-1") + ) + Net("unnamed_net14" "(unknown)") + ( + Connect("LED_3-1") + Connect("R30-1") + Connect("R31-2") + ) + Net("unnamed_net15" "(unknown)") ( Connect("FRONT_STATUS_LEDS-4") Connect("R6-2") ) - Net("unnamed_net13" "(unknown)") + Net("unnamed_net16" "(unknown)") ( Connect("FRONT_STATUS_LEDS-7") Connect("Q20-7") diff --git a/schematics/lights.sch b/schematics/lights.sch index 66103ce..d6bbb76 100644 --- a/schematics/lights.sch +++ b/schematics/lights.sch @@ -35,7 +35,7 @@ value=x } N 43500 49400 43500 46700 4 N 41800 48500 44000 48500 4 -N 43900 47700 43900 48700 4 +N 43900 47700 43900 48600 4 N 42900 47700 44500 47700 4 { T 44400 47700 5 8 1 1 0 6 1 @@ -64,7 +64,7 @@ netname=PWM2 N 43800 47300 43800 48800 4 N 43800 48800 50700 48800 4 N 50700 45600 50700 48800 4 -N 43900 48700 51100 48700 4 +N 47000 48600 51100 48600 4 N 44500 46100 43900 46100 4 { T 44400 46100 5 8 1 1 0 6 1 @@ -178,7 +178,7 @@ N 41800 43700 42000 43700 4 N 42000 43700 42000 44700 4 N 42500 43400 42500 44000 4 N 44500 46300 43000 46300 4 -N 47900 48100 56000 48100 4 +N 47900 48100 56700 48100 4 N 47200 47700 48900 47700 4 { T 47200 47700 5 8 1 1 0 0 1 @@ -246,7 +246,7 @@ T 47200 47500 5 8 1 1 0 0 1 netname=SENSE2+ } N 48000 47500 48000 48000 4 -N 48000 48000 54700 48000 4 +N 48000 48000 51100 48000 4 N 48000 47400 48900 47400 4 N 48000 47400 48000 46900 4 N 48000 46900 47200 46900 4 @@ -343,7 +343,7 @@ N 50700 45700 51900 45700 4 N 53800 44600 53800 45000 4 N 52500 45200 52500 44600 4 N 50700 44700 50700 44600 4 -N 54700 45700 54700 48000 4 +N 54700 45700 54700 47500 4 C 52600 46100 1 0 0 schottky-1.sym { T 52922 46772 5 10 0 0 0 0 1 @@ -358,7 +358,7 @@ T 52600 46100 5 10 0 1 0 0 1 footprint=SMB } N 54700 44600 43500 44600 4 -N 48100 46100 48100 44200 4 +N 48100 46100 48100 44100 4 N 52500 46400 52500 46200 4 N 53500 46300 55100 46300 4 { @@ -465,7 +465,6 @@ N 47900 47300 47900 43700 4 N 47800 46300 47800 44000 4 N 48600 43900 51300 43900 4 N 43900 42500 51300 42500 4 -N 48100 44200 55000 44200 4 C 51200 47300 1 0 0 mcp14628-1.sym { T 51500 48600 5 8 1 1 0 0 1 @@ -557,14 +556,14 @@ C 55500 49500 1 270 0 resistor-2.sym { T 55850 49100 5 10 0 0 270 0 1 device=RESISTOR -T 55800 49300 5 10 1 1 270 0 1 +T 55800 49500 5 10 1 1 270 0 1 refdes=R10 T 55500 49500 5 10 0 1 0 0 1 footprint=0805 -T 55800 48800 5 10 1 1 270 0 1 +T 55800 49100 5 10 1 1 270 0 1 value=R033 } -N 48900 48500 55600 48500 4 +N 48900 48500 55700 48500 4 N 50800 49700 50800 48500 4 N 50800 50700 50800 50600 4 N 51300 50700 51300 49600 4 @@ -614,7 +613,7 @@ T 55100 50500 5 8 1 1 0 0 1 netname=LED1+ } N 55000 50100 55000 49600 4 -N 55000 49600 56000 49600 4 +N 55000 49600 56700 49600 4 N 55600 49600 55600 49500 4 N 53000 50000 51800 50000 4 N 51800 50000 51800 50300 4 @@ -623,10 +622,9 @@ T 51800 50000 5 10 0 1 0 0 1 netname=BOOT_10 } N 55600 48600 55600 48500 4 -N 51100 49400 51100 48700 4 +N 51100 49400 51100 48600 4 N 53700 50700 53900 50700 4 N 53900 50700 53900 50900 4 -N 56000 49600 56000 48100 4 C 51200 40400 1 0 0 mcp14628-1.sym { T 51500 41700 5 8 1 1 0 0 1 @@ -785,8 +783,8 @@ N 53900 43800 53900 44000 4 N 53900 44000 56900 44000 4 T 40700 49100 9 10 1 0 0 0 1 Battery -N 52500 47300 52500 47500 4 -N 52500 47500 56900 47500 4 +N 52500 47300 52500 47800 4 +N 52500 47800 56900 47800 4 N 47900 43700 47800 43700 4 N 47800 43400 47800 41600 4 T 46100 42800 9 10 1 0 0 0 2 @@ -794,16 +792,14 @@ Handlebar switches N 55000 50100 55100 50100 4 N 55600 42600 55600 42700 4 -N 55000 42700 55000 44200 4 +N 55000 42700 55000 44100 4 N 55000 43200 55100 43200 4 T 56200 44800 9 10 1 0 0 0 3 Rear LED string -T 56200 49000 9 10 1 0 0 0 3 -Rear -spot -LED +T 55500 50700 9 10 1 0 0 0 1 +Rear spot LED T 56200 42300 9 10 1 0 0 0 2 Front LED @@ -813,9 +809,9 @@ T 49600 50600 9 10 1 0 270 0 1 Ambient light sense T 51500 48300 9 10 1 0 0 0 1 Step-down converter LED 1 (refdes 1x) -T 50700 44000 9 10 1 0 0 0 1 +T 51000 44200 9 10 1 0 0 0 1 Step-down converter LED 3 (refdes 3x) -T 50900 47600 9 10 1 0 0 0 1 +T 53900 47600 9 10 1 0 0 0 1 Step-up converter LED 2 (refdes 2x) C 40100 41400 1 0 0 connector8-1.sym { @@ -907,18 +903,17 @@ N 54700 44800 54700 44600 4 T 45500 49200 9 10 1 0 0 0 2 Power module (refdes 4x) -C 45100 50800 1 270 0 jumper-1.sym +C 46000 48700 1 270 0 jumper-1.sym { -T 45600 50500 5 8 0 0 270 0 1 +T 46500 48400 5 8 0 0 270 0 1 device=JUMPER -T 45400 50400 5 10 1 1 0 0 1 +T 46300 48300 5 10 1 1 0 0 1 refdes=PROG_ENA -T 45100 50800 5 10 0 0 0 0 1 +T 46000 48700 5 10 0 0 0 0 1 footprint=JUMPER2 } N 44700 50300 44700 50700 4 -N 44700 50700 45100 50700 4 -N 46100 50700 51300 50700 4 +N 44700 50700 51300 50700 4 { T 47600 50500 5 10 1 1 0 0 1 netname=+5V @@ -927,3 +922,87 @@ N 53900 49500 53700 49500 4 N 53900 42600 53700 42600 4 N 41800 45800 42000 45800 4 N 42000 45800 42000 46900 4 +C 49700 44000 1 0 0 resistor-2.sym +{ +T 50100 44350 5 10 0 0 0 0 1 +device=RESISTOR +T 49700 44300 5 10 1 1 0 0 1 +refdes=R31 +T 50200 44300 5 10 1 1 0 0 1 +value=1K5 +T 49700 44000 5 10 0 1 0 0 1 +footprint=1206 +} +C 51200 47400 1 0 0 resistor-2.sym +{ +T 51600 47750 5 10 0 0 0 0 1 +device=RESISTOR +T 51300 47700 5 10 1 1 0 0 1 +refdes=R22 +T 51700 47700 5 10 1 1 0 0 1 +value=1K5 +T 51200 47400 5 10 0 0 0 0 1 +footprint=1206 +} +C 56600 49500 1 270 0 resistor-2.sym +{ +T 56950 49100 5 10 0 0 270 0 1 +device=RESISTOR +T 56400 49500 5 10 1 1 270 0 1 +refdes=R11 +T 56400 49000 5 10 1 1 270 0 1 +value=1K5 +T 56600 49500 5 10 0 1 0 0 1 +footprint=1206 +} +C 49300 43700 1 270 0 capacitor-1.sym +{ +T 50000 43500 5 10 0 0 270 0 1 +device=CAPACITOR +T 49800 43600 5 10 1 1 270 0 1 +refdes=C33 +T 50200 43500 5 10 0 0 270 0 1 +symversion=0.1 +T 49800 43100 5 10 1 1 270 0 1 +value=220nF +T 49300 43700 5 10 0 1 0 0 1 +footprint=1206 +} +C 55700 48300 1 0 0 capacitor-1.sym +{ +T 55900 49000 5 10 0 0 0 0 1 +device=CAPACITOR +T 55700 48200 5 10 1 1 0 0 1 +refdes=C13 +T 55900 49200 5 10 0 0 0 0 1 +symversion=0.1 +T 56100 48200 5 10 1 1 0 0 1 +value=220nF +T 55700 48300 5 10 0 1 0 0 1 +footprint=1206 +} +C 50900 46800 1 270 0 capacitor-1.sym +{ +T 51600 46600 5 10 0 0 270 0 1 +device=CAPACITOR +T 51400 46900 5 10 1 1 270 0 1 +refdes=C21 +T 51800 46600 5 10 0 0 270 0 1 +symversion=0.1 +T 51400 46400 5 10 1 1 270 0 1 +value=220nF +T 50900 46800 5 10 0 0 0 0 1 +footprint=1206 +} +N 55000 44100 50600 44100 4 +N 49700 44100 48100 44100 4 +N 49500 44100 49500 43700 4 +N 49500 42800 49500 41600 4 +N 56600 48500 56700 48500 4 +N 56700 49600 56700 49500 4 +N 56700 48100 56700 48600 4 +N 54700 47500 52100 47500 4 +N 51100 48000 51100 46800 4 +N 51200 47500 51100 47500 4 +N 51100 45900 51100 44600 4 +N 43900 48600 46000 48600 4