started git versioning of v1

This commit is contained in:
2020-05-10 11:26:30 +02:00
commit 3cf4ce5f8b
24 changed files with 102464 additions and 0 deletions

12
board/bom.csv Normal file
View File

@@ -0,0 +1,12 @@
"ID";"Bezeichner";"Gehäuse";"Stückzahl";"Bezeichnung";"Anbieter und Referenz";
1;"R2";"R_0603_1608Metric";1;"10k";;;
2;"J1";"JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal";1;"Bus_in";;;
3;"J2";"JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal";1;"Bus_out";;;
4;"J3";"PinHeader_1x03_P2.54mm_Horizontal";1;"uPDI";;;
5;"R1,R11,R12";"R_0603_1608Metric";3;"330R";;;
6;"R3,R4,R5,R6,R7,R8,R9,R10";"R_0603_1608Metric";8;"1k";;;
7;"SW1";"SW_Push_1P1T_NO_6x6mm_H9.5mm";1;"SW_RESET";;;
8;"U1";"SOIC-20W_7.5x12.8mm_P1.27mm";1;"ATtiny1616-S";;;
9;"D1";"SOT-23";1;"LED_Dual_AAC";;;
10;"C1";"C_0603_1608Metric_Pad1.05x0.95mm_HandSolder";1;"4,7uF";;;
11;"C2";"C_0603_1608Metric_Pad1.05x0.95mm_HandSolder";1;"100nF";;;
Can't render this file because it has a wrong number of fields in line 2.

75258
board/fp-info-cache Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,108 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.5*
G04 #@! TF.CreationDate,2020-04-23T18:51:29+02:00*
G04 #@! TF.ProjectId,water_level,77617465-725f-46c6-9576-656c2e6b6963,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Copper,L2,Bot*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.5) date 2020-04-23 18:51:29*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10R,1.700000X1.700000*%
%ADD11O,1.700000X1.700000*%
%ADD12C,0.800000*%
%ADD13C,0.635000*%
%ADD14C,0.254000*%
G04 APERTURE END LIST*
D10*
X37465000Y-45085000D03*
D11*
X37465000Y-42545000D03*
X37465000Y-40005000D03*
D12*
X34925000Y-187960000D03*
X44069000Y-37084000D03*
X33274000Y-54102000D03*
X34925000Y-72390000D03*
X34925000Y-187960000D03*
X36830000Y-72390000D03*
X38735000Y-72390000D03*
X40640000Y-72390000D03*
X48260000Y-72390000D03*
X44450000Y-72390000D03*
X36830000Y-183896000D03*
X38694000Y-180000000D03*
X40640000Y-176022000D03*
X48260000Y-171958000D03*
X46355000Y-72390000D03*
X46355000Y-167767000D03*
X44450000Y-164084000D03*
X42545000Y-72390000D03*
X42545000Y-160147000D03*
X36449000Y-22733000D03*
X45720000Y-55753000D03*
X45593000Y-57404000D03*
X46228000Y-22987000D03*
D13*
X38950000Y-45085000D02*
X37465000Y-45085000D01*
X44069000Y-39966000D02*
X38950000Y-45085000D01*
X44069000Y-37084000D02*
X44069000Y-39966000D01*
X37465000Y-46570000D02*
X33274000Y-50761000D01*
X37465000Y-45085000D02*
X37465000Y-46570000D01*
X33274000Y-50761000D02*
X33274000Y-54102000D01*
D14*
X34925000Y-72390000D02*
X34925000Y-187960000D01*
X36830000Y-72390000D02*
X36830000Y-183896000D01*
X38735000Y-72390000D02*
X38735000Y-179959000D01*
X40640000Y-72390000D02*
X40640000Y-176022000D01*
X36830000Y-183896000D02*
X36830000Y-183896000D01*
X40640000Y-176022000D02*
X40640000Y-176022000D01*
X48260000Y-72390000D02*
X48260000Y-171958000D01*
X48260000Y-171958000D02*
X48260000Y-171958000D01*
X46355000Y-72390000D02*
X46355000Y-167767000D01*
X46355000Y-167767000D02*
X46355000Y-167767000D01*
X44450000Y-72390000D02*
X44450000Y-164084000D01*
X44450000Y-164084000D02*
X44450000Y-164084000D01*
X42545000Y-72390000D02*
X42545000Y-160147000D01*
X42545000Y-160147000D02*
X42545000Y-160147000D01*
X36449000Y-22733000D02*
X45720000Y-32004000D01*
X45720000Y-32004000D02*
X47117000Y-33401000D01*
X47117000Y-33401000D02*
X48260000Y-34544000D01*
X48260000Y-34544000D02*
X48260000Y-53213000D01*
X48260000Y-53213000D02*
X45720000Y-55753000D01*
X46158685Y-57404000D02*
X49276000Y-54286685D01*
X45593000Y-57404000D02*
X46158685Y-57404000D01*
X49276000Y-54286685D02*
X49276000Y-26035000D01*
X49276000Y-26035000D02*
X46228000Y-22987000D01*
M02*

View File

@@ -0,0 +1,104 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.5*
G04 #@! TF.CreationDate,2020-04-23T18:51:29+02:00*
G04 #@! TF.ProjectId,water_level,77617465-725f-46c6-9576-656c2e6b6963,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Soldermask,Bot*
G04 #@! TF.FilePolarity,Negative*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.5) date 2020-04-23 18:51:29*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10C,0.100000*%
G04 APERTURE END LIST*
D10*
G36*
X38366000Y-45986000D02*
G01*
X36564000Y-45986000D01*
X36564000Y-44184000D01*
X38366000Y-44184000D01*
X38366000Y-45986000D01*
G37*
G36*
X37578512Y-41648927D02*
G01*
X37727812Y-41678624D01*
X37891784Y-41746544D01*
X38039354Y-41845147D01*
X38164853Y-41970646D01*
X38263456Y-42118216D01*
X38331376Y-42282188D01*
X38366000Y-42456259D01*
X38366000Y-42633741D01*
X38331376Y-42807812D01*
X38263456Y-42971784D01*
X38164853Y-43119354D01*
X38039354Y-43244853D01*
X37891784Y-43343456D01*
X37727812Y-43411376D01*
X37578512Y-43441073D01*
X37553742Y-43446000D01*
X37376258Y-43446000D01*
X37351488Y-43441073D01*
X37202188Y-43411376D01*
X37038216Y-43343456D01*
X36890646Y-43244853D01*
X36765147Y-43119354D01*
X36666544Y-42971784D01*
X36598624Y-42807812D01*
X36564000Y-42633741D01*
X36564000Y-42456259D01*
X36598624Y-42282188D01*
X36666544Y-42118216D01*
X36765147Y-41970646D01*
X36890646Y-41845147D01*
X37038216Y-41746544D01*
X37202188Y-41678624D01*
X37351488Y-41648927D01*
X37376258Y-41644000D01*
X37553742Y-41644000D01*
X37578512Y-41648927D01*
G37*
G36*
X37578512Y-39108927D02*
G01*
X37727812Y-39138624D01*
X37891784Y-39206544D01*
X38039354Y-39305147D01*
X38164853Y-39430646D01*
X38263456Y-39578216D01*
X38331376Y-39742188D01*
X38366000Y-39916259D01*
X38366000Y-40093741D01*
X38331376Y-40267812D01*
X38263456Y-40431784D01*
X38164853Y-40579354D01*
X38039354Y-40704853D01*
X37891784Y-40803456D01*
X37727812Y-40871376D01*
X37578512Y-40901073D01*
X37553742Y-40906000D01*
X37376258Y-40906000D01*
X37351488Y-40901073D01*
X37202188Y-40871376D01*
X37038216Y-40803456D01*
X36890646Y-40704853D01*
X36765147Y-40579354D01*
X36666544Y-40431784D01*
X36598624Y-40267812D01*
X36564000Y-40093741D01*
X36564000Y-39916259D01*
X36598624Y-39742188D01*
X36666544Y-39578216D01*
X36765147Y-39430646D01*
X36890646Y-39305147D01*
X37038216Y-39206544D01*
X37202188Y-39138624D01*
X37351488Y-39108927D01*
X37376258Y-39104000D01*
X37553742Y-39104000D01*
X37578512Y-39108927D01*
G37*
M02*

View File

@@ -0,0 +1,14 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.5*
G04 #@! TF.CreationDate,2020-04-23T18:51:29+02:00*
G04 #@! TF.ProjectId,water_level,77617465-725f-46c6-9576-656c2e6b6963,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Paste,Bot*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.5) date 2020-04-23 18:51:29*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

View File

@@ -0,0 +1,14 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.5*
G04 #@! TF.CreationDate,2020-04-23T18:51:29+02:00*
G04 #@! TF.ProjectId,water_level,77617465-725f-46c6-9576-656c2e6b6963,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Legend,Bot*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.5) date 2020-04-23 18:51:29*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

View File

@@ -0,0 +1,41 @@
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.5*
G04 #@! TF.CreationDate,2020-04-23T18:51:29+02:00*
G04 #@! TF.ProjectId,water_level,77617465-725f-46c6-9576-656c2e6b6963,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Profile,NP*
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 5.1.5) date 2020-04-23 18:51:29*
%MOMM*%
%LPD*%
G04 APERTURE LIST*
%ADD10C,0.050000*%
G04 APERTURE END LIST*
D10*
X25400000Y-190500000D02*
X55880000Y-190500000D01*
X55880000Y-78740000D02*
X55880000Y-190500000D01*
X50800000Y-78740000D02*
X55880000Y-78740000D01*
X50800000Y-76200000D02*
X50800000Y-78740000D01*
X55880000Y-76200000D02*
X50800000Y-76200000D01*
X55880000Y-20320000D02*
X55880000Y-76200000D01*
X55245000Y-20320000D02*
X55880000Y-20320000D01*
X25400000Y-20320000D02*
X55245000Y-20320000D01*
X25400000Y-78740000D02*
X25400000Y-190500000D01*
X30480000Y-78740000D02*
X25400000Y-78740000D01*
X30480000Y-76200000D02*
X30480000Y-78740000D01*
X25400000Y-76200000D02*
X30480000Y-76200000D01*
X25400000Y-20320000D02*
X25400000Y-76200000D01*
M02*

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
M48
; DRILL file {KiCad 5.1.5} date Do 23 Apr 2020 18:51:31 CEST
; FORMAT={-:-/ absolute / inch / decimal}
; #@! TF.CreationDate,2020-04-23T18:51:31+02:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,5.1.5
; #@! TF.FileFunction,NonPlated,1,2,NPTH
FMAT,2
INCH
%
G90
G05
T0
M30

View File

