aboutsummaryrefslogtreecommitdiff
path: root/lego-piano.sch
diff options
context:
space:
mode:
Diffstat (limited to 'lego-piano.sch')
-rw-r--r--lego-piano.sch348
1 files changed, 348 insertions, 0 deletions
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