aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-08-20 12:15:02 +0100
committerdakkar <dakkar@thenautilus.net>2020-08-20 12:15:02 +0100
commit4704c406483377353cfbbcb86dec742c23bbf6c9 (patch)
tree69c356618a5c23c16e1d2c82ef319472e8a66532
downloadlego-piano-4704c406483377353cfbbcb86dec742c23bbf6c9.tar.gz
lego-piano-4704c406483377353cfbbcb86dec742c23bbf6c9.tar.bz2
lego-piano-4704c406483377353cfbbcb86dec742c23bbf6c9.zip
schematics
-rw-r--r--.gitignore2
-rw-r--r--lego-piano.kicad_pcb649
-rw-r--r--lego-piano.pro248
-rw-r--r--lego-piano.sch348
4 files changed, 1247 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..810b79b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/fp-info-cache
+/*-bak
diff --git a/lego-piano.kicad_pcb b/lego-piano.kicad_pcb
new file mode 100644
index 0000000..3568e0d
--- /dev/null
+++ b/lego-piano.kicad_pcb
@@ -0,0 +1,649 @@
+(kicad_pcb (version 20171130) (host pcbnew 5.1.6)
+
+ (general
+ (thickness 1.6)
+ (drawings 0)
+ (tracks 0)
+ (zones 0)
+ (modules 13)
+ (nets 15)
+ )
+
+ (page A4)
+ (layers
+ (0 F.Cu signal)
+ (31 B.Cu signal)
+ (32 B.Adhes user)
+ (33 F.Adhes user)
+ (34 B.Paste user)
+ (35 F.Paste user)
+ (36 B.SilkS user)
+ (37 F.SilkS user)
+ (38 B.Mask user)
+ (39 F.Mask user)
+ (40 Dwgs.User user)
+ (41 Cmts.User user)
+ (42 Eco1.User user)
+ (43 Eco2.User user)
+ (44 Edge.Cuts user)
+ (45 Margin user)
+ (46 B.CrtYd user)
+ (47 F.CrtYd user)
+ (48 B.Fab user)
+ (49 F.Fab user)
+ )
+
+ (setup
+ (last_trace_width 0.25)
+ (trace_clearance 0.2)
+ (zone_clearance 0.508)
+ (zone_45_only no)
+ (trace_min 0.2)
+ (via_size 0.8)
+ (via_drill 0.4)
+ (via_min_size 0.4)
+ (via_min_drill 0.3)
+ (uvia_size 0.3)
+ (uvia_drill 0.1)
+ (uvias_allowed no)
+ (uvia_min_size 0.2)
+ (uvia_min_drill 0.1)
+ (edge_width 0.05)
+ (segment_width 0.2)
+ (pcb_text_width 0.3)
+ (pcb_text_size 1.5 1.5)
+ (mod_edge_width 0.12)
+ (mod_text_size 1 1)
+ (mod_text_width 0.15)
+ (pad_size 1.524 1.524)
+ (pad_drill 0.762)
+ (pad_to_mask_clearance 0.05)
+ (aux_axis_origin 0 0)
+ (visible_elements FFFFFF7F)
+ (pcbplotparams
+ (layerselection 0x010fc_ffffffff)
+ (usegerberextensions false)
+ (usegerberattributes true)
+ (usegerberadvancedattributes true)
+ (creategerberjobfile true)
+ (excludeedgelayer true)
+ (linewidth 0.100000)
+ (plotframeref false)
+ (viasonmask false)
+ (mode 1)
+ (useauxorigin false)
+ (hpglpennumber 1)
+ (hpglpenspeed 20)
+ (hpglpendiameter 15.000000)
+ (psnegative false)
+ (psa4output false)
+ (plotreference true)
+ (plotvalue true)
+ (plotinvisibletext false)
+ (padsonsilk false)
+ (subtractmaskfromsilk false)
+ (outputformat 1)
+ (mirror false)
+ (drillshape 1)
+ (scaleselection 1)
+ (outputdirectory ""))
+ )
+
+ (net 0 "")
+ (net 1 /sense2)
+ (net 2 /sense1)
+ (net 3 /row2)
+ (net 4 /row1)
+ (net 5 /col2)
+ (net 6 /col1)
+ (net 7 GND)
+ (net 8 "Net-(Q1-Pad2)")
+ (net 9 "Net-(Q2-Pad2)")
+ (net 10 "Net-(Q3-Pad3)")
+ (net 11 +5V)
+ (net 12 "Net-(Q4-Pad3)")
+ (net 13 "Net-(R1-Pad2)")
+ (net 14 "Net-(R3-Pad2)")
+
+ (net_class Default "This is the default net class."
+ (clearance 0.2)
+ (trace_width 0.25)
+ (via_dia 0.8)
+ (via_drill 0.4)
+ (uvia_dia 0.3)
+ (uvia_drill 0.1)
+ (add_net +5V)
+ (add_net /col1)
+ (add_net /col2)
+ (add_net /row1)
+ (add_net /row2)
+ (add_net /sense1)
+ (add_net /sense2)
+ (add_net GND)
+ (add_net "Net-(Q1-Pad2)")
+ (add_net "Net-(Q2-Pad2)")
+ (add_net "Net-(Q3-Pad3)")
+ (add_net "Net-(Q4-Pad3)")
+ (add_net "Net-(R1-Pad2)")
+ (add_net "Net-(R3-Pad2)")
+ )
+
+ (module OptoDevice:OnSemi_CASE100CY (layer F.Cu) (tedit 5B870A92) (tstamp 5F382268)
+ (at 116.19 100.14)
+ (descr "OnSemi CASE 100CY, light-direction upwards, see http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF")
+ (tags "refective opto couple photo coupler")
+ (path /5F37E0E5)
+ (attr smd)
+ (fp_text reference U4 (at -2.5 0 90) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value QRE1113 (at 0 3.9) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0 0.2) (layer F.Fab)
+ (effects (font (size 0.75 0.75) (thickness 0.15)))
+ )
+ (fp_line (start 1.7 1.4) (end 1.7 -1.4) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.7 1.4) (end -1.7 -2.8) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.6 -0.8) (end -1.1 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.1 -1.3) (end 1.6 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.6 1.3) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 1.3) (end -1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 -1.3) (end 1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.85 -3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.85 -3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (pad 4 smd roundrect (at 0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 8 "Net-(Q1-Pad2)"))
+ (pad 1 smd roundrect (at -0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 14 "Net-(R3-Pad2)"))
+ (pad 2 smd roundrect (at -0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 8 "Net-(Q1-Pad2)"))
+ (pad 3 smd roundrect (at 0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 1 /sense2))
+ (model ${KISYS3DMOD}/OptoDevice.3dshapes/OnSemi_CASE100CY.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module OptoDevice:OnSemi_CASE100CY (layer F.Cu) (tedit 5B870A92) (tstamp 5F382254)
+ (at 124.45 92.41)
+ (descr "OnSemi CASE 100CY, light-direction upwards, see http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF")
+ (tags "refective opto couple photo coupler")
+ (path /5F380254)
+ (attr smd)
+ (fp_text reference U3 (at -2.5 0 90) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value QRE1113 (at 0 3.9) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0 0.2) (layer F.Fab)
+ (effects (font (size 0.75 0.75) (thickness 0.15)))
+ )
+ (fp_line (start 1.7 1.4) (end 1.7 -1.4) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.7 1.4) (end -1.7 -2.8) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.6 -0.8) (end -1.1 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.1 -1.3) (end 1.6 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.6 1.3) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 1.3) (end -1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 -1.3) (end 1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.85 -3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.85 -3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (pad 4 smd roundrect (at 0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 9 "Net-(Q2-Pad2)"))
+ (pad 1 smd roundrect (at -0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 14 "Net-(R3-Pad2)"))
+ (pad 2 smd roundrect (at -0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 9 "Net-(Q2-Pad2)"))
+ (pad 3 smd roundrect (at 0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 1 /sense2))
+ (model ${KISYS3DMOD}/OptoDevice.3dshapes/OnSemi_CASE100CY.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module OptoDevice:OnSemi_CASE100CY (layer F.Cu) (tedit 5B870A92) (tstamp 5F382240)
+ (at 111.44 100.14)
+ (descr "OnSemi CASE 100CY, light-direction upwards, see http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF")
+ (tags "refective opto couple photo coupler")
+ (path /5F37F0DD)
+ (attr smd)
+ (fp_text reference U2 (at -2.5 0 90) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value QRE1113 (at 0 3.9) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0 0.2) (layer F.Fab)
+ (effects (font (size 0.75 0.75) (thickness 0.15)))
+ )
+ (fp_line (start 1.7 1.4) (end 1.7 -1.4) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.7 1.4) (end -1.7 -2.8) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.6 -0.8) (end -1.1 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.1 -1.3) (end 1.6 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.6 1.3) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 1.3) (end -1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 -1.3) (end 1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.85 -3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.85 -3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (pad 4 smd roundrect (at 0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 9 "Net-(Q2-Pad2)"))
+ (pad 1 smd roundrect (at -0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 13 "Net-(R1-Pad2)"))
+ (pad 2 smd roundrect (at -0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 9 "Net-(Q2-Pad2)"))
+ (pad 3 smd roundrect (at 0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 2 /sense1))
+ (model ${KISYS3DMOD}/OptoDevice.3dshapes/OnSemi_CASE100CY.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module OptoDevice:OnSemi_CASE100CY (layer F.Cu) (tedit 5B870A92) (tstamp 5F38222C)
+ (at 128.89 85.2)
+ (descr "OnSemi CASE 100CY, light-direction upwards, see http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF")
+ (tags "refective opto couple photo coupler")
+ (path /5F37C030)
+ (attr smd)
+ (fp_text reference U1 (at -2.5 0 90) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value QRE1113 (at 0 3.9) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0 0.2) (layer F.Fab)
+ (effects (font (size 0.75 0.75) (thickness 0.15)))
+ )
+ (fp_line (start 1.7 1.4) (end 1.7 -1.4) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.7 1.4) (end -1.7 -2.8) (layer F.SilkS) (width 0.12))
+ (fp_line (start -1.6 -0.8) (end -1.1 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.1 -1.3) (end 1.6 -1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.6 1.3) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 1.3) (end -1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start 1.6 -1.3) (end 1.6 1.3) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.85 -3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.85 -3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end 1.85 -3.08) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 1.85 3.08) (end -1.85 3.08) (layer F.CrtYd) (width 0.05))
+ (pad 4 smd roundrect (at 0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 8 "Net-(Q1-Pad2)"))
+ (pad 1 smd roundrect (at -0.9 -2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 13 "Net-(R1-Pad2)"))
+ (pad 2 smd roundrect (at -0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 8 "Net-(Q1-Pad2)"))
+ (pad 3 smd roundrect (at 0.9 2) (size 0.79 1.66) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 2 /sense1))
+ (model ${KISYS3DMOD}/OptoDevice.3dshapes/OnSemi_CASE100CY.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical (layer F.Cu) (tedit 5AE5139B) (tstamp 5F382218)
+ (at 128.4 93.53)
+ (descr "Resistor, Axial_DIN0204 series, Axial, Vertical, pin pitch=1.9mm, 0.167W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
+ (tags "Resistor Axial_DIN0204 series Axial Vertical pin pitch 1.9mm 0.167W length 3.6mm diameter 1.6mm")
+ (path /5F3851E4)
+ (fp_text reference R4 (at 0.95 -1.92) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value 10k (at 0.95 1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0.95 -1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_arc (start 0 0) (end 0.417133 -0.7) (angle -233.92106) (layer F.SilkS) (width 0.12))
+ (fp_circle (center 0 0) (end 0.8 0) (layer F.Fab) (width 0.1))
+ (fp_line (start 0 0) (end 1.9 0) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.05 -1.05) (end -1.05 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.05 1.05) (end 2.86 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 1.05) (end 2.86 -1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 -1.05) (end -1.05 -1.05) (layer F.CrtYd) (width 0.05))
+ (pad 2 thru_hole oval (at 1.9 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 1 /sense2))
+ (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 12 "Net-(Q4-Pad3)"))
+ (model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical (layer F.Cu) (tedit 5AE5139B) (tstamp 5F38220A)
+ (at 120.14 100.74)
+ (descr "Resistor, Axial_DIN0204 series, Axial, Vertical, pin pitch=1.9mm, 0.167W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
+ (tags "Resistor Axial_DIN0204 series Axial Vertical pin pitch 1.9mm 0.167W length 3.6mm diameter 1.6mm")
+ (path /5F38475D)
+ (fp_text reference R3 (at 0.95 -1.92) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value 330 (at 0.95 1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0.95 -1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_arc (start 0 0) (end 0.417133 -0.7) (angle -233.92106) (layer F.SilkS) (width 0.12))
+ (fp_circle (center 0 0) (end 0.8 0) (layer F.Fab) (width 0.1))
+ (fp_line (start 0 0) (end 1.9 0) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.05 -1.05) (end -1.05 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.05 1.05) (end 2.86 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 1.05) (end 2.86 -1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 -1.05) (end -1.05 -1.05) (layer F.CrtYd) (width 0.05))
+ (pad 2 thru_hole oval (at 1.9 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 14 "Net-(R3-Pad2)"))
+ (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 12 "Net-(Q4-Pad3)"))
+ (model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical (layer F.Cu) (tedit 5AE5139B) (tstamp 5F3821FC)
+ (at 128.4 90.38)
+ (descr "Resistor, Axial_DIN0204 series, Axial, Vertical, pin pitch=1.9mm, 0.167W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
+ (tags "Resistor Axial_DIN0204 series Axial Vertical pin pitch 1.9mm 0.167W length 3.6mm diameter 1.6mm")
+ (path /5F384DD2)
+ (fp_text reference R2 (at 0.95 -1.92) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value 10k (at 0.95 1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0.95 -1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_arc (start 0 0) (end 0.417133 -0.7) (angle -233.92106) (layer F.SilkS) (width 0.12))
+ (fp_circle (center 0 0) (end 0.8 0) (layer F.Fab) (width 0.1))
+ (fp_line (start 0 0) (end 1.9 0) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.05 -1.05) (end -1.05 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.05 1.05) (end 2.86 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 1.05) (end 2.86 -1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 -1.05) (end -1.05 -1.05) (layer F.CrtYd) (width 0.05))
+ (pad 2 thru_hole oval (at 1.9 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 2 /sense1))
+ (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 10 "Net-(Q3-Pad3)"))
+ (model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical (layer F.Cu) (tedit 5AE5139B) (tstamp 5F3821EE)
+ (at 123.65 97.59)
+ (descr "Resistor, Axial_DIN0204 series, Axial, Vertical, pin pitch=1.9mm, 0.167W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
+ (tags "Resistor Axial_DIN0204 series Axial Vertical pin pitch 1.9mm 0.167W length 3.6mm diameter 1.6mm")
+ (path /5F383F48)
+ (fp_text reference R1 (at 0.95 -1.92) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value 330 (at 0.95 1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0.95 -1.92) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_arc (start 0 0) (end 0.417133 -0.7) (angle -233.92106) (layer F.SilkS) (width 0.12))
+ (fp_circle (center 0 0) (end 0.8 0) (layer F.Fab) (width 0.1))
+ (fp_line (start 0 0) (end 1.9 0) (layer F.Fab) (width 0.1))
+ (fp_line (start -1.05 -1.05) (end -1.05 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -1.05 1.05) (end 2.86 1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 1.05) (end 2.86 -1.05) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 2.86 -1.05) (end -1.05 -1.05) (layer F.CrtYd) (width 0.05))
+ (pad 2 thru_hole oval (at 1.9 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 13 "Net-(R1-Pad2)"))
+ (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
+ (net 10 "Net-(Q3-Pad3)"))
+ (model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Package_TO_SOT_THT:TO-247-3_Vertical (layer F.Cu) (tedit 5AC86DC3) (tstamp 5F3821E0)
+ (at 94.89 97.89)
+ (descr "TO-247-3, Vertical, RM 5.45mm, see https://toshiba.semicon-storage.com/us/product/mosfet/to-247-4l.html")
+ (tags "TO-247-3 Vertical RM 5.45mm")
+ (path /5F3AB055)
+ (fp_text reference Q4 (at 5.45 -3.45) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value Q_NPN_BCE (at 5.45 3.95) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 5.45 -3.45) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -2.5 -2.33) (end -2.5 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.5 2.7) (end 13.4 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 2.7) (end 13.4 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 -2.33) (end -2.5 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 3.645 -2.33) (end 3.645 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 7.255 -2.33) (end 7.255 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.62 -2.451) (end 13.52 -2.451) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 2.82) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 -2.451) (end -2.62 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 13.52 -2.451) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 3.646 -2.451) (end 3.646 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 7.255 -2.451) (end 7.255 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.75 -2.59) (end -2.75 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.75 2.95) (end 13.65 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 2.95) (end 13.65 -2.59) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 -2.59) (end -2.75 -2.59) (layer F.CrtYd) (width 0.05))
+ (pad 3 thru_hole oval (at 10.9 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 12 "Net-(Q4-Pad3)"))
+ (pad 2 thru_hole oval (at 5.45 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 11 +5V))
+ (pad 1 thru_hole rect (at 0 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 5 /col2))
+ (model ${KISYS3DMOD}/Package_TO_SOT_THT.3dshapes/TO-247-3_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Package_TO_SOT_THT:TO-247-3_Vertical (layer F.Cu) (tedit 5AC86DC3) (tstamp 5F3821C8)
+ (at 112.34 84.71)
+ (descr "TO-247-3, Vertical, RM 5.45mm, see https://toshiba.semicon-storage.com/us/product/mosfet/to-247-4l.html")
+ (tags "TO-247-3 Vertical RM 5.45mm")
+ (path /5F3AA8C7)
+ (fp_text reference Q3 (at 5.45 -3.45) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value Q_NPN_BCE (at 5.45 3.95) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 5.45 -3.45) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -2.5 -2.33) (end -2.5 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.5 2.7) (end 13.4 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 2.7) (end 13.4 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 -2.33) (end -2.5 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 3.645 -2.33) (end 3.645 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 7.255 -2.33) (end 7.255 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.62 -2.451) (end 13.52 -2.451) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 2.82) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 -2.451) (end -2.62 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 13.52 -2.451) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 3.646 -2.451) (end 3.646 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 7.255 -2.451) (end 7.255 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.75 -2.59) (end -2.75 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.75 2.95) (end 13.65 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 2.95) (end 13.65 -2.59) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 -2.59) (end -2.75 -2.59) (layer F.CrtYd) (width 0.05))
+ (pad 3 thru_hole oval (at 10.9 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 10 "Net-(Q3-Pad3)"))
+ (pad 2 thru_hole oval (at 5.45 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 11 +5V))
+ (pad 1 thru_hole rect (at 0 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 6 /col1))
+ (model ${KISYS3DMOD}/Package_TO_SOT_THT.3dshapes/TO-247-3_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Package_TO_SOT_THT:TO-247-3_Vertical (layer F.Cu) (tedit 5AC86DC3) (tstamp 5F3821B0)
+ (at 94.89 91.3)
+ (descr "TO-247-3, Vertical, RM 5.45mm, see https://toshiba.semicon-storage.com/us/product/mosfet/to-247-4l.html")
+ (tags "TO-247-3 Vertical RM 5.45mm")
+ (path /5F3AC2D4)
+ (fp_text reference Q2 (at 5.45 -3.45) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value Q_NPN_BCE (at 5.45 3.95) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 5.45 -3.45) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -2.5 -2.33) (end -2.5 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.5 2.7) (end 13.4 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 2.7) (end 13.4 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 -2.33) (end -2.5 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 3.645 -2.33) (end 3.645 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 7.255 -2.33) (end 7.255 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.62 -2.451) (end 13.52 -2.451) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 2.82) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 -2.451) (end -2.62 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 13.52 -2.451) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 3.646 -2.451) (end 3.646 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 7.255 -2.451) (end 7.255 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.75 -2.59) (end -2.75 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.75 2.95) (end 13.65 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 2.95) (end 13.65 -2.59) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 -2.59) (end -2.75 -2.59) (layer F.CrtYd) (width 0.05))
+ (pad 3 thru_hole oval (at 10.9 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 7 GND))
+ (pad 2 thru_hole oval (at 5.45 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 9 "Net-(Q2-Pad2)"))
+ (pad 1 thru_hole rect (at 0 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 3 /row2))
+ (model ${KISYS3DMOD}/Package_TO_SOT_THT.3dshapes/TO-247-3_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Package_TO_SOT_THT:TO-247-3_Vertical (layer F.Cu) (tedit 5AC86DC3) (tstamp 5F382198)
+ (at 94.89 84.71)
+ (descr "TO-247-3, Vertical, RM 5.45mm, see https://toshiba.semicon-storage.com/us/product/mosfet/to-247-4l.html")
+ (tags "TO-247-3 Vertical RM 5.45mm")
+ (path /5F3ABC32)
+ (fp_text reference Q1 (at 5.45 -3.45) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value Q_NPN_BCE (at 5.45 3.95) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 5.45 -3.45) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -2.5 -2.33) (end -2.5 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.5 2.7) (end 13.4 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 2.7) (end 13.4 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 13.4 -2.33) (end -2.5 -2.33) (layer F.Fab) (width 0.1))
+ (fp_line (start 3.645 -2.33) (end 3.645 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start 7.255 -2.33) (end 7.255 2.7) (layer F.Fab) (width 0.1))
+ (fp_line (start -2.62 -2.451) (end 13.52 -2.451) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 2.82) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.62 -2.451) (end -2.62 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 13.52 -2.451) (end 13.52 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 3.646 -2.451) (end 3.646 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start 7.255 -2.451) (end 7.255 2.82) (layer F.SilkS) (width 0.12))
+ (fp_line (start -2.75 -2.59) (end -2.75 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -2.75 2.95) (end 13.65 2.95) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 2.95) (end 13.65 -2.59) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 13.65 -2.59) (end -2.75 -2.59) (layer F.CrtYd) (width 0.05))
+ (pad 3 thru_hole oval (at 10.9 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 7 GND))
+ (pad 2 thru_hole oval (at 5.45 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 8 "Net-(Q1-Pad2)"))
+ (pad 1 thru_hole rect (at 0 0) (size 2.5 4.5) (drill 1.5) (layers *.Cu *.Mask)
+ (net 4 /row1))
+ (model ${KISYS3DMOD}/Package_TO_SOT_THT.3dshapes/TO-247-3_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (module Connector_Molex:Molex_CLIK-Mate_502382-0670_1x06-1MP_P1.25mm_Vertical (layer F.Cu) (tedit 5B78AD89) (tstamp 5F382180)
+ (at 115.57 92.71)
+ (descr "Molex CLIK-Mate series connector, 502382-0670 (http://www.molex.com/pdm_docs/sd/5023820270_sd.pdf), generated with kicad-footprint-generator")
+ (tags "connector Molex CLIK-Mate side entry")
+ (path /5F3A336D)
+ (attr smd)
+ (fp_text reference J1 (at 0 -4.7) (layer F.SilkS)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text value Conn_01x06_Male (at 0 4) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_text user %R (at 0 -0.77) (layer F.Fab)
+ (effects (font (size 1 1) (thickness 0.15)))
+ )
+ (fp_line (start -5.425 1.95) (end 5.425 1.95) (layer F.Fab) (width 0.1))
+ (fp_line (start -5.535 0.26) (end -5.535 2.06) (layer F.SilkS) (width 0.12))
+ (fp_line (start -5.535 2.06) (end -3.685 2.06) (layer F.SilkS) (width 0.12))
+ (fp_line (start -3.685 2.06) (end -3.685 2.8) (layer F.SilkS) (width 0.12))
+ (fp_line (start 5.535 0.26) (end 5.535 2.06) (layer F.SilkS) (width 0.12))
+ (fp_line (start 5.535 2.06) (end 3.685 2.06) (layer F.SilkS) (width 0.12))
+ (fp_line (start -5.535 -3.06) (end -5.535 -3.61) (layer F.SilkS) (width 0.12))
+ (fp_line (start -5.535 -3.61) (end 5.535 -3.61) (layer F.SilkS) (width 0.12))
+ (fp_line (start 5.535 -3.61) (end 5.535 -3.06) (layer F.SilkS) (width 0.12))
+ (fp_line (start -5.425 -3.5) (end 5.425 -3.5) (layer F.Fab) (width 0.1))
+ (fp_line (start -5.425 1.95) (end -5.425 -3.5) (layer F.Fab) (width 0.1))
+ (fp_line (start 5.425 1.95) (end 5.425 -3.5) (layer F.Fab) (width 0.1))
+ (fp_line (start -5.98 -4) (end -5.98 3.3) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -5.98 3.3) (end 5.98 3.3) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 5.98 3.3) (end 5.98 -4) (layer F.CrtYd) (width 0.05))
+ (fp_line (start 5.98 -4) (end -5.98 -4) (layer F.CrtYd) (width 0.05))
+ (fp_line (start -3.625 1.95) (end -3.125 1.242893) (layer F.Fab) (width 0.1))
+ (fp_line (start -3.125 1.242893) (end -2.625 1.95) (layer F.Fab) (width 0.1))
+ (pad MP smd roundrect (at 4.975 -1.4) (size 1 2.8) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
+ (pad MP smd roundrect (at -4.975 -1.4) (size 1 2.8) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
+ (pad 6 smd roundrect (at 3.125 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 1 /sense2))
+ (pad 5 smd roundrect (at 1.875 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 2 /sense1))
+ (pad 4 smd roundrect (at 0.625 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 3 /row2))
+ (pad 3 smd roundrect (at -0.625 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 4 /row1))
+ (pad 2 smd roundrect (at -1.875 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 5 /col2))
+ (pad 1 smd roundrect (at -3.125 1.95) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
+ (net 6 /col1))
+ (model ${KISYS3DMOD}/Connector_Molex.3dshapes/Molex_CLIK-Mate_502382-0670_1x06-1MP_P1.25mm_Vertical.wrl
+ (at (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+)
diff --git a/lego-piano.pro b/lego-piano.pro
new file mode 100644
index 0000000..6658f28
--- /dev/null
+++ b/lego-piano.pro
@@ -0,0 +1,248 @@
+update=Sat 15 Aug 2020 12:40:14 PM BST
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+[pcbnew]
+version=1
+PageLayoutDescrFile=
+LastNetListRead=
+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
+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.05
+SolderMaskMinWidth=0
+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=0
+[pcbnew/Layer.F.Adhes]
+Enabled=1
+[pcbnew/Layer.B.Paste]
+Enabled=0
+[pcbnew/Layer.F.Paste]
+Enabled=1
+[pcbnew/Layer.B.SilkS]
+Enabled=0
+[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=0
+[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
+[schematic_editor]
+version=1
+PageLayoutDescrFile=
+PlotDirectoryName=/tmp/
+SubpartIdSeparator=0
+SubpartFirstId=65
+NetFmtName=Pcbnew
+SpiceAjustPassiveValues=0
+LabSize=50
+ERC_TestSimilarLabels=1
diff --git a/lego-piano.sch b/lego-piano.sch
new file mode 100644
index 0000000..9cde0c5
--- /dev/null
+++ b/lego-piano.sch
@@ -0,0 +1,348 @@
+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 Sensor_Proximity:QRE1113 U4
+U 1 1 5F37E0E5
+P 5800 3250
+F 0 "U4" H 5800 3567 50 0000 C CNN
+F 1 "QRE1113" H 5800 3476 50 0000 C CNN
+F 2 "OptoDevice:OnSemi_CASE100CY" H 5800 3050 50 0001 C CNN
+F 3 "http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF" H 5800 3350 50 0001 C CNN
+ 1 5800 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L Sensor_Proximity:QRE1113 U2
+U 1 1 5F37F0DD
+P 2550 5300
+F 0 "U2" H 2550 5617 50 0000 C CNN
+F 1 "QRE1113" H 2550 5526 50 0000 C CNN
+F 2 "OptoDevice:OnSemi_CASE100CY" H 2550 5100 50 0001 C CNN
+F 3 "http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF" H 2550 5400 50 0001 C CNN
+ 1 2550 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L Sensor_Proximity:QRE1113 U3
+U 1 1 5F380254
+P 5750 5150
+F 0 "U3" H 5750 5467 50 0000 C CNN
+F 1 "QRE1113" H 5750 5376 50 0000 C CNN
+F 2 "OptoDevice:OnSemi_CASE100CY" H 5750 4950 50 0001 C CNN
+F 3 "http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF" H 5750 5250 50 0001 C CNN
+ 1 5750 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L power:+5V #PWR01
+U 1 1 5F380F95
+P 4100 1050
+F 0 "#PWR01" H 4100 900 50 0001 C CNN
+F 1 "+5V" H 4115 1223 50 0000 C CNN
+F 2 "" H 4100 1050 50 0001 C CNN
+F 3 "" H 4100 1050 50 0001 C CNN
+ 1 4100 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L power:GND #PWR02
+U 1 1 5F3813EA
+P 4500 7500
+F 0 "#PWR02" H 4500 7250 50 0001 C CNN
+F 1 "GND" H 4505 7327 50 0000 C CNN
+F 2 "" H 4500 7500 50 0001 C CNN
+F 3 "" H 4500 7500 50 0001 C CNN
+ 1 4500 7500
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:R R1
+U 1 1 5F383F48
+P 2050 2700
+F 0 "R1" H 2120 2746 50 0000 L CNN
+F 1 "330" H 2120 2655 50 0000 L CNN
+F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical" V 1980 2700 50 0001 C CNN
+F 3 "~" H 2050 2700 50 0001 C CNN
+ 1 2050 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:R R3
+U 1 1 5F38475D
+P 5300 2850
+F 0 "R3" H 5370 2896 50 0000 L CNN
+F 1 "330" H 5370 2805 50 0000 L CNN
+F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical" V 5230 2850 50 0001 C CNN
+F 3 "~" H 5300 2850 50 0001 C CNN
+ 1 5300 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:R R2
+U 1 1 5F384DD2
+P 2900 2700
+F 0 "R2" H 2970 2746 50 0000 L CNN
+F 1 "10k" H 2970 2655 50 0000 L CNN
+F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical" V 2830 2700 50 0001 C CNN
+F 3 "~" H 2900 2700 50 0001 C CNN
+ 1 2900 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:R R4
+U 1 1 5F3851E4
+P 6200 2800
+F 0 "R4" H 6270 2846 50 0000 L CNN
+F 1 "10k" H 6270 2755 50 0000 L CNN
+F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical" V 6130 2800 50 0001 C CNN
+F 3 "~" H 6200 2800 50 0001 C CNN
+ 1 6200 2800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4100 1050 2800 1900
+Connection ~ 4100 1050
+Wire Wire Line
+ 2900 2850 2750 3200
+Wire Wire Line
+ 2050 3200 2150 3200
+Wire Wire Line
+ 2800 2300 2900 2550
+Wire Wire Line
+ 2800 2300 2050 2550
+Wire Wire Line
+ 5950 2550 6200 2650
+Wire Wire Line
+ 5950 2550 5300 2700
+Wire Wire Line
+ 5300 3000 5500 3000
+Wire Wire Line
+ 5500 3000 5500 3150
+Wire Wire Line
+ 6200 2950 6200 3150
+Wire Wire Line
+ 6200 3150 6100 3150
+$Comp
+L Sensor_Proximity:QRE1113 U1
+U 1 1 5F37C030
+P 2450 3300
+F 0 "U1" H 2450 3617 50 0000 C CNN
+F 1 "QRE1113" H 2450 3526 50 0000 C CNN
+F 2 "OptoDevice:OnSemi_CASE100CY" H 2450 3100 50 0001 C CNN
+F 3 "http://www.onsemi.com/pub/Collateral/QRE1113-D.PDF" H 2450 3400 50 0001 C CNN
+ 1 2450 3300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2150 3400 1800 3400
+Wire Wire Line
+ 1800 3400 1800 3700
+Wire Wire Line
+ 2750 3400 2750 3700
+Wire Wire Line
+ 4500 4100 4500 6200
+Connection ~ 4500 6200
+Wire Wire Line
+ 4500 6200 4500 7500
+Wire Wire Line
+ 2050 5200 2250 5200
+Wire Wire Line
+ 2050 2850 2050 3200
+Connection ~ 2050 3200
+Wire Wire Line
+ 2900 2850 2900 5200
+Wire Wire Line
+ 2900 5200 2850 5200
+Connection ~ 2900 2850
+Wire Wire Line
+ 5300 3000 5300 5050
+Wire Wire Line
+ 5300 5050 5450 5050
+Connection ~ 5300 3000
+Wire Wire Line
+ 6200 3150 6200 5050
+Wire Wire Line
+ 6200 5050 6050 5050
+Connection ~ 6200 3150
+Wire Wire Line
+ 2250 5400 1800 5800
+Wire Wire Line
+ 1800 5800 1800 5850
+Wire Wire Line
+ 2850 5400 2850 5800
+Wire Wire Line
+ 5450 5800 5450 5250
+Connection ~ 2850 5800
+Wire Wire Line
+ 2850 5800 5450 5800
+Wire Wire Line
+ 6050 5800 6050 5250
+Connection ~ 5450 5800
+Wire Wire Line
+ 5450 5800 6050 5800
+Wire Wire Line
+ 5500 3700 5500 3350
+Connection ~ 2750 3700
+Wire Wire Line
+ 2750 3700 5500 3700
+Wire Wire Line
+ 6100 3700 6100 3350
+Connection ~ 5500 3700
+Wire Wire Line
+ 5500 3700 6100 3700
+Wire Wire Line
+ 2900 2850 3550 2850
+Wire Wire Line
+ 6200 3150 7000 3150
+Wire Wire Line
+ 5650 2350 5050 2000
+Wire Wire Line
+ 2500 2100 2500 1600
+Wire Wire Line
+ 1500 3900 1500 3600
+Wire Wire Line
+ 1500 6000 1500 5650
+Text Label 5050 2000 0 50 ~ 0
+col2
+Text Label 2500 1600 0 50 ~ 0
+col1
+Text Label 1500 3600 0 50 ~ 0
+row1
+Text Label 1500 5650 0 50 ~ 0
+row2
+Text Label 3550 2850 0 50 ~ 0
+sense1
+Text Label 7000 3150 0 50 ~ 0
+sense2
+$Comp
+L power:PWR_FLAG #FLG01
+U 1 1 5F3A1D92
+P 4100 1050
+F 0 "#FLG01" H 4100 1125 50 0001 C CNN
+F 1 "PWR_FLAG" H 4100 1223 50 0000 C CNN
+F 2 "" H 4100 1050 50 0001 C CNN
+F 3 "~" H 4100 1050 50 0001 C CNN
+ 1 4100 1050
+ -1 0 0 1
+$EndComp
+$Comp
+L power:PWR_FLAG #FLG02
+U 1 1 5F3A2428
+P 4500 7500
+F 0 "#FLG02" H 4500 7575 50 0001 C CNN
+F 1 "PWR_FLAG" H 4500 7673 50 0000 C CNN
+F 2 "" H 4500 7500 50 0001 C CNN
+F 3 "~" H 4500 7500 50 0001 C CNN
+ 1 4500 7500
+ 1 0 0 -1
+$EndComp
+Connection ~ 4500 7500
+$Comp
+L Connector:Conn_01x06_Male J1
+U 1 1 5F3A336D
+P 6950 4300
+F 0 "J1" H 7058 4681 50 0000 C CNN
+F 1 "Conn_01x06_Male" H 7058 4590 50 0000 C CNN
+F 2 "Connector_Molex:Molex_CLIK-Mate_502382-0670_1x06-1MP_P1.25mm_Vertical" H 6950 4300 50 0001 C CNN
+F 3 "~" H 6950 4300 50 0001 C CNN
+ 1 6950 4300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7150 4100 7700 4100
+Wire Wire Line
+ 7150 4200 7750 4200
+Wire Wire Line
+ 7150 4300 7650 4300
+Wire Wire Line
+ 7150 4400 7650 4400
+Wire Wire Line
+ 7150 4500 7650 4500
+Wire Wire Line
+ 7150 4600 7650 4600
+Text Label 7700 4100 0 50 ~ 0
+col1
+Text Label 7750 4200 0 50 ~ 0
+col2
+Text Label 7650 4300 0 50 ~ 0
+row1
+Text Label 7650 4400 0 50 ~ 0
+row2
+Text Label 7650 4500 0 50 ~ 0
+sense1
+Text Label 7650 4600 0 50 ~ 0
+sense2
+$Comp
+L Device:Q_NPN_BCE Q3
+U 1 1 5F3AA8C7
+P 2700 2100
+F 0 "Q3" H 2891 2146 50 0000 L CNN
+F 1 "Q_NPN_BCE" H 2891 2055 50 0000 L CNN
+F 2 "Package_TO_SOT_THT:TO-247-3_Vertical" H 2900 2200 50 0001 C CNN
+F 3 "~" H 2700 2100 50 0001 C CNN
+ 1 2700 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:Q_NPN_BCE Q4
+U 1 1 5F3AB055
+P 5850 2350
+F 0 "Q4" H 6041 2396 50 0000 L CNN
+F 1 "Q_NPN_BCE" H 6041 2305 50 0000 L CNN
+F 2 "Package_TO_SOT_THT:TO-247-3_Vertical" H 6050 2450 50 0001 C CNN
+F 3 "~" H 5850 2350 50 0001 C CNN
+ 1 5850 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:Q_NPN_BCE Q1
+U 1 1 5F3ABC32
+P 1700 3900
+F 0 "Q1" H 1891 3946 50 0000 L CNN
+F 1 "Q_NPN_BCE" H 1891 3855 50 0000 L CNN
+F 2 "Package_TO_SOT_THT:TO-247-3_Vertical" H 1900 4000 50 0001 C CNN
+F 3 "~" H 1700 3900 50 0001 C CNN
+ 1 1700 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:Q_NPN_BCE Q2
+U 1 1 5F3AC2D4
+P 1700 6000
+F 0 "Q2" H 1891 6046 50 0000 L CNN
+F 1 "Q_NPN_BCE" H 1891 5955 50 0000 L CNN
+F 2 "Package_TO_SOT_THT:TO-247-3_Vertical" H 1900 6100 50 0001 C CNN
+F 3 "~" H 1700 6000 50 0001 C CNN
+ 1 1700 6000
+ 1 0 0 -1
+$EndComp
+Connection ~ 5950 2550
+Connection ~ 2800 2300
+Connection ~ 1800 3700
+Connection ~ 1800 5800
+Wire Wire Line
+ 1800 3700 2750 3700
+Wire Wire Line
+ 1800 4100 4500 4100
+Wire Wire Line
+ 1800 6200 4500 6200
+Wire Wire Line
+ 2050 3200 2050 5200
+Wire Wire Line
+ 1800 5800 2850 5800
+Wire Wire Line
+ 4100 1050 5950 2150
+$EndSCHEMATC