@@ -0,0 +1,43 @@
M48
; DRILL file {KiCad 5.1.5} date Do 23 Apr 2020 18:51:31 CEST
; FORMAT={-:-/ absolute / inch / decimal}
; #@! TF.CreationDate,2020-04-23T18:51:31+02:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,5.1.5
; #@! TF.FileFunction,Plated,1,2,PTH
FMAT,2
INCH
T1C0.0157
T2C0.0394
%
G90
G05
T1
X1.31Y-2.13
X1.375Y-2.85
X1.375Y-7.4
X1.375Y-7.4
X1.435Y-0.895
X1.45Y-2.85
X1.45Y-7.24
X1.5234Y-7.0866
X1.525Y-2.85
X1.6Y-2.85
X1.6Y-6.93
X1.675Y-2.85
X1.675Y-6.305
X1.735Y-1.46
X1.75Y-2.85
X1.75Y-6.46
X1.795Y-2.26
X1.8Y-2.195
X1.82Y-0.905
X1.825Y-2.85
X1.825Y-6.605
X1.9Y-2.85
X1.9Y-6.77
T2
X1.475Y-1.575
X1.475Y-1.675
X1.475Y-1.775
T0
M30

0
board/report.txt Normal file
View File

20
board/water_level Normal file
View File

@@ -0,0 +1,20 @@
Reference, Quantity, Value, Footprint, Datasheet, Source
C1 ,1,"4,7uF","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder","https://docs.rs-online.com/0185/0900766b813b3e59.pdf","https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8151349/"
C2 ,1,"100nF","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder","https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/7235149/","https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8416756/"
D1 ,1,"LED_Dual_AAC","Package_TO_SOT_SMD:SOT-23","https://docs.rs-online.com/f876/0900766b8032f15e.pdf","https://de.rs-online.com/web/p/led/4664153/"
J1 ,1,"Bus_in","Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal","https://docs.rs-online.com/7079/0900766b813ce4c5.pdf","https://de.rs-online.com/web/p/leiterplatten-header/6881366/"
J2 ,1,"Bus_out","Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal","https://docs.rs-online.com/7079/0900766b813ce4c5.pdf","https://de.rs-online.com/web/p/leiterplatten-header/6881366/"
J3 ,1,"uPDI","Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal","~"
R1 R11 R12 ,3,"330R","Resistor_SMD:R_0603_1608Metric","https://docs.rs-online.com/236a/0900766b80d98afc.pdf","https://de.rs-online.com/web/p/smd-widerstande/6790226/"
R2 ,1,"10k","Resistor_SMD:R_0603_1608Metric","https://docs.rs-online.com/236a/0900766b80d98afc.pdf","https://de.rs-online.com/web/p/smd-widerstande/6789667/"
R3 R4 R5 R6 R7 R8 R9 R10 ,8,"1k","Resistor_SMD:R_0603_1608Metric","https://docs.rs-online.com/236a/0900766b80d98afc.pdf","https://de.rs-online.com/web/p/smd-widerstande/6789667/"
SW1 ,1,"SW_RESET","Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm","https://docs.rs-online.com/ea14/0900766b81527507.pdf","https://de.rs-online.com/web/p/tastschalter/4791491/"
TP1 ,1,"M12.5","","~"
TP2 ,1,"M25.0","","~"
TP3 ,1,"M37.5","","~"
TP4 ,1,"M50.0","","~"
TP5 ,1,"M62.5","","~"
TP6 ,1,"M75.0","","~"
TP7 ,1,"M87.5","","~"
TP8 ,1,"M100.0","","~"
U1 ,1,"ATtiny1616-S","Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm","http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf","https://de.rs-online.com/web/p/mikrocontroller/1936209/"

216
board/water_level-cache.lib Normal file
View File

@@ -0,0 +1,216 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Conn_01x03_Male
#
DEF Connector_Conn_01x03_Male J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Connector_Conn_01x03_Male" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
S 34 105 0 95 1 1 6 F
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
P 2 1 1 6 50 100 34 100 N
X Pin_1 1 200 100 150 L 50 50 1 1 P
X Pin_2 2 200 0 150 L 50 50 1 1 P
X Pin_3 3 200 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Conn_01x04_Male
#
DEF Connector_Conn_01x04_Male J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Connector_Conn_01x04_Male" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -195 0 -205 1 1 6 F
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
S 34 105 0 95 1 1 6 F
P 2 1 1 6 50 -200 34 -200 N
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
P 2 1 1 6 50 100 34 100 N
X Pin_1 1 200 100 150 L 50 50 1 1 P
X Pin_2 2 200 0 150 L 50 50 1 1 P
X Pin_3 3 200 -100 150 L 50 50 1 1 P
X Pin_4 4 200 -200 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_TestPoint
#
DEF Connector_TestPoint TP 0 30 N N 1 F N
F0 "TP" 0 270 50 H V C CNN
F1 "Connector_TestPoint" 0 200 50 H V C CNN
F2 "" 200 0 50 H I C CNN
F3 "" 200 0 50 H I C CNN
$FPLIST
Pin*
Test*
$ENDFPLIST
DRAW
C 0 130 30 0 1 0 N
X 1 1 0 0 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "Device_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
C_*
$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 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_LED_Dual_AAC
#
DEF Device_LED_Dual_AAC D 0 0 Y N 1 F N
F0 "D" 0 225 50 H V C CNN
F1 "Device_LED_Dual_AAC" 0 -250 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
C -100 0 11 0 1 0 F
C 0 0 180 0 1 10 f
P 2 0 1 0 -180 0 -100 0 N
P 2 0 1 8 -50 -50 -50 -150 N
P 2 0 1 8 -50 50 -50 150 N
P 2 0 1 0 150 -100 75 -100 N
P 2 0 1 0 150 100 75 100 N
P 4 0 1 8 50 -150 50 -50 -50 -100 50 -150 N
P 4 0 1 8 50 50 50 150 -50 100 50 50 N
P 4 0 1 0 80 100 -100 100 -100 -100 80 -100 N
P 5 0 1 0 80 200 140 260 110 260 140 260 140 230 N
P 5 0 1 0 130 160 190 220 160 220 190 220 190 190 N
X A1 1 300 100 150 L 50 50 1 1 I
X A2 2 300 -100 150 L 50 50 1 1 I
X K 3 -300 0 120 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_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
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# MCU_Microchip_ATtiny_ATtiny1616-S
#
DEF MCU_Microchip_ATtiny_ATtiny1616-S U 0 20 Y Y 1 F N
F0 "U" -500 850 50 H V L BNN
F1 "MCU_Microchip_ATtiny_ATtiny1616-S" 100 -850 50 H V L TNN
F2 "Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
ALIAS ATtiny806-S ATtiny1606-S ATtiny416-S ATtiny816-S ATtiny1616-S ATtiny3216-S
$FPLIST
SOIC*7.5x12.8mm*P1.27mm*
$ENDFPLIST
DRAW
S -500 -800 500 800 0 1 10 f
X VCC 1 0 900 100 D 50 50 1 1 W
X PB1 10 600 -300 100 L 50 50 1 1 B
X PB0 11 600 -200 100 L 50 50 1 1 B
X PC0 12 -600 -200 100 R 50 50 1 1 B
X PC1 13 -600 -300 100 R 50 50 1 1 B
X PC2 14 -600 -400 100 R 50 50 1 1 B
X PC3 15 -600 -500 100 R 50 50 1 1 B
X ~RESET~/PA0 16 600 700 100 L 50 50 1 1 B
X PA1 17 600 600 100 L 50 50 1 1 B
X PA2 18 600 500 100 L 50 50 1 1 B
X PA3 19 600 400 100 L 50 50 1 1 B
X PA4 2 600 300 100 L 50 50 1 1 B
X GND 20 0 -900 100 U 50 50 1 1 W
X PA5 3 600 200 100 L 50 50 1 1 B
X PA6 4 600 100 100 L 50 50 1 1 B
X PA7 5 600 0 100 L 50 50 1 1 B
X PB5 6 600 -700 100 L 50 50 1 1 B
X PB4 7 600 -600 100 L 50 50 1 1 B
X PB3 8 600 -500 100 L 50 50 1 1 B
X PB2 9 600 -400 100 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# Switch_SW_Push
#
DEF Switch_SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "Switch_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
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# 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 power_VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I 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
C 0 75 25 0 1 0 N
P 2 0 1 0 0 0 0 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library

1889
board/water_level.kicad_pcb Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

475
board/water_level.net Normal file
View File

