FreeCalypso > hg > fc-small-hw
changeset 16:7e564c546dde
lunakpd1: beginning of sensible layout
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 May 2020 06:08:40 +0000 |
parents | 36a6ba7f30ca |
children | 83efc63b894f |
files | lunakpd1/pcb/lunakpd1.pcb lunakpd1/placetool/placetool.c |
diffstat | 2 files changed, 37 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/lunakpd1/pcb/lunakpd1.pcb Sat May 09 05:11:54 2020 +0000 +++ b/lunakpd1/pcb/lunakpd1.pcb Sat May 09 06:08:40 2020 +0000 @@ -3,12 +3,12 @@ # To read pcb files, the pcb version (or the git source date) must be >= the file version FileVersion[20091103] -PCB["" 6000.00mil 5000.00mil] +PCB["" 60.0000mm 95.0000mm] -Grid[1000.000000 0.0000 0.0000 0] +Grid[984.251969 0.0000 0.0000 0] PolyArea[3100.006200] Thermal[0.500000] -DRC[10.00mil 10.00mil 10.00mil 10.00mil 15.00mil 10.00mil] +DRC[0.1500mm 0.1500mm 0.1500mm 0.1250mm 0.3800mm 0.2500mm] Flags("nameonpcb,uniquename,clearnew,snappin") Groups("1,c:2,s:3:4:5:6:7:8") Styles["Signal,10.00mil,36.00mil,20.00mil,10.00mil:Power,25.00mil,60.00mil,35.00mil,10.00mil:Fat,40.00mil,60.00mil,35.00mil,10.00mil:Skinny,6.00mil,24.02mil,11.81mil,6.00mil"] @@ -785,9 +785,10 @@ SymbolLine[15.00mil 35.00mil 20.00mil 35.00mil 8.00mil] SymbolLine[20.00mil 35.00mil 25.00mil 30.00mil 8.00mil] ) -Attribute("PCB::grid::unit" "mil") +Attribute("PCB::grid::unit" "mm") +Attribute("PCB::grid::size" "0.2500mm") -Element["" "HEADER10_2" "J1" "0901310125" 1570.00mil 3520.00mil 70.00mil -30.00mil 0 100 ""] +Element["" "HEADER10_2" "J1" "0901310125" 35.1280mm 85.1580mm 70.00mil -30.00mil 0 100 ""] ( Pin[0.0000 0.0000 60.00mil 30.00mil 66.00mil 38.00mil "1" "1" "square,edge2"] Pin[0.0000 100.00mil 60.00mil 30.00mil 66.00mil 38.00mil "2" "2" "edge2"] @@ -808,7 +809,7 @@ ) -Element["" "" "S00" "TL1105EF100Q" 290.00mil 860.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S00" "TL1105EF100Q" 10.0000mm 10.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -821,7 +822,7 @@ ) -Element["" "" "S01" "TL1105EF100Q" 740.00mil 880.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S01" "TL1105EF100Q" 20.0000mm 10.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -834,7 +835,7 @@ ) -Element["" "" "S02" "TL1105EF100Q" 1180.00mil 860.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S02" "TL1105EF100Q" 30.0000mm 10.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -847,7 +848,7 @@ ) -Element["" "" "S03" "TL1105EF100Q" 1590.00mil 860.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S03" "TL1105EF100Q" 40.0000mm 10.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -860,7 +861,7 @@ ) -Element["" "" "S04" "TL1105EF100Q" 2030.00mil 880.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S04" "TL1105EF100Q" 50.0000mm 10.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -873,7 +874,7 @@ ) -Element["" "" "S10" "TL1105EF100Q" 300.00mil 1410.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S10" "TL1105EF100Q" 10.0000mm 25.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -886,7 +887,7 @@ ) -Element["" "" "S11" "TL1105EF100Q" 750.00mil 1400.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S11" "TL1105EF100Q" 20.0000mm 25.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -899,7 +900,7 @@ ) -Element["" "" "S12" "TL1105EF100Q" 1200.00mil 1380.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S12" "TL1105EF100Q" 30.0000mm 25.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -912,7 +913,7 @@ ) -Element["" "" "S13" "TL1105EF100Q" 1590.00mil 1400.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S13" "TL1105EF100Q" 40.0000mm 25.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -925,7 +926,7 @@ ) -Element["" "" "S14" "TL1105EF100Q" 2040.00mil 1410.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S14" "TL1105EF100Q" 50.0000mm 25.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -938,7 +939,7 @@ ) -Element["" "" "S20" "TL1105EF100Q" 320.00mil 1950.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S20" "TL1105EF100Q" 10.0000mm 40.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -951,7 +952,7 @@ ) -Element["" "" "S21" "TL1105EF100Q" 760.00mil 1930.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S21" "TL1105EF100Q" 20.0000mm 40.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -964,7 +965,7 @@ ) -Element["" "" "S22" "TL1105EF100Q" 1210.00mil 1940.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S22" "TL1105EF100Q" 30.0000mm 40.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -977,7 +978,7 @@ ) -Element["" "" "S23" "TL1105EF100Q" 1640.00mil 1950.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S23" "TL1105EF100Q" 40.0000mm 40.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -990,7 +991,7 @@ ) -Element["" "" "S24" "TL1105EF100Q" 2040.00mil 1950.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S24" "TL1105EF100Q" 50.0000mm 40.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1003,7 +1004,7 @@ ) -Element["" "" "S30" "TL1105EF100Q" 360.00mil 2480.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S30" "TL1105EF100Q" 10.0000mm 55.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1016,7 +1017,7 @@ ) -Element["" "" "S31" "TL1105EF100Q" 790.00mil 2460.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S31" "TL1105EF100Q" 20.0000mm 55.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1029,7 +1030,7 @@ ) -Element["" "" "S32" "TL1105EF100Q" 1210.00mil 2470.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S32" "TL1105EF100Q" 30.0000mm 55.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1042,7 +1043,7 @@ ) -Element["" "" "S33" "TL1105EF100Q" 1640.00mil 2470.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S33" "TL1105EF100Q" 40.0000mm 55.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1055,7 +1056,7 @@ ) -Element["" "" "S34" "TL1105EF100Q" 2050.00mil 2470.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S34" "TL1105EF100Q" 50.0000mm 55.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1068,7 +1069,7 @@ ) -Element["" "" "S40" "TL1105EF100Q" 360.00mil 3010.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S40" "TL1105EF100Q" 10.0000mm 70.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1081,7 +1082,7 @@ ) -Element["" "" "S41" "TL1105EF100Q" 790.00mil 3010.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S41" "TL1105EF100Q" 20.0000mm 70.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1094,7 +1095,7 @@ ) -Element["" "" "S42" "TL1105EF100Q" 1240.00mil 3020.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S42" "TL1105EF100Q" 30.0000mm 70.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1107,7 +1108,7 @@ ) -Element["" "" "S43" "TL1105EF100Q" 1650.00mil 3030.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S43" "TL1105EF100Q" 40.0000mm 70.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1120,7 +1121,7 @@ ) -Element["" "" "S44" "TL1105EF100Q" 2060.00mil 3020.00mil -0.8500mm -4.0000mm 0 75 ""] +Element["" "" "S44" "TL1105EF100Q" 50.0000mm 70.0000mm -0.8500mm -4.0000mm 0 75 ""] ( Pin[-2.2500mm -3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "1" "1" ""] Pin[-2.2500mm 3.2500mm 1.7600mm 10.00mil 1.9100mm 1.0000mm "2" "2" ""] @@ -1161,4 +1162,9 @@ ) Layer(10 "silk") ( + Text[7.5000mm 15.2500mm 0 151 "SEND" "clearline"] + Text[18.2500mm 15.2500mm 0 151 "VOL-" "clearline"] + Text[27.7500mm 15.2500mm 0 151 "VOL+" "clearline"] + Text[37.0000mm 15.2500mm 0 151 "LSOFT" "clearline"] + Text[48.0000mm 15.2500mm 0 151 "LEFT" "clearline"] )
--- a/lunakpd1/placetool/placetool.c Sat May 09 05:11:54 2020 +0000 +++ b/lunakpd1/placetool/placetool.c Sat May 09 06:08:40 2020 +0000 @@ -45,7 +45,7 @@ row = fields[2][2] - '0'; col = fields[2][3] - '0'; - printf("Element[%s %s %s %s %dmm %dmm %s %s %s %s %s]", + printf("Element[%s %s %s %s %dmm %dmm %s %s %s %s %s]\n", fields[0], fields[1], fields[2], fields[3], xstart + col * xstep, ystart + row * ystep, fields[6], fields[7], fields[8], fields[9], fields[10]);