From 4adf6210a4d274e3f05b39e618fd001b6bdc34a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 22 Sep 2018 21:33:06 +0200 Subject: dice: migrate board to kicad 5 --- dice/board/dice-cache.lib | 104 +++++++++++++++++---------------- dice/board/dice.pro | 39 +------------ dice/board/dice.sch | 142 ++++++++++++++++++++++++---------------------- 3 files changed, 127 insertions(+), 158 deletions(-) diff --git a/dice/board/dice-cache.lib b/dice/board/dice-cache.lib index 75e863d..50d355d 100644 --- a/dice/board/dice-cache.lib +++ b/dice/board/dice-cache.lib @@ -1,14 +1,13 @@ -EESchema-LIBRARY Version 2.3 +EESchema-LIBRARY Version 2.4 #encoding utf-8 # -# ATTINY13-20PU +# dice-rescue:ATTINY13A-PU # -DEF ATTINY13-20PU U 0 40 Y Y 1 F N +DEF dice-rescue:ATTINY13A-PU U 0 40 Y Y 1 F N F0 "U" -800 400 50 H V C CNN -F1 "ATTINY13-20PU" 650 -400 50 H V C CNN +F1 "dice-rescue:ATTINY13A-PU" 650 -400 50 H V C CNN F2 "Housings_DIP:DIP-8_W7.62mm" 650 0 50 H I C CIN F3 "" -800 350 50 H I C CNN -ALIAS ATTINY13A-PU DRAW S -850 350 850 -350 0 1 10 f X PB5(~RESET~/ADC0/PCINT5/dW) 1 -1000 -250 150 R 40 40 1 1 B @@ -22,11 +21,11 @@ X VCC 8 1000 250 150 L 40 40 1 1 W ENDDRAW ENDDEF # -# C +# dice-rescue:C # -DEF C C 0 10 N Y 1 F N +DEF dice-rescue:C C 0 10 N Y 1 F N F0 "C" 25 100 50 H V L CNN -F1 "C" 25 -100 50 H V L CNN +F1 "dice-rescue:C" 25 -100 50 H V L CNN F2 "" 38 -150 50 H I C CNN F3 "" 0 0 50 H I C CNN $FPLIST @@ -40,11 +39,11 @@ X ~ 2 0 -150 110 U 50 50 1 1 P ENDDRAW ENDDEF # -# Conn_01x02 +# dice-rescue:Conn_01x02 # -DEF Conn_01x02 J 0 40 Y N 1 F N +DEF dice-rescue:Conn_01x02 J 0 40 Y N 1 F N F0 "J" 0 100 50 H V C CNN -F1 "Conn_01x02" 0 -200 50 H V C CNN +F1 "dice-rescue:Conn_01x02" 0 -200 50 H V C CNN F2 "" 0 0 50 H I C CNN F3 "" 0 0 50 H I C CNN $FPLIST @@ -64,11 +63,11 @@ X Pin_2 2 -200 -100 150 R 50 50 1 1 P ENDDRAW ENDDEF # -# D +# dice-rescue:D # -DEF D D 0 40 N N 1 F N +DEF dice-rescue:D D 0 40 N N 1 F N F0 "D" 0 100 50 H V C CNN -F1 "D" 0 -100 50 H V C CNN +F1 "dice-rescue:D" 0 -100 50 H V C CNN F2 "" 0 0 50 H I C CNN F3 "" 0 0 50 H I C CNN $FPLIST @@ -87,24 +86,29 @@ X A 2 150 0 100 L 50 50 1 1 P ENDDRAW ENDDEF # -# GND +# dice-rescue:L78L05_TO92 # -DEF GND #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -250 50 H I C CNN -F1 "GND" 0 -150 50 H V C CNN -F2 "" 0 0 50 H I C CNN -F3 "" 0 0 50 H I C CNN +DEF dice-rescue:L78L05_TO92 U 0 10 Y Y 1 F N +F0 "U" -150 125 50 H V C CNN +F1 "dice-rescue:L78L05_TO92" 0 125 50 H V L CNN +F2 "TO_SOT_Packages_THT:TO-92_Inline_Narrow_Oval" 0 225 50 H I C CIN +F3 "" 0 -50 50 H I C CNN +$FPLIST + TO?92* +$ENDFPLIST DRAW -P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N -X GND 1 0 0 0 D 50 50 1 1 W N +S -200 -200 200 75 0 1 10 f +X VO 1 300 0 100 L 50 50 1 1 w +X GND 2 0 -300 100 U 50 50 1 1 W +X VI 3 -300 0 100 R 50 50 1 1 W ENDDRAW ENDDEF # -# LED +# dice-rescue:LED # -DEF LED D 0 40 Y N 1 F N +DEF dice-rescue:LED D 0 40 Y N 1 F N F0 "D" 0 100 50 H V C CNN -F1 "LED" 0 -100 50 H V C CNN +F1 "dice-rescue:LED" 0 -100 50 H V C CNN F2 "" 0 0 50 H I C CNN F3 "" 0 0 50 H I C CNN $FPLIST @@ -121,30 +125,11 @@ X A 2 150 0 100 L 50 50 1 1 P ENDDRAW ENDDEF # -# MC78L05_TO92 -# -DEF MC78L05_TO92 U 0 10 Y Y 1 F N -F0 "U" -150 125 50 H V C CNN -F1 "MC78L05_TO92" 0 125 50 H V L CNN -F2 "TO_SOT_Packages_THT:TO-92_Inline_Narrow_Oval" 0 225 50 H I C CIN -F3 "" 0 -50 50 H I C CNN -ALIAS LM78L05_TO92 MC78L06_TO92 MC78L08_TO92 MC78L12_TO92 LM78L12_TO92 MC78L15_TO92 MC78L18_TO92 MC78L24_TO92 LM2931AZ-5.0_TO92 LM2936-3.0_TO92 LM2936-3.3_TO92 LM2936-5.0_TO92 LP2950-3.0_TO92 LP2950-3.3_TO92 LP2950-5.0_TO92 L78L33_TO92 L78L05_TO92 L78L06_TO92 L78L08_TO92 L78L09_TO92 L78L10_TO92 L78L12_TO92 L78L15_TO92 L78L18_TO92 L78L24_TO92 -$FPLIST - TO?92* -$ENDFPLIST -DRAW -S -200 -200 200 75 0 1 10 f -X VO 1 300 0 100 L 50 50 1 1 w -X GND 2 0 -300 100 U 50 50 1 1 W -X VI 3 -300 0 100 R 50 50 1 1 W -ENDDRAW -ENDDEF -# -# R +# dice-rescue:R # -DEF R R 0 0 N Y 1 F N +DEF dice-rescue:R R 0 0 N Y 1 F N F0 "R" 80 0 50 V V C CNN -F1 "R" 0 0 50 V V C CNN +F1 "dice-rescue:R" 0 0 50 V V C CNN F2 "" -70 0 50 V I C CNN F3 "" 0 0 50 H I C CNN $FPLIST @@ -158,11 +143,11 @@ X ~ 2 0 -150 50 U 50 50 1 1 P ENDDRAW ENDDEF # -# SW_Push +# dice-rescue:SW_Push # -DEF SW_Push SW 0 40 N N 1 F N +DEF dice-rescue:SW_Push SW 0 40 N N 1 F N F0 "SW" 50 100 50 H V L CNN -F1 "SW_Push" 0 -60 50 H V C CNN +F1 "dice-rescue:SW_Push" 0 -60 50 H V C CNN F2 "" 0 200 50 H I C CNN F3 "" 0 200 50 H I C CNN DRAW @@ -175,11 +160,24 @@ X 2 2 200 0 100 L 50 50 0 1 P ENDDRAW ENDDEF # -# VCC +# power:GND +# +DEF power:GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "power:GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power:VCC # -DEF VCC #PWR 0 0 Y Y 1 F P +DEF power:VCC #PWR 0 0 Y Y 1 F P F0 "#PWR" 0 -150 50 H I C CNN -F1 "VCC" 0 150 50 H V C CNN +F1 "power:VCC" 0 150 50 H V C CNN F2 "" 0 0 50 H I C CNN F3 "" 0 0 50 H I C CNN DRAW diff --git a/dice/board/dice.pro b/dice/board/dice.pro index b6bea09..8f94cae 100644 --- a/dice/board/dice.pro +++ b/dice/board/dice.pro @@ -1,4 +1,4 @@ -update=Wed 05 Sep 2018 09:17:38 PM CEST +update=Sat 22 Sep 2018 08:36:40 PM CEST version=1 last_client=kicad [pcbnew] @@ -23,41 +23,8 @@ ModuleOutlineThickness=0.150000000000 [cvpcb] version=1 NetIExt=net +[general] +version=1 [eeschema] version=1 LibDir= -[eeschema/libraries] -LibName1=power -LibName2=device -LibName3=switches -LibName4=relays -LibName5=motors -LibName6=transistors -LibName7=conn -LibName8=linear -LibName9=regul -LibName10=74xx -LibName11=cmos4000 -LibName12=adc-dac -LibName13=memory -LibName14=xilinx -LibName15=microcontrollers -LibName16=dsp -LibName17=microchip -LibName18=analog_switches -LibName19=motorola -LibName20=texas -LibName21=intel -LibName22=audio -LibName23=interface -LibName24=digital-audio -LibName25=philips -LibName26=display -LibName27=cypress -LibName28=siliconi -LibName29=opto -LibName30=atmel -LibName31=contrib -LibName32=valves -[general] -version=1 diff --git a/dice/board/dice.sch b/dice/board/dice.sch index eccbbf3..15784c8 100644 --- a/dice/board/dice.sch +++ b/dice/board/dice.sch @@ -1,38 +1,6 @@ -EESchema Schematic File Version 2 -LIBS:power -LIBS:device -LIBS:switches -LIBS:relays -LIBS:motors -LIBS:transistors -LIBS:conn -LIBS:linear -LIBS:regul -LIBS:74xx -LIBS:cmos4000 -LIBS:adc-dac -LIBS:memory -LIBS:xilinx -LIBS:microcontrollers -LIBS:dsp -LIBS:microchip -LIBS:analog_switches -LIBS:motorola -LIBS:texas -LIBS:intel -LIBS:audio -LIBS:interface -LIBS:digital-audio -LIBS:philips -LIBS:display -LIBS:cypress -LIBS:siliconi -LIBS:opto -LIBS:atmel -LIBS:contrib -LIBS:valves +EESchema Schematic File Version 4 LIBS:dice-cache -EELAYER 25 0 +EELAYER 26 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 @@ -47,7 +15,7 @@ Comment3 "" Comment4 "" $EndDescr $Comp -L ATTINY13A-PU U1 +L dice-rescue:ATTINY13A-PU U1 U 1 1 5B902F53 P 3900 5900 F 0 "U1" H 3100 6300 50 0000 C CNN @@ -58,7 +26,7 @@ F 3 "" H 3100 6250 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GND #PWR01 +L power:GND #PWR01 U 1 1 5B903101 P 4950 6250 F 0 "#PWR01" H 4950 6000 50 0001 C CNN @@ -77,7 +45,7 @@ Wire Wire Line Wire Wire Line 4950 6150 4900 6150 $Comp -L LED D1 +L dice-rescue:LED D1 U 1 1 5B9041A9 P 3900 3600 F 0 "D1" H 3900 3700 50 0000 C CNN @@ -88,7 +56,7 @@ F 3 "" H 3900 3600 50 0001 C CNN 0 1 1 0 $EndComp $Comp -L LED D2 +L dice-rescue:LED D2 U 1 1 5B904312 P 4200 3600 F 0 "D2" H 4200 3700 50 0000 C CNN @@ -99,7 +67,7 @@ F 3 "" H 4200 3600 50 0001 C CNN 0 -1 -1 0 $EndComp $Comp -L LED D3 +L dice-rescue:LED D3 U 1 1 5B904351 P 4650 3600 F 0 "D3" H 4650 3700 50 0000 C CNN @@ -110,7 +78,7 @@ F 3 "" H 4650 3600 50 0001 C CNN 0 1 1 0 $EndComp $Comp -L LED D4 +L dice-rescue:LED D4 U 1 1 5B904397 P 4950 3600 F 0 "D4" H 4950 3700 50 0000 C CNN @@ -121,7 +89,7 @@ F 3 "" H 4950 3600 50 0001 C CNN 0 -1 -1 0 $EndComp $Comp -L LED D5 +L dice-rescue:LED D5 U 1 1 5B9043D0 P 5350 3600 F 0 "D5" H 5350 3700 50 0000 C CNN @@ -132,7 +100,7 @@ F 3 "" H 5350 3600 50 0001 C CNN 0 1 1 0 $EndComp $Comp -L LED D6 +L dice-rescue:LED D6 U 1 1 5B90443C P 5650 3600 F 0 "D6" H 5650 3700 50 0000 C CNN @@ -145,7 +113,7 @@ $EndComp Wire Wire Line 3900 3450 3900 3350 Wire Wire Line - 3600 3350 4200 3350 + 3600 3350 3900 3350 Wire Wire Line 4200 3350 4200 3450 Wire Wire Line @@ -159,13 +127,13 @@ Wire Wire Line Wire Wire Line 4650 3450 4650 3350 Wire Wire Line - 4650 3350 4950 3350 + 4650 3350 4800 3350 Wire Wire Line 4950 3350 4950 3450 Wire Wire Line 5350 3450 5350 3350 Wire Wire Line - 5350 3350 5650 3350 + 5350 3350 5500 3350 Wire Wire Line 5650 3350 5650 3450 Wire Wire Line @@ -205,9 +173,9 @@ LED2 Wire Wire Line 8200 2650 7950 2650 Wire Wire Line - 7950 2550 8650 2550 + 7950 2550 8450 2550 $Comp -L VCC #PWR02 +L power:VCC #PWR02 U 1 1 5B90B211 P 4950 5550 F 0 "#PWR02" H 4950 5400 50 0001 C CNN @@ -218,7 +186,7 @@ F 3 "" H 4950 5550 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L VCC #PWR03 +L power:VCC #PWR03 U 1 1 5B90B407 P 2250 6150 F 0 "#PWR03" H 2250 6000 50 0001 C CNN @@ -229,7 +197,7 @@ F 3 "" H 2250 6150 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L LED D7 +L dice-rescue:LED D7 U 1 1 5B904422 P 3600 3600 F 0 "D7" H 3600 3700 50 0000 C CNN @@ -242,7 +210,7 @@ $EndComp Wire Wire Line 2800 6050 2900 6050 $Comp -L SW_Push SW1 +L dice-rescue:SW_Push SW1 U 1 1 5B907217 P 6750 5100 F 0 "SW1" H 6800 5200 50 0000 L CNN @@ -253,7 +221,7 @@ F 3 "" H 6750 5300 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L VCC #PWR04 +L power:VCC #PWR04 U 1 1 5B9078B0 P 7150 4600 F 0 "#PWR04" H 7150 4450 50 0001 C CNN @@ -264,7 +232,7 @@ F 3 "" H 7150 4600 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R4 +L dice-rescue:R R4 U 1 1 5B9078E2 P 7150 4850 F 0 "R4" V 7230 4850 50 0000 C CNN @@ -275,7 +243,7 @@ F 3 "" H 7150 4850 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GND #PWR05 +L power:GND #PWR05 U 1 1 5B907937 P 6450 5200 F 0 "#PWR05" H 6450 4950 50 0001 C CNN @@ -288,7 +256,7 @@ $EndComp Wire Wire Line 7150 4700 7150 4600 Wire Wire Line - 6950 5100 7350 5100 + 6950 5100 7150 5100 Wire Wire Line 7150 5100 7150 5000 Wire Wire Line @@ -296,7 +264,7 @@ Wire Wire Line Wire Wire Line 6450 5100 6450 5200 $Comp -L D D8 +L dice-rescue:D D8 U 1 1 5B908914 P 9900 2750 F 0 "D8" H 9900 2850 50 0000 C CNN @@ -307,7 +275,7 @@ F 3 "" H 9900 2750 50 0001 C CNN 0 1 1 0 $EndComp $Comp -L VCC #PWR06 +L power:VCC #PWR06 U 1 1 5B908A04 P 9900 2500 F 0 "#PWR06" H 9900 2350 50 0001 C CNN @@ -318,7 +286,7 @@ F 3 "" H 9900 2500 50 0001 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 3600 3850 5650 3850 + 3600 3850 3900 3850 Wire Wire Line 3600 3350 3600 3450 Connection ~ 3900 3350 @@ -333,7 +301,7 @@ Connection ~ 7150 5100 Text Label 2800 6050 2 60 ~ 0 BTN $Comp -L L78L05_TO92 U2 +L dice-rescue:L78L05_TO92 U2 U 1 1 5B905F6A P 8950 2550 F 0 "U2" H 8800 2675 50 0000 C CNN @@ -344,7 +312,7 @@ F 3 "" H 8950 2500 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L C C2 +L dice-rescue:C C2 U 1 1 5B906429 P 9400 2800 F 0 "C2" H 9425 2900 50 0000 L CNN @@ -355,7 +323,7 @@ F 3 "" H 9400 2800 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L C C1 +L dice-rescue:C C1 U 1 1 5B9064A0 P 8450 2800 F 0 "C1" H 8475 2900 50 0000 L CNN @@ -366,18 +334,18 @@ F 3 "" H 8450 2800 50 0001 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 9250 2550 9900 2550 + 9250 2550 9400 2550 Wire Wire Line 9400 2550 9400 2650 Wire Wire Line - 8200 3000 9900 3000 + 8200 3000 8450 3000 Wire Wire Line 9400 3000 9400 2950 Wire Wire Line - 8950 2850 8950 3050 + 8950 2850 8950 3000 Connection ~ 8950 3000 $Comp -L GND #PWR07 +L power:GND #PWR07 U 1 1 5B906763 P 8950 3050 F 0 "#PWR07" H 8950 2800 50 0001 C CNN @@ -396,7 +364,7 @@ Wire Wire Line 8200 2650 8200 3000 Connection ~ 8450 3000 Wire Wire Line - 9900 2500 9900 2600 + 9900 2500 9900 2550 Connection ~ 9400 2550 Connection ~ 9900 2550 Wire Wire Line @@ -413,7 +381,7 @@ Wire Wire Line Wire Wire Line 2250 6150 2900 6150 $Comp -L Conn_01x02 J1 +L dice-rescue:Conn_01x02 J1 U 1 1 5B918DEB P 7750 2650 F 0 "J1" H 7750 2750 50 0000 C CNN @@ -424,7 +392,7 @@ F 3 "" H 7750 2650 50 0001 C CNN -1 0 0 1 $EndComp $Comp -L R R1 +L dice-rescue:R R1 U 1 1 5B969D0C P 4050 3050 F 0 "R1" V 4130 3050 50 0000 C CNN @@ -435,7 +403,7 @@ F 3 "" H 4050 3050 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R2 +L dice-rescue:R R2 U 1 1 5B969F3E P 4800 3050 F 0 "R2" V 4880 3050 50 0000 C CNN @@ -446,7 +414,7 @@ F 3 "" H 4800 3050 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R3 +L dice-rescue:R R3 U 1 1 5B969FC8 P 5500 3050 F 0 "R3" V 5580 3050 50 0000 C CNN @@ -456,4 +424,40 @@ F 3 "" H 5500 3050 50 0001 C CNN 1 5500 3050 1 0 0 -1 $EndComp +Wire Wire Line + 4800 3850 4950 3850 +Wire Wire Line + 5350 3850 5650 3850 +Wire Wire Line + 4950 3850 5350 3850 +Wire Wire Line + 4200 3850 4650 3850 +Wire Wire Line + 4650 3850 4800 3850 +Wire Wire Line + 4050 3350 4200 3350 +Wire Wire Line + 4800 3350 4950 3350 +Wire Wire Line + 5500 3350 5650 3350 +Wire Wire Line + 3900 3350 4050 3350 +Wire Wire Line + 3900 3850 4200 3850 +Wire Wire Line + 7150 5100 7350 5100 +Wire Wire Line + 8950 3000 9400 3000 +Wire Wire Line + 8950 3000 8950 3050 +Wire Wire Line + 8450 2550 8650 2550 +Wire Wire Line + 8450 3000 8950 3000 +Wire Wire Line + 9400 2550 9900 2550 +Wire Wire Line + 9900 2550 9900 2600 +Wire Wire Line + 9400 3000 9900 3000 $EndSCHEMATC -- cgit v1.2.3