@@ -0,0 +1,475 @@
(export (version D)
(design
(source /home/moritz/Projekte/water_level/water_level.sch)
(date "Do 23 Apr 2020 18:36:17 CEST")
(tool "Eeschema 5.1.5")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source water_level.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref U1)
(value ATtiny1616-S)
(footprint Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/mikrocontroller/1936209/))
(libsource (lib MCU_Microchip_ATtiny) (part ATtiny1616-S) (description "20MHz, 16kB Flash, 2kB SRAM, 256B EEPROM, SOIC-20"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA14B65))
(comp (ref J2)
(value Bus_out)
(footprint Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal)
(datasheet https://docs.rs-online.com/7079/0900766b813ce4c5.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/leiterplatten-header/6881366/))
(libsource (lib Connector) (part Conn_01x04_Male) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA1622E))
(comp (ref J1)
(value Bus_in)
(footprint Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal)
(datasheet https://docs.rs-online.com/7079/0900766b813ce4c5.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/leiterplatten-header/6881366/))
(libsource (lib Connector) (part Conn_01x04_Male) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA16BF8))
(comp (ref C2)
(value 100nF)
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
(datasheet https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/7235149/)
(fields
(field (name Source) https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8416756/))
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA2D09A))
(comp (ref C1)
(value 4,7uF)
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
(datasheet https://docs.rs-online.com/0185/0900766b813b3e59.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8151349/))
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA2D9A9))
(comp (ref SW1)
(value SW_RESET)
(footprint Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm)
(datasheet https://docs.rs-online.com/ea14/0900766b81527507.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/tastschalter/4791491/))
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA35658))
(comp (ref R1)
(value 330R)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6790226/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA37243))
(comp (ref R2)
(value 10k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA37762))
(comp (ref J3)
(value uPDI)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x03_Male) (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA3FD12))
(comp (ref R3)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA4820B))
(comp (ref R4)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA50ABF))
(comp (ref R5)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA50E4E))
(comp (ref R6)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA51353))
(comp (ref R7)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA517B0))
(comp (ref R8)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA51CDB))
(comp (ref R9)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA5210C))
(comp (ref R10)
(value 1k)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6789667/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EA526EB))
(comp (ref TP1)
(value M12.5)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA5681C))
(comp (ref TP2)
(value M25.0)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA5EFC0))
(comp (ref TP3)
(value M37.5)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA5F27D))
(comp (ref TP4)
(value M50.0)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA5FA8E))
(comp (ref TP5)
(value M62.5)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA6116F))
(comp (ref TP6)
(value M75.0)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA61532))
(comp (ref TP7)
(value M87.5)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA6185B))
(comp (ref TP8)
(value M100.0)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5EA61CE4))
(comp (ref D1)
(value LED_Dual_AAC)
(footprint Package_TO_SOT_SMD:SOT-23)
(datasheet https://docs.rs-online.com/f876/0900766b8032f15e.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/led/4664153/))
(libsource (lib Device) (part LED_Dual_AAC) (description "Dual LED, common cathode on pin 3"))
(sheetpath (names /) (tstamps /))
(tstamp 5EAC7E91))
(comp (ref R11)
(value 330R)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6790226/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EACEFA9))
(comp (ref R12)
(value 330R)
(footprint Resistor_SMD:R_0603_1608Metric)
(datasheet https://docs.rs-online.com/236a/0900766b80d98afc.pdf)
(fields
(field (name Source) https://de.rs-online.com/web/p/smd-widerstande/6790226/))
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5EACF3B0)))
(libparts
(libpart (lib Connector) (part Conn_01x03_Male)
(description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x03_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))))
(libpart (lib Connector) (part Conn_01x04_Male)
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x04_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))
(pin (num 4) (name Pin_4) (type passive))))
(libpart (lib Connector) (part TestPoint)
(description "test point")
(docs ~)
(footprints
(fp Pin*)
(fp Test*))
(fields
(field (name Reference) TP)
(field (name Value) TestPoint))
(pins
(pin (num 1) (name 1) (type passive))))
(libpart (lib Device) (part C)
(description "Unpolarized capacitor")
(docs ~)
(footprints
(fp C_*))
(fields
(field (name Reference) C)
(field (name Value) C))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib Device) (part LED_Dual_AAC)
(description "Dual LED, common cathode on pin 3")
(docs ~)
(footprints
(fp LED*)
(fp LED_SMD:*)
(fp LED_THT:*))
(fields
(field (name Reference) D)
(field (name Value) LED_Dual_AAC))
(pins
(pin (num 1) (name A1) (type input))
(pin (num 2) (name A2) (type input))
(pin (num 3) (name K) (type input))))
(libpart (lib Device) (part R)
(description Resistor)
(docs ~)
(footprints
(fp R_*))
(fields
(field (name Reference) R)
(field (name Value) R))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib MCU_Microchip_ATtiny) (part ATtiny406-S)
(aliases
(alias ATtiny806-S)
(alias ATtiny1606-S)
(alias ATtiny416-S)
(alias ATtiny816-S)
(alias ATtiny1616-S)
(alias ATtiny3216-S))
(description "20MHz, 4kB Flash, 256B SRAM, 128B EEPROM, SOIC-20")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/Microchip%208bit%20mcu%20AVR%20ATtiny406%20data%20sheet%2040001976A.pdf)
(footprints
(fp SOIC*7.5x12.8mm*P1.27mm*))
(fields
(field (name Reference) U)
(field (name Value) ATtiny406-S)
(field (name Footprint) Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm))
(pins
(pin (num 1) (name VCC) (type power_in))
(pin (num 2) (name PA4) (type BiDi))
(pin (num 3) (name PA5) (type BiDi))
(pin (num 4) (name PA6) (type BiDi))
(pin (num 5) (name PA7) (type BiDi))
(pin (num 6) (name PB5) (type BiDi))
(pin (num 7) (name PB4) (type BiDi))
(pin (num 8) (name PB3) (type BiDi))
(pin (num 9) (name PB2) (type BiDi))
(pin (num 10) (name PB1) (type BiDi))
(pin (num 11) (name PB0) (type BiDi))
(pin (num 12) (name PC0) (type BiDi))
(pin (num 13) (name PC1) (type BiDi))
(pin (num 14) (name PC2) (type BiDi))
(pin (num 15) (name PC3) (type BiDi))
(pin (num 16) (name ~RESET~/PA0) (type BiDi))
(pin (num 17) (name PA1) (type BiDi))
(pin (num 18) (name PA2) (type BiDi))
(pin (num 19) (name PA3) (type BiDi))
(pin (num 20) (name GND) (type power_in))))
(libpart (lib Switch) (part SW_Push)
(description "Push button switch, generic, two pins")
(docs ~)
(fields
(field (name Reference) SW)
(field (name Value) SW_Push))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive)))))
(libraries
(library (logical Connector)
(uri /usr/share/kicad/library/Connector.lib))
(library (logical Device)
(uri /usr/share/kicad/library/Device.lib))
(library (logical MCU_Microchip_ATtiny)
(uri /usr/share/kicad/library/MCU_Microchip_ATtiny.lib))
(library (logical Switch)
(uri /usr/share/kicad/library/Switch.lib)))
(nets
(net (code 1) (name "Net-(R6-Pad2)")
(node (ref U1) (pin 5))
(node (ref R6) (pin 2)))
(net (code 2) (name "Net-(R9-Pad2)")
(node (ref U1) (pin 7))
(node (ref R9) (pin 2)))
(net (code 3) (name "Net-(R10-Pad2)")
(node (ref R10) (pin 2))
(node (ref U1) (pin 6)))
(net (code 4) (name "Net-(R3-Pad2)")
(node (ref R3) (pin 2))
(node (ref U1) (pin 2)))
(net (code 5) (name "Net-(R4-Pad2)")
(node (ref R4) (pin 2))
(node (ref U1) (pin 3)))
(net (code 6) (name "Net-(R5-Pad2)")
(node (ref R5) (pin 2))
(node (ref U1) (pin 4)))
(net (code 7) (name "Net-(R8-Pad2)")
(node (ref R8) (pin 2))
(node (ref U1) (pin 10)))
(net (code 8) (name "Net-(R7-Pad2)")
(node (ref U1) (pin 11))
(node (ref R7) (pin 2)))
(net (code 9) (name "Net-(U1-Pad14)")
(node (ref U1) (pin 14)))
(net (code 10) (name "Net-(U1-Pad15)")
(node (ref U1) (pin 15)))
(net (code 11) (name VCC)
(node (ref R2) (pin 2))
(node (ref C2) (pin 1))
(node (ref J2) (pin 4))
(node (ref J1) (pin 1))
(node (ref U1) (pin 1))
(node (ref J3) (pin 1))
(node (ref C1) (pin 1)))
(net (code 12) (name GND)
(node (ref U1) (pin 20))
(node (ref J1) (pin 2))
(node (ref C2) (pin 2))
(node (ref J2) (pin 3))
(node (ref SW1) (pin 1))
(node (ref C1) (pin 2))
(node (ref J3) (pin 3))
(node (ref D1) (pin 3)))
(net (code 13) (name "Net-(U1-Pad9)")
(node (ref U1) (pin 9)))
(net (code 14) (name "Net-(U1-Pad8)")
(node (ref U1) (pin 8)))
(net (code 15) (name LED_gn)
(node (ref R11) (pin 2))
(node (ref U1) (pin 12)))
(net (code 16) (name LED_rd)
(node (ref U1) (pin 13))
(node (ref R12) (pin 2)))
(net (code 17) (name "Net-(D1-Pad1)")
(node (ref D1) (pin 1))
(node (ref R12) (pin 1)))
(net (code 18) (name "Net-(D1-Pad2)")
(node (ref D1) (pin 2))
(node (ref R11) (pin 1)))
(net (code 19) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 20) (name /M12.5)
(node (ref R3) (pin 1))
(node (ref TP1) (pin 1)))
(net (code 21) (name "Net-(R1-Pad2)")
(node (ref SW1) (pin 2))
(node (ref R1) (pin 2)))
(net (code 22) (name /M25.0)
(node (ref TP2) (pin 1))
(node (ref R4) (pin 1)))
(net (code 23) (name /M37.5)
(node (ref R5) (pin 1))
(node (ref TP3) (pin 1)))
(net (code 24) (name /M50.0)
(node (ref R6) (pin 1))
(node (ref TP4) (pin 1)))
(net (code 25) (name /M62.5)
(node (ref R7) (pin 1))
(node (ref TP5) (pin 1)))
(net (code 26) (name /M75.0)
(node (ref TP6) (pin 1))
(node (ref R8) (pin 1)))
(net (code 27) (name /M87.5)
(node (ref R9) (pin 1))
(node (ref TP7) (pin 1)))
(net (code 28) (name /M100.0)
(node (ref TP8) (pin 1))
(node (ref R10) (pin 1)))
(net (code 29) (name SDA)
(node (ref J1) (pin 3))
(node (ref U1) (pin 17))
(node (ref J2) (pin 2)))
(net (code 30) (name SCL)
(node (ref J2) (pin 1))
(node (ref J1) (pin 4))
(node (ref U1) (pin 18)))
(net (code 31) (name RESET)
(node (ref R1) (pin 1))
(node (ref J3) (pin 2))
(node (ref R2) (pin 1))
(node (ref U1) (pin 16)))))

253
board/water_level.pro Normal file
View File

@@ -0,0 +1,253 @@
update=Do 23 Apr 2020 14:28:14 CEST
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=water_level.net
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
TrackWidth2=0.254
TrackWidth3=0.635
TrackWidth4=1.016
TrackWidth5=1.27
TrackWidth6=3
ViaDiameter1=0.8
ViaDrill1=0.4
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0.051
SolderMaskMinWidth=0.25
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Layer.F.Cu]
Name=F.Cu
Type=0
Enabled=1
[pcbnew/Layer.In1.Cu]
Name=In1.Cu
Type=0
Enabled=0
[pcbnew/Layer.In2.Cu]
Name=In2.Cu
Type=0
Enabled=0
[pcbnew/Layer.In3.Cu]
Name=In3.Cu
Type=0
Enabled=0
[pcbnew/Layer.In4.Cu]
Name=In4.Cu
Type=0
Enabled=0
[pcbnew/Layer.In5.Cu]
Name=In5.Cu
Type=0
Enabled=0
[pcbnew/Layer.In6.Cu]
Name=In6.Cu
Type=0
Enabled=0
[pcbnew/Layer.In7.Cu]
Name=In7.Cu
Type=0
Enabled=0
[pcbnew/Layer.In8.Cu]
Name=In8.Cu
Type=0
Enabled=0
[pcbnew/Layer.In9.Cu]
Name=In9.Cu
Type=0
Enabled=0
[pcbnew/Layer.In10.Cu]
Name=In10.Cu
Type=0
Enabled=0
[pcbnew/Layer.In11.Cu]
Name=In11.Cu
Type=0
Enabled=0
[pcbnew/Layer.In12.Cu]
Name=In12.Cu
Type=0
Enabled=0
[pcbnew/Layer.In13.Cu]
Name=In13.Cu
Type=0
Enabled=0
[pcbnew/Layer.In14.Cu]
Name=In14.Cu
Type=0
Enabled=0
[pcbnew/Layer.In15.Cu]
Name=In15.Cu
Type=0
Enabled=0
[pcbnew/Layer.In16.Cu]
Name=In16.Cu
Type=0
Enabled=0
[pcbnew/Layer.In17.Cu]
Name=In17.Cu
Type=0
Enabled=0
[pcbnew/Layer.In18.Cu]
Name=In18.Cu
Type=0
Enabled=0
[pcbnew/Layer.In19.Cu]
Name=In19.Cu
Type=0
Enabled=0
[pcbnew/Layer.In20.Cu]
Name=In20.Cu
Type=0
Enabled=0
[pcbnew/Layer.In21.Cu]
Name=In21.Cu
Type=0
Enabled=0
[pcbnew/Layer.In22.Cu]
Name=In22.Cu
Type=0
Enabled=0
[pcbnew/Layer.In23.Cu]
Name=In23.Cu
Type=0
Enabled=0
[pcbnew/Layer.In24.Cu]
Name=In24.Cu
Type=0
Enabled=0
[pcbnew/Layer.In25.Cu]
Name=In25.Cu
Type=0
Enabled=0
[pcbnew/Layer.In26.Cu]
Name=In26.Cu
Type=0
Enabled=0
[pcbnew/Layer.In27.Cu]
Name=In27.Cu
Type=0
Enabled=0
[pcbnew/Layer.In28.Cu]
Name=In28.Cu
Type=0
Enabled=0
[pcbnew/Layer.In29.Cu]
Name=In29.Cu
Type=0
Enabled=0
[pcbnew/Layer.In30.Cu]
Name=In30.Cu
Type=0
Enabled=0
[pcbnew/Layer.B.Cu]
Name=B.Cu
Type=0
Enabled=1
[pcbnew/Layer.B.Adhes]
Enabled=1
[pcbnew/Layer.F.Adhes]
Enabled=1
[pcbnew/Layer.B.Paste]
Enabled=1
[pcbnew/Layer.F.Paste]
Enabled=1
[pcbnew/Layer.B.SilkS]
Enabled=1
[pcbnew/Layer.F.SilkS]
Enabled=1
[pcbnew/Layer.B.Mask]
Enabled=1
[pcbnew/Layer.F.Mask]
Enabled=1
[pcbnew/Layer.Dwgs.User]
Enabled=1
[pcbnew/Layer.Cmts.User]
Enabled=1
[pcbnew/Layer.Eco1.User]
Enabled=1
[pcbnew/Layer.Eco2.User]
Enabled=1
[pcbnew/Layer.Edge.Cuts]
Enabled=1
[pcbnew/Layer.Margin]
Enabled=1
[pcbnew/Layer.B.CrtYd]
Enabled=1
[pcbnew/Layer.F.CrtYd]
Enabled=1
[pcbnew/Layer.B.Fab]
Enabled=1
[pcbnew/Layer.F.Fab]
Enabled=1
[pcbnew/Layer.Rescue]
Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.2
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

