Finished cleaning up

This commit is contained in:
Sebastian 2016-10-04 21:36:04 +02:00
parent 0f172a9873
commit 7cfa66cf67
7 changed files with 899 additions and 508 deletions

View File

@ -1,3 +1,4 @@
(fp_lib_table
(lib (name to252-5)(type Legacy)(uri "$(KIPRJMOD)/lib/to252-5.mod")(options "")(descr ""))
(lib (name misc)(type KiCad)(uri "$(KIPRJMOD)/lib/misc.pretty")(options "")(descr ""))
)

View File

@ -0,0 +1,25 @@
(module smd_transistors:sot23 (layer F.Cu) (tedit 57F27F80)
(descr SOT23)
(attr smd)
(fp_text reference Q1 (at 0 0) (layer F.SilkS)
(effects (font (size 0.50038 0.50038) (thickness 0.09906)))
)
(fp_text value "BC 850C" (at 0 0.09906) (layer F.SilkS) hide
(effects (font (size 0.50038 0.50038) (thickness 0.09906)))
)
(fp_line (start 0.9525 0.6985) (end 0.9525 1.3589) (layer F.SilkS) (width 0.127))
(fp_line (start -0.9525 0.6985) (end -0.9525 1.3589) (layer F.SilkS) (width 0.127))
(fp_line (start 0 -0.6985) (end 0 -1.3589) (layer F.SilkS) (width 0.127))
(fp_line (start -1.4986 -0.6985) (end 1.4986 -0.6985) (layer F.SilkS) (width 0.127))
(fp_line (start 1.4986 -0.6985) (end 1.4986 0.6985) (layer F.SilkS) (width 0.127))
(fp_line (start 1.4986 0.6985) (end -1.4986 0.6985) (layer F.SilkS) (width 0.127))
(fp_line (start -1.4986 0.6985) (end -1.4986 -0.6985) (layer F.SilkS) (width 0.127))
(pad 2 smd rect (at -0.9525 1.05664) (size 0.59944 1.00076) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0 -1.05664) (size 0.59944 1.00076) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 0.9525 1.05664) (size 0.59944 1.00076) (layers F.Cu F.Paste F.Mask))
(model smd/smd_transistors/sot23.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

View File

@ -0,0 +1,23 @@
(module trimmer1 (layer F.Cu) (tedit 4F29A0CB)
(fp_text reference RV1 (at -3.175 0) (layer F.SilkS)
(effects (font (thickness 0.3048)))
)
(fp_text value 10k (at 5.715 0) (layer F.SilkS)
(effects (font (thickness 0.3048)))
)
(fp_line (start -8.89 -0.635) (end -9.525 -0.635) (layer F.SilkS) (width 0.381))
(fp_line (start -9.525 -0.635) (end -9.525 0.635) (layer F.SilkS) (width 0.381))
(fp_line (start -9.525 0.635) (end -8.89 0.635) (layer F.SilkS) (width 0.381))
(fp_line (start -8.89 1.27) (end 8.89 1.27) (layer F.SilkS) (width 0.381))
(fp_line (start 8.89 1.27) (end 8.89 -1.27) (layer F.SilkS) (width 0.381))
(fp_line (start 8.89 -1.27) (end -8.89 -1.27) (layer F.SilkS) (width 0.381))
(fp_line (start -8.89 -1.27) (end -8.89 1.27) (layer F.SilkS) (width 0.381))
(pad 1 thru_hole circle (at -6.35 1.27) (size 2.49936 2.49936) (drill 0.8128) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole circle (at -1.27 -1.27) (size 2.49936 2.49936) (drill 0.8128) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole circle (at 6.35 1.27) (size 2.49936 2.49936) (drill 0.8128) (layers *.Cu *.Mask F.SilkS))
(model 3D/pot/pot_sp19l.wrl
(at (xyz 0.02 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

View File

@ -18,6 +18,26 @@ X Out 5 -600 -200 300 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 0 100 40 H V L CNN
F1 "C" 6 -85 40 H V L CNN
F2 "" 38 -150 30 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
SM*
C?
C1-1
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 200 170 D 40 40 1 1 P
X ~ 2 0 -200 170 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# CONN_2
#
DEF CONN_2 P 0 40 Y N 1 F N
@ -37,10 +57,10 @@ ENDDEF
DEF ~GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 0 30 H I C CNN
F1 "GND" 0 -70 30 H I C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
X GND 1 0 0 0 U 30 30 1 1 W N
ENDDRAW
ENDDEF
@ -62,10 +82,10 @@ $FPLIST
LEDV
$ENDFPLIST
DRAW
P 2 0 1 0 50 50 50 -50 N
P 3 0 1 0 -50 50 50 0 -50 -50 F
P 3 0 1 0 65 -40 110 -80 105 -55 N
P 3 0 1 0 80 -25 125 -65 120 -40 N
P 2 0 1 0 50 50 50 -50 N
P 3 0 1 0 -50 50 50 0 -50 -50 F
P 3 0 1 0 65 -40 110 -80 105 -55 N
P 3 0 1 0 80 -25 125 -65 120 -40 N
X A 1 -200 0 150 R 40 40 1 1 P
X K 2 200 0 150 L 40 40 1 1 P
ENDDRAW
@ -80,11 +100,11 @@ F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 0 0 100 100 N
P 3 0 1 10 0 75 0 -75 0 -75 N
P 3 0 1 0 50 -50 0 0 0 0 N
P 3 0 1 0 90 -90 100 -100 100 -100 N
P 5 0 1 0 90 -90 70 -30 30 -70 90 -90 90 -90 F
P 2 0 1 0 0 0 100 100 N
P 3 0 1 10 0 75 0 -75 0 -75 N
P 3 0 1 0 50 -50 0 0 0 0 N
P 3 0 1 0 90 -90 100 -100 100 -100 N
P 5 0 1 0 90 -90 70 -30 30 -70 90 -90 90 -90 F
X E 1 100 -200 100 U 40 40 1 1 P
X B 2 -200 0 200 R 40 40 1 1 I
X C 3 100 200 100 D 40 40 1 1 P
@ -100,7 +120,7 @@ F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -150 50 150 -50 0 1 0 N
P 3 0 1 0 0 50 -20 70 20 70 F
P 3 0 1 0 0 50 -20 70 20 70 F
X 1 1 -250 0 100 R 40 40 1 1 P
X 2 2 0 150 80 D 40 40 1 1 P
X 3 3 250 0 100 L 40 40 1 1 P
@ -133,12 +153,12 @@ ENDDEF
DEF VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 100 30 H I C CNN
F1 "VCC" 0 100 30 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
X VCC 1 0 0 0 U 20 20 0 0 W N
C 0 50 20 0 1 0 N
P 3 0 1 0 0 0 0 30 0 30 N
P 3 0 1 0 0 0 0 30 0 30 N
ENDDRAW
ENDDEF
#

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
(export (version D)
(design
(source /home/sebastian/projects/LipoGuard/lipoguard.sch)
(date "Mon 03 Oct 2016 04:06:24 PM CEST")
(tool "Eeschema (2016-01-14 BZR 6468, Git f15af3a)-product")
(date "Tue 04 Oct 2016 05:57:51 PM CEST")
(tool "Eeschema 4.0.4-stable")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
@ -23,7 +23,7 @@
(tstamp 57E2D89A))
(comp (ref R3)
(value R)
(footprint discret:R3)
(footprint libcms:SM0603)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 57E2E0BA))
@ -65,19 +65,28 @@
(tstamp 57E30469))
(comp (ref Q1)
(value "BC 850C")
(footprint misc:sot23BEC)
(libsource (lib device) (part NPN))
(sheetpath (names /) (tstamps /))
(tstamp 57F2671F))
(comp (ref R4)
(value 4.7k)
(footprint libcms:SM0603)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 57F269B7))
(comp (ref RV1)
(value 10k)
(footprint misc:trimmer1)
(libsource (lib device) (part POT))
(sheetpath (names /) (tstamps /))
(tstamp 57F26A5C)))
(tstamp 57F26A5C))
(comp (ref C1)
(value 100nf)
(footprint libcms:SM0603)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 57F3D205)))
(libparts
(libpart (lib bts6143) (part BTS6143)
(fields
@ -89,6 +98,18 @@
(pin (num 3) (name Vbb) (type input))
(pin (num 4) (name Is) (type input))
(pin (num 5) (name Out) (type input))))
(libpart (lib device) (part C)
(description "Condensateur non polarise")
(footprints
(fp SM*)
(fp C?)
(fp C1-1))
(fields
(field (name Reference) C)
(field (name Value) C))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib conn) (part CONN_2)
(description "Symbole general de connecteur")
(fields
@ -150,42 +171,43 @@
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib))
(library (logical bts6143)
(uri lib/bts6143.lib)))
(uri /home/sebastian/projects/LipoGuard/lib/bts6143.lib)))
(nets
(net (code 1) (name "Net-(Q1-Pad2)")
(node (ref Q1) (pin 2))
(node (ref R4) (pin 2)))
(net (code 2) (name VCC)
(node (ref P1) (pin 1))
(node (ref RV1) (pin 3))
(node (ref U1) (pin 3))
(node (ref R1) (pin 1)))
(net (code 3) (name GND)
(net (code 1) (name GND)
(node (ref C1) (pin 2))
(node (ref RV1) (pin 1))
(node (ref P2) (pin 1))
(node (ref R3) (pin 2))
(node (ref D2) (pin 2))
(node (ref D1) (pin 2))
(node (ref D2) (pin 2))
(node (ref Q1) (pin 1))
(node (ref P1) (pin 2)))
(net (code 4) (name "Net-(D1-Pad1)")
(node (ref D1) (pin 1))
(node (ref R1) (pin 2)))
(net (code 5) (name "Net-(RV1-Pad1)")
(node (ref RV1) (pin 1)))
(net (code 6) (name "Net-(R4-Pad1)")
(node (ref RV1) (pin 2))
(node (ref R4) (pin 1)))
(net (code 7) (name "Net-(Q1-Pad3)")
(net (code 2) (name "Net-(Q1-Pad3)")
(node (ref Q1) (pin 3))
(node (ref U1) (pin 2)))
(net (code 8) (name "Net-(R3-Pad1)")
(node (ref U1) (pin 4))
(node (ref R3) (pin 1)))
(net (code 9) (name "Net-(D2-Pad1)")
(net (code 3) (name "Net-(Q1-Pad2)")
(node (ref R4) (pin 2))
(node (ref Q1) (pin 2)))
(net (code 4) (name VCC)
(node (ref U1) (pin 3))
(node (ref R1) (pin 1))
(node (ref P1) (pin 1))
(node (ref RV1) (pin 3)))
(net (code 5) (name "Net-(D1-Pad1)")
(node (ref D1) (pin 1))
(node (ref R1) (pin 2)))
(net (code 6) (name "Net-(C1-Pad1)")
(node (ref R4) (pin 1))
(node (ref RV1) (pin 2))
(node (ref C1) (pin 1)))
(net (code 7) (name "Net-(R3-Pad1)")
(node (ref R3) (pin 1))
(node (ref U1) (pin 4)))
(net (code 8) (name "Net-(D2-Pad1)")
(node (ref D2) (pin 1))
(node (ref R2) (pin 2)))
(net (code 10) (name "Net-(P2-Pad2)")
(node (ref P2) (pin 2))
(net (code 9) (name "Net-(P2-Pad2)")
(node (ref U1) (pin 1))
(node (ref P2) (pin 2))
(node (ref R2) (pin 1))
(node (ref U1) (pin 5)))))

View File

@ -72,7 +72,7 @@ U 1 1 57E2E0BA
P 5900 4450
F 0 "R3" H 5971 4489 40 0000 L CNN
F 1 "R" H 5971 4411 40 0000 L CNN
F 2 "discret:R3" V 5830 4450 30 0001 C CNN
F 2 "libcms:SM0603" V 5830 4450 30 0001 C CNN
F 3 "" H 5900 4450 30 0000 C CNN
1 5900 4450
1 0 0 -1
@ -263,7 +263,7 @@ U 1 1 57F2671F
P 6700 3900
F 0 "Q1" H 6891 3946 50 0000 L CNN
F 1 "BC 850C" H 6891 3854 50 0000 L CNN
F 2 "" H 6700 3900 60 0000 C CNN
F 2 "misc:sot23BEC" H 6700 3900 60 0001 C CNN
F 3 "" H 6700 3900 60 0000 C CNN
1 6700 3900
-1 0 0 -1
@ -291,7 +291,7 @@ U 1 1 57F269B7
P 7250 3900
F 0 "R4" V 7062 3900 40 0000 C CNN
F 1 "4.7k" V 7140 3900 40 0000 C CNN
F 2 "" V 7180 3900 30 0000 C CNN
F 2 "libcms:SM0603" V 7180 3900 30 0001 C CNN
F 3 "" H 7250 3900 30 0000 C CNN
1 7250 3900
0 1 1 0
@ -301,40 +301,67 @@ Wire Wire Line
$Comp
L POT RV1
U 1 1 57F26A5C
P 7750 3900
F 0 "RV1" V 7796 3817 50 0000 R CNN
F 1 "10k" V 7704 3817 50 0000 R CNN
F 2 "" H 7750 3900 60 0000 C CNN
F 3 "" H 7750 3900 60 0000 C CNN
1 7750 3900
P 8200 3900
F 0 "RV1" V 8246 3817 50 0000 R CNN
F 1 "10k" V 8154 3817 50 0000 R CNN
F 2 "misc:trimmer1" H 8200 3900 60 0001 C CNN
F 3 "" H 8200 3900 60 0000 C CNN
1 8200 3900
0 -1 -1 0
$EndComp
Wire Wire Line
7500 3900 7600 3900
7500 3900 8050 3900
Wire Wire Line
7750 4200 7750 5350
8200 4150 8200 5350
$Comp
L GND #PWR010
U 1 1 57F26B56
P 7750 5350
F 0 "#PWR010" H 7750 5350 30 0001 C CNN
F 1 "GND" H 7750 5280 30 0001 C CNN
F 2 "" H 7750 5350 60 0000 C CNN
F 3 "" H 7750 5350 60 0000 C CNN
1 7750 5350
P 8200 5350
F 0 "#PWR010" H 8200 5350 30 0001 C CNN
F 1 "GND" H 8200 5280 30 0001 C CNN
F 2 "" H 8200 5350 60 0000 C CNN
F 3 "" H 8200 5350 60 0000 C CNN
1 8200 5350
1 0 0 -1
$EndComp
Wire Wire Line
7750 3650 7750 2450
8200 3650 8200 2450
$Comp
L VCC #PWR011
U 1 1 57F26BA7
P 7750 2450
F 0 "#PWR011" H 7750 2550 30 0001 C CNN
F 1 "VCC" H 7756 2579 30 0000 C CNN
F 2 "" H 7750 2450 60 0000 C CNN
F 3 "" H 7750 2450 60 0000 C CNN
1 7750 2450
P 8200 2450
F 0 "#PWR011" H 8200 2550 30 0001 C CNN
F 1 "VCC" H 8206 2579 30 0000 C CNN
F 2 "" H 8200 2450 60 0000 C CNN
F 3 "" H 8200 2450 60 0000 C CNN
1 8200 2450
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 57F3D205
P 7750 4450
F 0 "C1" H 7750 4550 40 0000 L CNN
F 1 "100nf" H 7756 4365 40 0000 L CNN
F 2 "libcms:SM0603" H 7788 4300 30 0001 C CNN
F 3 "" H 7750 4450 60 0000 C CNN
1 7750 4450
1 0 0 -1
$EndComp
Wire Wire Line
7750 4250 7750 3900
Connection ~ 7750 3900
Wire Wire Line
7750 4650 7750 5350
$Comp
L GND #PWR012
U 1 1 57F3D38A
P 7750 5350
F 0 "#PWR012" H 7750 5350 30 0001 C CNN
F 1 "GND" H 7750 5280 30 0001 C CNN
F 2 "" H 7750 5350 60 0001 C CNN
F 3 "" H 7750 5350 60 0001 C CNN
1 7750 5350
1 0 0 -1
$EndComp
$EndSCHEMATC