640
board/water_level.sch Normal file
View File

@@ -0,0 +1,640 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_Microchip_ATtiny:ATtiny1616-S U1
U 1 1 5EA14B65
P 5350 3650
F 0 "U1" H 4900 4500 50 0000 C CNN
F 1 "ATtiny1616-S" H 5350 3650 50 0000 C CNN
F 2 "Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm" H 5350 3650 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf" H 5350 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/mikrocontroller/1936209/" H 5350 3650 50 0001 C CNN "Source"
1 5350 3650
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x04_Male J2
U 1 1 5EA1622E
P 3950 1950
F 0 "J2" H 3900 2250 50 0000 L CNN
F 1 "Bus_out" H 3800 2150 50 0000 L CNN
F 2 "Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal" H 3950 1950 50 0001 C CNN
F 3 "https://docs.rs-online.com/7079/0900766b813ce4c5.pdf" H 3950 1950 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/leiterplatten-header/6881366/" H 3950 1950 50 0001 C CNN "Source"
1 3950 1950
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x04_Male J1
U 1 1 5EA16BF8
P 3000 1850
F 0 "J1" H 3000 2150 50 0000 C CNN
F 1 "Bus_in" H 3000 2050 50 0000 C CNN
F 2 "Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal" H 3000 1850 50 0001 C CNN
F 3 "https://docs.rs-online.com/7079/0900766b813ce4c5.pdf" H 3000 1850 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/leiterplatten-header/6881366/" H 3000 1850 50 0001 C CNN "Source"
1 3000 1850
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR0101
U 1 1 5EA19798
P 3300 1650
F 0 "#PWR0101" H 3300 1500 50 0001 C CNN
F 1 "VCC" H 3317 1823 50 0000 C CNN
F 2 "" H 3300 1650 50 0001 C CNN
F 3 "" H 3300 1650 50 0001 C CNN
1 3300 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5EA1A265
P 3300 2250
F 0 "#PWR0102" H 3300 2000 50 0001 C CNN
F 1 "GND" H 3305 2077 50 0000 C CNN
F 2 "" H 3300 2250 50 0001 C CNN
F 3 "" H 3300 2250 50 0001 C CNN
1 3300 2250
1 0 0 -1
$EndComp
Wire Wire Line
3300 1650 3300 1750
Wire Wire Line
3300 1750 3200 1750
Wire Wire Line
3300 2250 3300 1850
Wire Wire Line
3300 1850 3200 1850
Wire Wire Line
3550 1950 3550 2250
Wire Wire Line
3550 2250 3700 2250
Wire Wire Line
3550 1950 3200 1950
Wire Wire Line
3450 2050 3450 2350
Wire Wire Line
3450 2350 3700 2350
Wire Wire Line
3450 2050 3200 2050
Wire Wire Line
3450 2050 3750 2050
Connection ~ 3450 2050
Wire Wire Line
3550 1950 3750 1950
Connection ~ 3550 1950
Wire Wire Line
3300 1850 3750 1850
Connection ~ 3300 1850
Wire Wire Line
3300 1750 3750 1750
Connection ~ 3300 1750
Text GLabel 3700 2250 2 50 Input ~ 0
SDA
Text GLabel 3700 2350 2 50 Input ~ 0
SCL
$Comp
L Device:C C2
U 1 1 5EA2D09A
P 3750 3600
F 0 "C2" H 3865 3646 50 0000 L CNN
F 1 "100nF" H 3865 3555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 3788 3450 50 0001 C CNN
F 3 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/7235149/" H 3750 3600 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8416756/" H 3750 3600 50 0001 C CNN "Source"
1 3750 3600
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 5EA2D9A9
P 3150 3600
F 0 "C1" H 3265 3646 50 0000 L CNN
F 1 "4,7uF" H 3265 3555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 3188 3450 50 0001 C CNN
F 3 "https://docs.rs-online.com/0185/0900766b813b3e59.pdf" H 3150 3600 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8151349/" H 3150 3600 50 0001 C CNN "Source"
1 3150 3600
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR0103
U 1 1 5EA2E3CC
P 3150 3100
F 0 "#PWR0103" H 3150 2950 50 0001 C CNN
F 1 "VCC" H 3167 3273 50 0000 C CNN
F 2 "" H 3150 3100 50 0001 C CNN
F 3 "" H 3150 3100 50 0001 C CNN
1 3150 3100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0104
U 1 1 5EA2E93B
P 3150 4050
F 0 "#PWR0104" H 3150 3800 50 0001 C CNN
F 1 "GND" H 3155 3877 50 0000 C CNN
F 2 "" H 3150 4050 50 0001 C CNN
F 3 "" H 3150 4050 50 0001 C CNN
1 3150 4050
1 0 0 -1
$EndComp
Wire Wire Line
3150 3100 3150 3350
Wire Wire Line
3150 3350 3750 3350
Wire Wire Line
3750 3350 3750 3450
Connection ~ 3150 3350
Wire Wire Line
3150 3350 3150 3450
Wire Wire Line
3750 3750 3750 3850
Wire Wire Line
3750 3850 3150 3850
Wire Wire Line
3150 3850 3150 3750
Wire Wire Line
3150 3850 3150 4050
Connection ~ 3150 3850
$Comp
L power:GND #PWR0105
U 1 1 5EA30623
P 5350 4700
F 0 "#PWR0105" H 5350 4450 50 0001 C CNN
F 1 "GND" H 5355 4527 50 0000 C CNN
F 2 "" H 5350 4700 50 0001 C CNN
F 3 "" H 5350 4700 50 0001 C CNN
1 5350 4700
1 0 0 -1
$EndComp
Wire Wire Line
5350 4550 5350 4700
$Comp
L power:VCC #PWR0106
U 1 1 5EA31064
P 5350 2550
F 0 "#PWR0106" H 5350 2400 50 0001 C CNN
F 1 "VCC" H 5367 2723 50 0000 C CNN
F 2 "" H 5350 2550 50 0001 C CNN
F 3 "" H 5350 2550 50 0001 C CNN
1 5350 2550
1 0 0 -1
$EndComp
Wire Wire Line
5350 2550 5350 2750
Wire Wire Line
5950 2950 6300 2950
Wire Wire Line
5950 3050 6300 3050
Wire Wire Line
5950 3150 6300 3150
Text GLabel 6300 3050 2 50 Input ~ 0
SDA
Text GLabel 6300 3150 2 50 Input ~ 0
SCL
Text GLabel 6300 2950 2 50 Input ~ 0
RESET
$Comp
L Switch:SW_Push SW1
U 1 1 5EA35658
P 5050 1800
F 0 "SW1" H 5050 2085 50 0000 C CNN
F 1 "SW_RESET" H 5050 1994 50 0000 C CNN
F 2 "Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm" H 5050 2000 50 0001 C CNN
F 3 "https://docs.rs-online.com/ea14/0900766b81527507.pdf" H 5050 2000 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/tastschalter/4791491/" H 5050 1800 50 0001 C CNN "Source"
1 5050 1800
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0107
U 1 1 5EA365E1
P 4600 1950
F 0 "#PWR0107" H 4600 1700 50 0001 C CNN
F 1 "GND" H 4605 1777 50 0000 C CNN
F 2 "" H 4600 1950 50 0001 C CNN
F 3 "" H 4600 1950 50 0001 C CNN
1 4600 1950
1 0 0 -1
$EndComp
Wire Wire Line
4600 1950 4600 1800
Wire Wire Line
4600 1800 4850 1800
$Comp
L Device:R R1
U 1 1 5EA37243
P 5600 1800
F 0 "R1" V 5393 1800 50 0000 C CNN
F 1 "330R" V 5484 1800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5530 1800 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 5600 1800 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 5600 1800 50 0001 C CNN "Source"
1 5600 1800
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5EA37762
P 6100 1450
F 0 "R2" H 6030 1404 50 0000 R CNN
F 1 "10k" H 6030 1495 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6030 1450 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6100 1450 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" H 6100 1450 50 0001 C CNN "Source"
1 6100 1450
-1 0 0 1
$EndComp
Wire Wire Line
5750 1800 6100 1800
Wire Wire Line
6100 1800 6100 1600
Wire Wire Line
5250 1800 5450 1800
$Comp
L power:VCC #PWR0108
U 1 1 5EA38C71
P 6100 1150
F 0 "#PWR0108" H 6100 1000 50 0001 C CNN
F 1 "VCC" H 6117 1323 50 0000 C CNN
F 2 "" H 6100 1150 50 0001 C CNN
F 3 "" H 6100 1150 50 0001 C CNN
1 6100 1150
1 0 0 -1
$EndComp
Wire Wire Line
6100 1150 6100 1300
Wire Wire Line
6100 1800 6350 1800
Connection ~ 6100 1800
Text GLabel 6350 1800 2 50 Input ~ 0
RESET
$Comp
L Connector:Conn_01x03_Male J3
U 1 1 5EA3FD12
P 8050 1900
F 0 "J3" H 8022 1924 50 0000 R CNN
F 1 "uPDI" H 8022 1833 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal" H 8050 1900 50 0001 C CNN
F 3 "~" H 8050 1900 50 0001 C CNN
1 8050 1900
-1 0 0 -1
$EndComp
Wire Wire Line
7850 1800 7650 1800
Wire Wire Line
7650 1800 7650 1650
$Comp
L power:VCC #PWR0109
U 1 1 5EA42DD6
P 7650 1650
F 0 "#PWR0109" H 7650 1500 50 0001 C CNN
F 1 "VCC" H 7667 1823 50 0000 C CNN
F 2 "" H 7650 1650 50 0001 C CNN
F 3 "" H 7650 1650 50 0001 C CNN
1 7650 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0110
U 1 1 5EA433C8
P 7650 2200
F 0 "#PWR0110" H 7650 1950 50 0001 C CNN
F 1 "GND" H 7655 2027 50 0000 C CNN
F 2 "" H 7650 2200 50 0001 C CNN
F 3 "" H 7650 2200 50 0001 C CNN
1 7650 2200
1 0 0 -1
$EndComp
Wire Wire Line
7850 2000 7650 2000
Wire Wire Line
7650 2000 7650 2200
Wire Wire Line
7850 1900 7650 1900
Text GLabel 7650 1900 0 50 Input ~ 0
RESET
$Comp
L Device:R R3
U 1 1 5EA4820B
P 6450 3350
F 0 "R3" V 6400 3200 50 0000 C CNN
F 1 "1k" V 6400 3500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3350 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3350 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3350 50 0001 C CNN "Source"
1 6450 3350
0 1 1 0
$EndComp
Wire Wire Line
5950 3850 6300 3850
Wire Wire Line
5950 3950 6300 3950
Wire Wire Line
5950 4250 6300 4250
Wire Wire Line
5950 4350 6300 4350
Wire Wire Line
5950 3350 6300 3350
Wire Wire Line
5950 3450 6300 3450
Wire Wire Line
5950 3550 6300 3550
Wire Wire Line
5950 3650 6300 3650
$Comp
L Device:R R4
U 1 1 5EA50ABF
P 6450 3450
F 0 "R4" V 6400 3300 50 0000 C CNN
F 1 "1k" V 6400 3600 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3450 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3450 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3450 50 0001 C CNN "Source"
1 6450 3450
0 1 1 0
$EndComp
$Comp
L Device:R R5
U 1 1 5EA50E4E
P 6450 3550
F 0 "R5" V 6400 3400 50 0000 C CNN
F 1 "1k" V 6400 3700 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3550 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3550 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3550 50 0001 C CNN "Source"
1 6450 3550
0 1 1 0
$EndComp
$Comp
L Device:R R6
U 1 1 5EA51353
P 6450 3650
F 0 "R6" V 6400 3500 50 0000 C CNN
F 1 "1k" V 6400 3800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3650 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3650 50 0001 C CNN "Source"
1 6450 3650
0 1 1 0
$EndComp
$Comp
L Device:R R7
U 1 1 5EA517B0
P 6450 3850
F 0 "R7" V 6400 3700 50 0000 C CNN
F 1 "1k" V 6400 4000 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3850 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3850 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3850 50 0001 C CNN "Source"
1 6450 3850
0 1 1 0
$EndComp
$Comp
L Device:R R8
U 1 1 5EA51CDB
P 6450 3950
F 0 "R8" V 6400 3800 50 0000 C CNN
F 1 "1k" V 6400 4100 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3950 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3950 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3950 50 0001 C CNN "Source"
1 6450 3950
0 1 1 0
$EndComp
$Comp
L Device:R R9
U 1 1 5EA5210C
P 6450 4250
F 0 "R9" V 6400 4100 50 0000 C CNN
F 1 "1k" V 6400 4400 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 4250 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 4250 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 4250 50 0001 C CNN "Source"
1 6450 4250
0 1 1 0
$EndComp
$Comp
L Device:R R10
U 1 1 5EA526EB
P 6450 4350
F 0 "R10" V 6400 4200 50 0000 C CNN
F 1 "1k" V 6400 4500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 4350 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 4350 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 4350 50 0001 C CNN "Source"
1 6450 4350
0 1 1 0
$EndComp
NoConn ~ 4750 4050
NoConn ~ 4750 4150
$Comp
L Connector:TestPoint TP1
U 1 1 5EA5681C
P 7050 3350
F 0 "TP1" V 7000 3300 50 0000 L CNN
F 1 "M12.5" V 7000 3550 50 0000 L CNN
F 2 "" H 7250 3350 50 0001 C CNN
F 3 "~" H 7250 3350 50 0001 C CNN
1 7050 3350
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP2
U 1 1 5EA5EFC0
P 7050 3450
F 0 "TP2" V 7000 3400 50 0000 L CNN
F 1 "M25.0" V 7000 3650 50 0000 L CNN
F 2 "" H 7250 3450 50 0001 C CNN
F 3 "~" H 7250 3450 50 0001 C CNN
1 7050 3450
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP3
U 1 1 5EA5F27D
P 7050 3550
F 0 "TP3" V 7000 3500 50 0000 L CNN
F 1 "M37.5" V 7000 3750 50 0000 L CNN
F 2 "" H 7250 3550 50 0001 C CNN
F 3 "~" H 7250 3550 50 0001 C CNN
1 7050 3550
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP4
U 1 1 5EA5FA8E
P 7050 3650
F 0 "TP4" V 7000 3600 50 0000 L CNN
F 1 "M50.0" V 7000 3850 50 0000 L CNN
F 2 "" H 7250 3650 50 0001 C CNN
F 3 "~" H 7250 3650 50 0001 C CNN
1 7050 3650
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP5
U 1 1 5EA6116F
P 7050 3850
F 0 "TP5" V 7000 3800 50 0000 L CNN
F 1 "M62.5" V 7000 4050 50 0000 L CNN
F 2 "" H 7250 3850 50 0001 C CNN
F 3 "~" H 7250 3850 50 0001 C CNN
1 7050 3850
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP6
U 1 1 5EA61532
P 7050 3950
F 0 "TP6" V 7000 3900 50 0000 L CNN
F 1 "M75.0" V 7000 4150 50 0000 L CNN
F 2 "" H 7250 3950 50 0001 C CNN
F 3 "~" H 7250 3950 50 0001 C CNN
1 7050 3950
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP7
U 1 1 5EA6185B
P 7050 4250
F 0 "TP7" V 7000 4200 50 0000 L CNN
F 1 "M87.5" V 7000 4450 50 0000 L CNN
F 2 "" H 7250 4250 50 0001 C CNN
F 3 "~" H 7250 4250 50 0001 C CNN
1 7050 4250
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP8
U 1 1 5EA61CE4
P 7050 4350
F 0 "TP8" V 7000 4300 50 0000 L CNN
F 1 "M100.0" V 7000 4550 50 0000 L CNN
F 2 "" H 7250 4350 50 0001 C CNN
F 3 "~" H 7250 4350 50 0001 C CNN
1 7050 4350
0 1 1 0
$EndComp
Text Label 6750 3350 0 50 ~ 0
M12.5
Wire Wire Line
6600 3350 7050 3350
Wire Wire Line
6600 3450 7050 3450
Wire Wire Line
6600 3850 7050 3850
Wire Wire Line
6600 3950 7050 3950
Wire Wire Line
6600 4250 7050 4250
Wire Wire Line
6600 4350 7050 4350
Text Label 6750 3450 0 50 ~ 0
M25.0
Text Label 6750 3550 0 50 ~ 0
M37.5
Wire Wire Line
6600 3550 7050 3550
Wire Wire Line
6600 3650 7050 3650
Text Label 6750 3650 0 50 ~ 0
M50.0
Text Label 6750 3850 0 50 ~ 0
M62.5
Text Label 6750 3950 0 50 ~ 0
M75.0
Text Label 6750 4250 0 50 ~ 0
M87.5
Text Label 6750 4350 0 50 ~ 0
M100.0
NoConn ~ 5950 3250
NoConn ~ 5950 4050
NoConn ~ 5950 4150
Wire Wire Line
4750 3850 4600 3850
Wire Wire Line
4750 3950 4600 3950
Text GLabel 4600 3850 0 50 Input ~ 0
LED_gn
Text GLabel 4600 3950 0 50 Input ~ 0
LED_rd
$Comp
L Device:LED_Dual_AAC D1
U 1 1 5EAC7E91
P 9550 3650
F 0 "D1" H 9550 3303 50 0000 C CNN
F 1 "LED_Dual_AAC" H 9550 3394 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 9550 3650 50 0001 C CNN
F 3 "https://docs.rs-online.com/f876/0900766b8032f15e.pdf" H 9550 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/led/4664153/" V 9550 3650 50 0001 C CNN "Source"
1 9550 3650
-1 0 0 1
$EndComp
$Comp
L Device:R R11
U 1 1 5EACEFA9
P 8800 3550
F 0 "R11" V 8700 3350 50 0000 C CNN
F 1 "330R" V 8700 3750 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 8730 3550 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 8800 3550 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 8800 3550 50 0001 C CNN "Source"
1 8800 3550
0 1 1 0
$EndComp
$Comp
L Device:R R12
U 1 1 5EACF3B0
P 8800 3750
F 0 "R12" V 8700 3550 50 0000 C CNN
F 1 "330R" V 8700 3950 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 8730 3750 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 8800 3750 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 8800 3750 50 0001 C CNN "Source"
1 8800 3750
0 1 1 0
$EndComp
Wire Wire Line
8950 3550 9250 3550
Wire Wire Line
8950 3750 9250 3750
Wire Wire Line
8650 3750 8400 3750
Wire Wire Line
8650 3550 8400 3550
Text GLabel 8400 3750 0 50 Input ~ 0
LED_rd
Text GLabel 8400 3550 0 50 Input ~ 0
LED_gn
$Comp
L power:GND #PWR0111
U 1 1 5EAD4666
P 10000 3750
F 0 "#PWR0111" H 10000 3500 50 0001 C CNN
F 1 "GND" H 10005 3577 50 0000 C CNN
F 2 "" H 10000 3750 50 0001 C CNN
F 3 "" H 10000 3750 50 0001 C CNN
1 10000 3750
1 0 0 -1
$EndComp
Wire Wire Line
9850 3650 10000 3650
Wire Wire Line
10000 3650 10000 3750
$EndSCHEMATC

640
board/water_level.sch-bak Normal file
View File

@@ -0,0 +1,640 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_Microchip_ATtiny:ATtiny1616-S U1
U 1 1 5EA14B65
P 5350 3650
F 0 "U1" H 4900 4500 50 0000 C CNN
F 1 "ATtiny1616-S" H 5350 3650 50 0000 C CNN
F 2 "Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm" H 5350 3650 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf" H 5350 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/mikrocontroller/1936209/" H 5350 3650 50 0001 C CNN "Source"
1 5350 3650
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x04_Male J2
U 1 1 5EA1622E
P 3950 1950
F 0 "J2" H 3900 2250 50 0000 L CNN
F 1 "Bus_out" H 3800 2150 50 0000 L CNN
F 2 "Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal" H 3950 1950 50 0001 C CNN
F 3 "https://docs.rs-online.com/7079/0900766b813ce4c5.pdf" H 3950 1950 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/leiterplatten-header/6881366/" H 3950 1950 50 0001 C CNN "Source"
1 3950 1950
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x04_Male J1
U 1 1 5EA16BF8
P 3000 1850
F 0 "J1" H 3000 2150 50 0000 C CNN
F 1 "Bus_in" H 3000 2050 50 0000 C CNN
F 2 "Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal" H 3000 1850 50 0001 C CNN
F 3 "https://docs.rs-online.com/7079/0900766b813ce4c5.pdf" H 3000 1850 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/leiterplatten-header/6881366/" H 3000 1850 50 0001 C CNN "Source"
1 3000 1850
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR0101
U 1 1 5EA19798
P 3300 1650
F 0 "#PWR0101" H 3300 1500 50 0001 C CNN
F 1 "VCC" H 3317 1823 50 0000 C CNN
F 2 "" H 3300 1650 50 0001 C CNN
F 3 "" H 3300 1650 50 0001 C CNN
1 3300 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5EA1A265
P 3300 2250
F 0 "#PWR0102" H 3300 2000 50 0001 C CNN
F 1 "GND" H 3305 2077 50 0000 C CNN
F 2 "" H 3300 2250 50 0001 C CNN
F 3 "" H 3300 2250 50 0001 C CNN
1 3300 2250
1 0 0 -1
$EndComp
Wire Wire Line
3300 1650 3300 1750
Wire Wire Line
3300 1750 3200 1750
Wire Wire Line
3300 2250 3300 1850
Wire Wire Line
3300 1850 3200 1850
Wire Wire Line
3550 1950 3550 2250
Wire Wire Line
3550 2250 3700 2250
Wire Wire Line
3550 1950 3200 1950
Wire Wire Line
3450 2050 3450 2350
Wire Wire Line
3450 2350 3700 2350
Wire Wire Line
3450 2050 3200 2050
Wire Wire Line
3450 2050 3750 2050
Connection ~ 3450 2050
Wire Wire Line
3550 1950 3750 1950
Connection ~ 3550 1950
Wire Wire Line
3300 1850 3750 1850
Connection ~ 3300 1850
Wire Wire Line
3300 1750 3750 1750
Connection ~ 3300 1750
Text GLabel 3700 2250 2 50 Input ~ 0
SDA
Text GLabel 3700 2350 2 50 Input ~ 0
SCL
$Comp
L Device:C C2
U 1 1 5EA2D09A
P 3750 3600
F 0 "C2" H 3865 3646 50 0000 L CNN
F 1 "100nF" H 3865 3555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 3788 3450 50 0001 C CNN
F 3 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/7235149/" H 3750 3600 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8416756/" H 3750 3600 50 0001 C CNN "Source"
1 3750 3600
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 5EA2D9A9
P 3150 3600
F 0 "C1" H 3265 3646 50 0000 L CNN
F 1 "4,7uF" H 3265 3555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 3188 3450 50 0001 C CNN
F 3 "https://docs.rs-online.com/0185/0900766b813b3e59.pdf" H 3150 3600 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8151349/" H 3150 3600 50 0001 C CNN "Source"
1 3150 3600
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR0103
U 1 1 5EA2E3CC
P 3150 3100
F 0 "#PWR0103" H 3150 2950 50 0001 C CNN
F 1 "VCC" H 3167 3273 50 0000 C CNN
F 2 "" H 3150 3100 50 0001 C CNN
F 3 "" H 3150 3100 50 0001 C CNN
1 3150 3100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0104
U 1 1 5EA2E93B
P 3150 4050
F 0 "#PWR0104" H 3150 3800 50 0001 C CNN
F 1 "GND" H 3155 3877 50 0000 C CNN
F 2 "" H 3150 4050 50 0001 C CNN
F 3 "" H 3150 4050 50 0001 C CNN
1 3150 4050
1 0 0 -1
$EndComp
Wire Wire Line
3150 3100 3150 3350
Wire Wire Line
3150 3350 3750 3350
Wire Wire Line
3750 3350 3750 3450
Connection ~ 3150 3350
Wire Wire Line
3150 3350 3150 3450
Wire Wire Line
3750 3750 3750 3850
Wire Wire Line
3750 3850 3150 3850
Wire Wire Line
3150 3850 3150 3750
Wire Wire Line
3150 3850 3150 4050
Connection ~ 3150 3850
$Comp
L power:GND #PWR0105
U 1 1 5EA30623
P 5350 4700
F 0 "#PWR0105" H 5350 4450 50 0001 C CNN
F 1 "GND" H 5355 4527 50 0000 C CNN
F 2 "" H 5350 4700 50 0001 C CNN
F 3 "" H 5350 4700 50 0001 C CNN
1 5350 4700
1 0 0 -1
$EndComp
Wire Wire Line
5350 4550 5350 4700
$Comp
L power:VCC #PWR0106
U 1 1 5EA31064
P 5350 2550
F 0 "#PWR0106" H 5350 2400 50 0001 C CNN
F 1 "VCC" H 5367 2723 50 0000 C CNN
F 2 "" H 5350 2550 50 0001 C CNN
F 3 "" H 5350 2550 50 0001 C CNN
1 5350 2550
1 0 0 -1
$EndComp
Wire Wire Line
5350 2550 5350 2750
Wire Wire Line
5950 2950 6300 2950
Wire Wire Line
5950 3050 6300 3050
Wire Wire Line
5950 3150 6300 3150
Text GLabel 6300 3050 2 50 Input ~ 0
SDA
Text GLabel 6300 3150 2 50 Input ~ 0
SCL
Text GLabel 6300 2950 2 50 Input ~ 0
RESET
$Comp
L Switch:SW_Push SW1
U 1 1 5EA35658
P 5050 1800
F 0 "SW1" H 5050 2085 50 0000 C CNN
F 1 "SW_RESET" H 5050 1994 50 0000 C CNN
F 2 "Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm" H 5050 2000 50 0001 C CNN
F 3 "https://docs.rs-online.com/ea14/0900766b81527507.pdf" H 5050 2000 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/tastschalter/4791491/" H 5050 1800 50 0001 C CNN "Source"
1 5050 1800
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0107
U 1 1 5EA365E1
P 4600 1950
F 0 "#PWR0107" H 4600 1700 50 0001 C CNN
F 1 "GND" H 4605 1777 50 0000 C CNN
F 2 "" H 4600 1950 50 0001 C CNN
F 3 "" H 4600 1950 50 0001 C CNN
1 4600 1950
1 0 0 -1
$EndComp
Wire Wire Line
4600 1950 4600 1800
Wire Wire Line
4600 1800 4850 1800
$Comp
L Device:R R1
U 1 1 5EA37243
P 5600 1800
F 0 "R1" V 5393 1800 50 0000 C CNN
F 1 "330R" V 5484 1800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5530 1800 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 5600 1800 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 5600 1800 50 0001 C CNN "Source"
1 5600 1800
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5EA37762
P 6100 1450
F 0 "R2" H 6030 1404 50 0000 R CNN
F 1 "10k" H 6030 1495 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6030 1450 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6100 1450 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" H 6100 1450 50 0001 C CNN "Source"
1 6100 1450
-1 0 0 1
$EndComp
Wire Wire Line
5750 1800 6100 1800
Wire Wire Line
6100 1800 6100 1600
Wire Wire Line
5250 1800 5450 1800
$Comp
L power:VCC #PWR0108
U 1 1 5EA38C71
P 6100 1150
F 0 "#PWR0108" H 6100 1000 50 0001 C CNN
F 1 "VCC" H 6117 1323 50 0000 C CNN
F 2 "" H 6100 1150 50 0001 C CNN
F 3 "" H 6100 1150 50 0001 C CNN
1 6100 1150
1 0 0 -1
$EndComp
Wire Wire Line
6100 1150 6100 1300
Wire Wire Line
6100 1800 6350 1800
Connection ~ 6100 1800
Text GLabel 6350 1800 2 50 Input ~ 0
RESET
$Comp
L Connector:Conn_01x03_Male J3
U 1 1 5EA3FD12
P 8050 1900
F 0 "J3" H 8022 1924 50 0000 R CNN
F 1 "uPDI" H 8022 1833 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal" H 8050 1900 50 0001 C CNN
F 3 "~" H 8050 1900 50 0001 C CNN
1 8050 1900
-1 0 0 -1
$EndComp
Wire Wire Line
7850 1800 7650 1800
Wire Wire Line
7650 1800 7650 1650
$Comp
L power:VCC #PWR0109
U 1 1 5EA42DD6
P 7650 1650
F 0 "#PWR0109" H 7650 1500 50 0001 C CNN
F 1 "VCC" H 7667 1823 50 0000 C CNN
F 2 "" H 7650 1650 50 0001 C CNN
F 3 "" H 7650 1650 50 0001 C CNN
1 7650 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0110
U 1 1 5EA433C8
P 7650 2200
F 0 "#PWR0110" H 7650 1950 50 0001 C CNN
F 1 "GND" H 7655 2027 50 0000 C CNN
F 2 "" H 7650 2200 50 0001 C CNN
F 3 "" H 7650 2200 50 0001 C CNN
1 7650 2200
1 0 0 -1
$EndComp
Wire Wire Line
7850 2000 7650 2000
Wire Wire Line
7650 2000 7650 2200
Wire Wire Line
7850 1900 7650 1900
Text GLabel 7650 1900 0 50 Input ~ 0
RESET
$Comp
L Device:R R3
U 1 1 5EA4820B
P 6450 3350
F 0 "R3" V 6400 3200 50 0000 C CNN
F 1 "1k" V 6400 3500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3350 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3350 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3350 50 0001 C CNN "Source"
1 6450 3350
0 1 1 0
$EndComp
Wire Wire Line
5950 3850 6300 3850
Wire Wire Line
5950 3950 6300 3950
Wire Wire Line
5950 4250 6300 4250
Wire Wire Line
5950 4350 6300 4350
Wire Wire Line
5950 3350 6300 3350
Wire Wire Line
5950 3450 6300 3450
Wire Wire Line
5950 3550 6300 3550
Wire Wire Line
5950 3650 6300 3650
$Comp
L Device:R R4
U 1 1 5EA50ABF
P 6450 3450
F 0 "R4" V 6400 3300 50 0000 C CNN
F 1 "1k" V 6400 3600 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3450 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3450 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3450 50 0001 C CNN "Source"
1 6450 3450
0 1 1 0
$EndComp
$Comp
L Device:R R5
U 1 1 5EA50E4E
P 6450 3550
F 0 "R5" V 6400 3400 50 0000 C CNN
F 1 "1k" V 6400 3700 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3550 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3550 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3550 50 0001 C CNN "Source"
1 6450 3550
0 1 1 0
$EndComp
$Comp
L Device:R R6
U 1 1 5EA51353
P 6450 3650
F 0 "R6" V 6400 3500 50 0000 C CNN
F 1 "1k" V 6400 3800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3650 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3650 50 0001 C CNN "Source"
1 6450 3650
0 1 1 0
$EndComp
$Comp
L Device:R R7
U 1 1 5EA517B0
P 6450 3850
F 0 "R7" V 6400 3700 50 0000 C CNN
F 1 "1k" V 6400 4000 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3850 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3850 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3850 50 0001 C CNN "Source"
1 6450 3850
0 1 1 0
$EndComp
$Comp
L Device:R R8
U 1 1 5EA51CDB
P 6450 3950
F 0 "R8" V 6400 3800 50 0000 C CNN
F 1 "1k" V 6400 4100 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 3950 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 3950 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 3950 50 0001 C CNN "Source"
1 6450 3950
0 1 1 0
$EndComp
$Comp
L Device:R R9
U 1 1 5EA5210C
P 6450 4250
F 0 "R9" V 6400 4100 50 0000 C CNN
F 1 "1k" V 6400 4400 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 4250 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 4250 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 4250 50 0001 C CNN "Source"
1 6450 4250
0 1 1 0
$EndComp
$Comp
L Device:R R10
U 1 1 5EA526EB
P 6450 4350
F 0 "R10" V 6400 4200 50 0000 C CNN
F 1 "1k" V 6400 4500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6380 4350 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 6450 4350 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6789667/" V 6450 4350 50 0001 C CNN "Source"
1 6450 4350
0 1 1 0
$EndComp
NoConn ~ 4750 4050
NoConn ~ 4750 4150
$Comp
L Connector:TestPoint TP1
U 1 1 5EA5681C
P 7050 3350
F 0 "TP1" V 7000 3300 50 0000 L CNN
F 1 "M12.5" V 7000 3550 50 0000 L CNN
F 2 "" H 7250 3350 50 0001 C CNN
F 3 "~" H 7250 3350 50 0001 C CNN
1 7050 3350
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP2
U 1 1 5EA5EFC0
P 7050 3450
F 0 "TP2" V 7000 3400 50 0000 L CNN
F 1 "M25.0" V 7000 3650 50 0000 L CNN
F 2 "" H 7250 3450 50 0001 C CNN
F 3 "~" H 7250 3450 50 0001 C CNN
1 7050 3450
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP3
U 1 1 5EA5F27D
P 7050 3550
F 0 "TP3" V 7000 3500 50 0000 L CNN
F 1 "M37.5" V 7000 3750 50 0000 L CNN
F 2 "" H 7250 3550 50 0001 C CNN
F 3 "~" H 7250 3550 50 0001 C CNN
1 7050 3550
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP4
U 1 1 5EA5FA8E
P 7050 3650
F 0 "TP4" V 7000 3600 50 0000 L CNN
F 1 "M50.0" V 7000 3850 50 0000 L CNN
F 2 "" H 7250 3650 50 0001 C CNN
F 3 "~" H 7250 3650 50 0001 C CNN
1 7050 3650
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP5
U 1 1 5EA6116F
P 7050 3850
F 0 "TP5" V 7000 3800 50 0000 L CNN
F 1 "M62.5" V 7000 4050 50 0000 L CNN
F 2 "" H 7250 3850 50 0001 C CNN
F 3 "~" H 7250 3850 50 0001 C CNN
1 7050 3850
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP6
U 1 1 5EA61532
P 7050 3950
F 0 "TP6" V 7000 3900 50 0000 L CNN
F 1 "M75.0" V 7000 4150 50 0000 L CNN
F 2 "" H 7250 3950 50 0001 C CNN
F 3 "~" H 7250 3950 50 0001 C CNN
1 7050 3950
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP7
U 1 1 5EA6185B
P 7050 4250
F 0 "TP7" V 7000 4200 50 0000 L CNN
F 1 "M87.5" V 7000 4450 50 0000 L CNN
F 2 "" H 7250 4250 50 0001 C CNN
F 3 "~" H 7250 4250 50 0001 C CNN
1 7050 4250
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP8
U 1 1 5EA61CE4
P 7050 4350
F 0 "TP8" V 7000 4300 50 0000 L CNN
F 1 "M100.0" V 7000 4550 50 0000 L CNN
F 2 "" H 7250 4350 50 0001 C CNN
F 3 "~" H 7250 4350 50 0001 C CNN
1 7050 4350
0 1 1 0
$EndComp
Text Label 6750 3350 0 50 ~ 0
M12.5
Wire Wire Line
6600 3350 7050 3350
Wire Wire Line
6600 3450 7050 3450
Wire Wire Line
6600 3850 7050 3850
Wire Wire Line
6600 3950 7050 3950
Wire Wire Line
6600 4250 7050 4250
Wire Wire Line
6600 4350 7050 4350
Text Label 6750 3450 0 50 ~ 0
M25.0
Text Label 6750 3550 0 50 ~ 0
M37.5
Wire Wire Line
6600 3550 7050 3550
Wire Wire Line
6600 3650 7050 3650
Text Label 6750 3650 0 50 ~ 0
M50.0
Text Label 6750 3850 0 50 ~ 0
M62.5
Text Label 6750 3950 0 50 ~ 0
M75.0
Text Label 6750 4250 0 50 ~ 0
M87.5
Text Label 6750 4350 0 50 ~ 0
M100.0
NoConn ~ 5950 3250
NoConn ~ 5950 4050
NoConn ~ 5950 4150
Wire Wire Line
4750 3850 4600 3850
Wire Wire Line
4750 3950 4600 3950
Text GLabel 4600 3850 0 50 Input ~ 0
LED_gn
Text GLabel 4600 3950 0 50 Input ~ 0
LED_rd
$Comp
L Device:LED_Dual_AAC D1
U 1 1 5EAC7E91
P 9550 3650
F 0 "D1" H 9550 3303 50 0000 C CNN
F 1 "LED_Dual_AAC" H 9550 3394 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 9550 3650 50 0001 C CNN
F 3 "https://docs.rs-online.com/f876/0900766b8032f15e.pdf" H 9550 3650 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/led/4664153/" V 9550 3650 50 0001 C CNN "Source"
1 9550 3650
-1 0 0 1
$EndComp
$Comp
L Device:R R11
U 1 1 5EACEFA9
P 8800 3550
F 0 "R11" V 8700 3350 50 0000 C CNN
F 1 "330R" V 8700 3750 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 8730 3550 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 8800 3550 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 8800 3550 50 0001 C CNN "Source"
1 8800 3550
0 1 1 0
$EndComp
$Comp
L Device:R R12
U 1 1 5EACF3B0
P 8800 3750
F 0 "R12" V 8700 3550 50 0000 C CNN
F 1 "330R" V 8700 3950 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 8730 3750 50 0001 C CNN
F 3 "https://docs.rs-online.com/236a/0900766b80d98afc.pdf" H 8800 3750 50 0001 C CNN
F 4 "https://de.rs-online.com/web/p/smd-widerstande/6790226/" V 8800 3750 50 0001 C CNN "Source"
1 8800 3750
0 1 1 0
$EndComp
Wire Wire Line
8950 3550 9250 3550
Wire Wire Line
8950 3750 9250 3750
Wire Wire Line
8650 3750 8400 3750
Wire Wire Line
8650 3550 8400 3550
Text GLabel 8400 3750 0 50 Input ~ 0
LED_rd
Text GLabel 8400 3550 0 50 Input ~ 0
LED_gn
$Comp
L power:GND #PWR0111
U 1 1 5EAD4666
P 10000 3750
F 0 "#PWR0111" H 10000 3500 50 0001 C CNN
F 1 "GND" H 10005 3577 50 0000 C CNN
F 2 "" H 10000 3750 50 0001 C CNN
F 3 "" H 10000 3750 50 0001 C CNN
1 10000 3750
1 0 0 -1
$EndComp
Wire Wire Line
9850 3650 10000 3650
Wire Wire Line
10000 3650 10000 3750
$EndSCHEMATC

598
board/water_level.xml Normal file
View File

@@ -0,0 +1,598 @@
<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
<design>
<source>/home/moritz/Projekte/water_level/water_level.sch</source>
<date>Do 23 Apr 2020 19:03:47 CEST</date>
<tool>Eeschema 5.1.5</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
<title/>
<company/>
<rev/>
<date/>
<source>water_level.sch</source>
<comment number="1" value=""/>
<comment number="2" value=""/>
<comment number="3" value=""/>
<comment number="4" value=""/>
</title_block>
</sheet>
</design>
<components>
<comp ref="U1">
<value>ATtiny1616-S</value>
<footprint>Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm</footprint>
<datasheet>http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny3216_ATtiny1616-data-sheet-40001997B.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/mikrocontroller/1936209/</field>
</fields>
<libsource lib="MCU_Microchip_ATtiny" part="ATtiny1616-S" description="20MHz, 16kB Flash, 2kB SRAM, 256B EEPROM, SOIC-20"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA14B65</tstamp>
</comp>
<comp ref="J2">
<value>Bus_out</value>
<footprint>Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal</footprint>
<datasheet>https://docs.rs-online.com/7079/0900766b813ce4c5.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/leiterplatten-header/6881366/</field>
</fields>
<libsource lib="Connector" part="Conn_01x04_Male" description="Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA1622E</tstamp>
</comp>
<comp ref="J1">
<value>Bus_in</value>
<footprint>Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal</footprint>
<datasheet>https://docs.rs-online.com/7079/0900766b813ce4c5.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/leiterplatten-header/6881366/</field>
</fields>
<libsource lib="Connector" part="Conn_01x04_Male" description="Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA16BF8</tstamp>
</comp>
<comp ref="C2">
<value>100nF</value>
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
<datasheet>https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/7235149/</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8416756/</field>
</fields>
<libsource lib="Device" part="C" description="Unpolarized capacitor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA2D09A</tstamp>
</comp>
<comp ref="C1">
<value>4,7uF</value>
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
<datasheet>https://docs.rs-online.com/0185/0900766b813b3e59.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/keramik-vielschichtkondensatoren/8151349/</field>
</fields>
<libsource lib="Device" part="C" description="Unpolarized capacitor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA2D9A9</tstamp>
</comp>
<comp ref="SW1">
<value>SW_RESET</value>
<footprint>Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm</footprint>
<datasheet>https://docs.rs-online.com/ea14/0900766b81527507.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/tastschalter/4791491/</field>
</fields>
<libsource lib="Switch" part="SW_Push" description="Push button switch, generic, two pins"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA35658</tstamp>
</comp>
<comp ref="R1">
<value>330R</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6790226/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA37243</tstamp>
</comp>
<comp ref="R2">
<value>10k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA37762</tstamp>
</comp>
<comp ref="J3">
<value>uPDI</value>
<footprint>Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal</footprint>
<datasheet>~</datasheet>
<libsource lib="Connector" part="Conn_01x03_Male" description="Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA3FD12</tstamp>
</comp>
<comp ref="R3">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA4820B</tstamp>
</comp>
<comp ref="R4">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA50ABF</tstamp>
</comp>
<comp ref="R5">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA50E4E</tstamp>
</comp>
<comp ref="R6">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA51353</tstamp>
</comp>
<comp ref="R7">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA517B0</tstamp>
</comp>
<comp ref="R8">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA51CDB</tstamp>
</comp>
<comp ref="R9">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA5210C</tstamp>
</comp>
<comp ref="R10">
<value>1k</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6789667/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA526EB</tstamp>
</comp>
<comp ref="TP1">
<value>M12.5</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA5681C</tstamp>
</comp>
<comp ref="TP2">
<value>M25.0</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA5EFC0</tstamp>
</comp>
<comp ref="TP3">
<value>M37.5</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA5F27D</tstamp>
</comp>
<comp ref="TP4">
<value>M50.0</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA5FA8E</tstamp>
</comp>
<comp ref="TP5">
<value>M62.5</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA6116F</tstamp>
</comp>
<comp ref="TP6">
<value>M75.0</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA61532</tstamp>
</comp>
<comp ref="TP7">
<value>M87.5</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA6185B</tstamp>
</comp>
<comp ref="TP8">
<value>M100.0</value>
<datasheet>~</datasheet>
<libsource lib="Connector" part="TestPoint" description="test point"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EA61CE4</tstamp>
</comp>
<comp ref="D1">
<value>LED_Dual_AAC</value>
<footprint>Package_TO_SOT_SMD:SOT-23</footprint>
<datasheet>https://docs.rs-online.com/f876/0900766b8032f15e.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/led/4664153/</field>
</fields>
<libsource lib="Device" part="LED_Dual_AAC" description="Dual LED, common cathode on pin 3"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EAC7E91</tstamp>
</comp>
<comp ref="R11">
<value>330R</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6790226/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EACEFA9</tstamp>
</comp>
<comp ref="R12">
<value>330R</value>
<footprint>Resistor_SMD:R_0603_1608Metric</footprint>
<datasheet>https://docs.rs-online.com/236a/0900766b80d98afc.pdf</datasheet>
<fields>
<field name="Source">https://de.rs-online.com/web/p/smd-widerstande/6790226/</field>
</fields>
<libsource lib="Device" part="R" description="Resistor"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>5EACF3B0</tstamp>
</comp>
</components>
<libparts>
<libpart lib="Connector" part="Conn_01x03_Male">
<description>Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
<docs>~</docs>
<footprints>
<fp>Connector*:*_1x??_*</fp>
</footprints>
<fields>
<field name="Reference">J</field>
<field name="Value">Conn_01x03_Male</field>
</fields>
<pins>
<pin num="1" name="Pin_1" type="passive"/>
<pin num="2" name="Pin_2" type="passive"/>
<pin num="3" name="Pin_3" type="passive"/>
</pins>
</libpart>
<libpart lib="Connector" part="Conn_01x04_Male">
<description>Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
<docs>~</docs>
<footprints>
<fp>Connector*:*_1x??_*</fp>
</footprints>
<fields>
<field name="Reference">J</field>
<field name="Value">Conn_01x04_Male</field>
</fields>
<pins>
<pin num="1" name="Pin_1" type="passive"/>
<pin num="2" name="Pin_2" type="passive"/>
<pin num="3" name="Pin_3" type="passive"/>
<pin num="4" name="Pin_4" type="passive"/>
</pins>
</libpart>
<libpart lib="Connector" part="TestPoint">
<description>test point</description>
<docs>~</docs>
<footprints>
<fp>Pin*</fp>
<fp>Test*</fp>
</footprints>
<fields>
<field name="Reference">TP</field>
<field name="Value">TestPoint</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="C">
<description>Unpolarized capacitor</description>
<docs>~</docs>
<footprints>
<fp>C_*</fp>
</footprints>
<fields>
<field name="Reference">C</field>
<field name="Value">C</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="Device" part="LED_Dual_AAC">
<description>Dual LED, common cathode on pin 3</description>
<docs>~</docs>
<footprints>
<fp>LED*</fp>
<fp>LED_SMD:*</fp>
<fp>LED_THT:*</fp>
</footprints>
<fields>
<field name="Reference">D</field>
<field name="Value">LED_Dual_AAC</field>
</fields>
<pins>
<pin num="1" name="A1" type="input"/>
<pin num="2" name="A2" type="input"/>
<pin num="3" name="K" type="input"/>
</pins>
</libpart>
<libpart lib="Device" part="R">
<description>Resistor</description>
<docs>~</docs>
<footprints>
<fp>R_*</fp>
</footprints>
<fields>
<field name="Reference">R</field>
<field name="Value">R</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="MCU_Microchip_ATtiny" part="ATtiny406-S">
<aliases>
<alias>ATtiny806-S</alias>
<alias>ATtiny1606-S</alias>
<alias>ATtiny416-S</alias>
<alias>ATtiny816-S</alias>
<alias>ATtiny1616-S</alias>
<alias>ATtiny3216-S</alias>
</aliases>
<description>20MHz, 4kB Flash, 256B SRAM, 128B EEPROM, SOIC-20</description>
<docs>http://ww1.microchip.com/downloads/en/DeviceDoc/Microchip%208bit%20mcu%20AVR%20ATtiny406%20data%20sheet%2040001976A.pdf</docs>
<footprints>
<fp>SOIC*7.5x12.8mm*P1.27mm*</fp>
</footprints>
<fields>
<field name="Reference">U</field>
<field name="Value">ATtiny406-S</field>
<field name="Footprint">Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm</field>
</fields>
<pins>
<pin num="1" name="VCC" type="power_in"/>
<pin num="2" name="PA4" type="BiDi"/>
<pin num="3" name="PA5" type="BiDi"/>
<pin num="4" name="PA6" type="BiDi"/>
<pin num="5" name="PA7" type="BiDi"/>
<pin num="6" name="PB5" type="BiDi"/>
<pin num="7" name="PB4" type="BiDi"/>
<pin num="8" name="PB3" type="BiDi"/>
<pin num="9" name="PB2" type="BiDi"/>
<pin num="10" name="PB1" type="BiDi"/>
<pin num="11" name="PB0" type="BiDi"/>
<pin num="12" name="PC0" type="BiDi"/>
<pin num="13" name="PC1" type="BiDi"/>
<pin num="14" name="PC2" type="BiDi"/>
<pin num="15" name="PC3" type="BiDi"/>
<pin num="16" name="~RESET~/PA0" type="BiDi"/>
<pin num="17" name="PA1" type="BiDi"/>
<pin num="18" name="PA2" type="BiDi"/>
<pin num="19" name="PA3" type="BiDi"/>
<pin num="20" name="GND" type="power_in"/>
</pins>
</libpart>
<libpart lib="Switch" part="SW_Push">
<description>Push button switch, generic, two pins</description>
<docs>~</docs>
<fields>
<field name="Reference">SW</field>
<field name="Value">SW_Push</field>
</fields>
<pins>
<pin num="1" name="1" type="passive"/>
<pin num="2" name="2" type="passive"/>
</pins>
</libpart>
</libparts>
<libraries>
<library logical="Connector">
<uri>/usr/share/kicad/library/Connector.lib</uri>
</library>
<library logical="Device">
<uri>/usr/share/kicad/library/Device.lib</uri>
</library>
<library logical="MCU_Microchip_ATtiny">
<uri>/usr/share/kicad/library/MCU_Microchip_ATtiny.lib</uri>
</library>
<library logical="Switch">
<uri>/usr/share/kicad/library/Switch.lib</uri>
</library>
</libraries>
<nets>
<net code="1" name="Net-(R6-Pad2)">
<node ref="U1" pin="5"/>
<node ref="R6" pin="2"/>
</net>
<net code="2" name="Net-(R9-Pad2)">
<node ref="U1" pin="7"/>
<node ref="R9" pin="2"/>
</net>
<net code="3" name="Net-(R10-Pad2)">
<node ref="R10" pin="2"/>
<node ref="U1" pin="6"/>
</net>
<net code="4" name="Net-(R3-Pad2)">
<node ref="R3" pin="2"/>
<node ref="U1" pin="2"/>
</net>
<net code="5" name="Net-(R4-Pad2)">
<node ref="R4" pin="2"/>
<node ref="U1" pin="3"/>
</net>
<net code="6" name="Net-(R5-Pad2)">
<node ref="R5" pin="2"/>
<node ref="U1" pin="4"/>
</net>
<net code="7" name="Net-(R8-Pad2)">
<node ref="R8" pin="2"/>
<node ref="U1" pin="10"/>
</net>
<net code="8" name="Net-(R7-Pad2)">
<node ref="U1" pin="11"/>
<node ref="R7" pin="2"/>
</net>
<net code="9" name="Net-(U1-Pad14)">
<node ref="U1" pin="14"/>
</net>
<net code="10" name="Net-(U1-Pad15)">
<node ref="U1" pin="15"/>
</net>
<net code="11" name="VCC">
<node ref="R2" pin="2"/>
<node ref="C2" pin="1"/>
<node ref="J2" pin="4"/>
<node ref="J1" pin="1"/>
<node ref="U1" pin="1"/>
<node ref="J3" pin="1"/>
<node ref="C1" pin="1"/>
</net>
<net code="12" name="GND">
<node ref="U1" pin="20"/>
<node ref="J1" pin="2"/>
<node ref="C2" pin="2"/>
<node ref="J2" pin="3"/>
<node ref="SW1" pin="1"/>
<node ref="C1" pin="2"/>
<node ref="J3" pin="3"/>
<node ref="D1" pin="3"/>
</net>
<net code="13" name="Net-(U1-Pad9)">
<node ref="U1" pin="9"/>
</net>
<net code="14" name="Net-(U1-Pad8)">
<node ref="U1" pin="8"/>
</net>
<net code="15" name="LED_gn">
<node ref="R11" pin="2"/>
<node ref="U1" pin="12"/>
</net>
<net code="16" name="LED_rd">
<node ref="U1" pin="13"/>
<node ref="R12" pin="2"/>
</net>
<net code="17" name="Net-(D1-Pad1)">
<node ref="D1" pin="1"/>
<node ref="R12" pin="1"/>
</net>
<net code="18" name="Net-(D1-Pad2)">
<node ref="D1" pin="2"/>
<node ref="R11" pin="1"/>
</net>
<net code="19" name="Net-(U1-Pad19)">
<node ref="U1" pin="19"/>
</net>
<net code="20" name="/M12.5">
<node ref="R3" pin="1"/>
<node ref="TP1" pin="1"/>
</net>
<net code="21" name="Net-(R1-Pad2)">
<node ref="SW1" pin="2"/>
<node ref="R1" pin="2"/>
</net>
<net code="22" name="/M25.0">
<node ref="TP2" pin="1"/>
<node ref="R4" pin="1"/>
</net>
<net code="23" name="/M37.5">
<node ref="R5" pin="1"/>
<node ref="TP3" pin="1"/>
</net>
<net code="24" name="/M50.0">
<node ref="R6" pin="1"/>
<node ref="TP4" pin="1"/>
</net>
<net code="25" name="/M62.5">
<node ref="R7" pin="1"/>
<node ref="TP5" pin="1"/>
</net>
<net code="26" name="/M75.0">
<node ref="TP6" pin="1"/>
<node ref="R8" pin="1"/>
</net>
<net code="27" name="/M87.5">
<node ref="R9" pin="1"/>
<node ref="TP7" pin="1"/>
</net>
<net code="28" name="/M100.0">
<node ref="TP8" pin="1"/>
<node ref="R10" pin="1"/>
</net>
<net code="29" name="SDA">
<node ref="J1" pin="3"/>
<node ref="U1" pin="17"/>
<node ref="J2" pin="2"/>
</net>
<net code="30" name="SCL">
<node ref="J2" pin="1"/>
<node ref="J1" pin="4"/>
<node ref="U1" pin="18"/>
</net>
<net code="31" name="RESET">
<node ref="R1" pin="1"/>
<node ref="J3" pin="2"/>
<node ref="R2" pin="1"/>
<node ref="U1" pin="16"/>
</net>
</nets>
</export>