summaryrefslogtreecommitdiff
path: root/rev-a/esp8266-io-board.sch
diff options
context:
space:
mode:
Diffstat (limited to 'rev-a/esp8266-io-board.sch')
-rw-r--r--rev-a/esp8266-io-board.sch1039
1 files changed, 1039 insertions, 0 deletions
diff --git a/rev-a/esp8266-io-board.sch b/rev-a/esp8266-io-board.sch
new file mode 100644
index 0000000..34cac33
--- /dev/null
+++ b/rev-a/esp8266-io-board.sch
@@ -0,0 +1,1039 @@
+EESchema Schematic File Version 2
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:valves
+LIBS:nodemcu
+LIBS:REG101
+LIBS:ESP8266
+LIBS:BQ21040
+LIBS:esp8266-io-board-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L ESP-12E U1
+U 1 1 57D85F22
+P 3600 2600
+F 0 "U1" H 3600 2500 50 0000 C CNN
+F 1 "ESP-12E" H 3600 2700 50 0000 C CNN
+F 2 "ESP8266:ESP-12E" H 3600 2600 50 0001 C CNN
+F 3 "" H 3600 2600 50 0001 C CNN
+ 1 3600 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L ULN2003 U2
+U 1 1 57D865D5
+P 7250 1400
+F 0 "U2" H 7250 1500 50 0000 C CNN
+F 1 "ULN2003" H 7250 1300 50 0000 C CNN
+F 2 "Housings_SSOP:SSOP-16_3.9x4.9mm_Pitch0.635mm" H 7250 1400 50 0001 C CNN
+F 3 "" H 7250 1400 50 0000 C CNN
+ 1 7250 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR01
+U 1 1 57D86674
+P 8000 1900
+F 0 "#PWR01" H 8000 1650 50 0001 C CNN
+F 1 "GND" H 8000 1750 50 0000 C CNN
+F 2 "" H 8000 1900 50 0000 C CNN
+F 3 "" H 8000 1900 50 0000 C CNN
+ 1 8000 1900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7900 1800 8000 1800
+Wire Wire Line
+ 8000 1800 8000 1900
+$Comp
+L CONN_01X04 P10
+U 1 1 57D866E9
+P 7850 3350
+F 0 "P10" H 7850 3550 50 0000 C CNN
+F 1 "Serial" V 7950 3350 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 7850 3350 50 0001 C CNN
+F 3 "" H 7850 3350 50 0000 C CNN
+ 1 7850 3350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4500 2300 4900 2300
+Wire Wire Line
+ 4500 2400 4900 2400
+Entry Wire Line
+ 4900 2300 5000 2400
+Entry Wire Line
+ 4900 2400 5000 2500
+Wire Bus Line
+ 5000 3850 5000 3000
+Wire Bus Line
+ 5000 3000 5000 2900
+Wire Bus Line
+ 5000 2900 5000 2800
+Wire Bus Line
+ 5000 2800 5000 2700
+Wire Bus Line
+ 5000 2700 5000 2600
+Wire Bus Line
+ 5000 2600 5000 2500
+Wire Bus Line
+ 5000 2500 5000 2400
+Wire Bus Line
+ 5000 2400 5000 2300
+Wire Wire Line
+ 2700 2300 2300 2300
+Entry Wire Line
+ 2200 2400 2300 2300
+Wire Wire Line
+ 4500 3000 4600 3000
+Wire Wire Line
+ 4600 3000 4600 3100
+$Comp
+L GND #PWR02
+U 1 1 57D868BA
+P 4600 3100
+F 0 "#PWR02" H 4600 2850 50 0001 C CNN
+F 1 "GND" H 4600 2950 50 0000 C CNN
+F 2 "" H 4600 3100 50 0000 C CNN
+F 3 "" H 4600 3100 50 0000 C CNN
+ 1 4600 3100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2700 3000 2600 3000
+Wire Wire Line
+ 2600 3000 2600 1700
+$Comp
+L +3V3 #PWR03
+U 1 1 57D868E3
+P 2600 1700
+F 0 "#PWR03" H 2600 1550 50 0001 C CNN
+F 1 "+3V3" H 2600 1840 50 0000 C CNN
+F 2 "" H 2600 1700 50 0000 C CNN
+F 3 "" H 2600 1700 50 0000 C CNN
+ 1 2600 1700
+ 1 0 0 -1
+$EndComp
+Wire Bus Line
+ 2200 2300 2200 2400
+Wire Bus Line
+ 2200 2400 2200 2600
+Wire Bus Line
+ 2200 2600 2200 2700
+Wire Bus Line
+ 2200 2700 2200 2800
+Wire Bus Line
+ 2200 2800 2200 2900
+Wire Bus Line
+ 2200 2900 2200 3000
+Wire Bus Line
+ 2200 3000 2200 3850
+Wire Bus Line
+ 2200 3850 3450 3850
+Wire Bus Line
+ 3450 3850 3550 3850
+Wire Bus Line
+ 3550 3850 5000 3850
+Wire Wire Line
+ 3550 3500 3550 3750
+Wire Wire Line
+ 3650 3500 3650 3750
+Text Label 4500 2300 0 60 ~ 0
+TX
+Text Label 4500 2400 0 60 ~ 0
+RX
+Wire Wire Line
+ 7300 3200 7650 3200
+Wire Wire Line
+ 7650 3300 7300 3300
+Entry Wire Line
+ 7200 3300 7300 3200
+Entry Wire Line
+ 7200 3400 7300 3300
+Wire Bus Line
+ 7200 3100 7200 3300
+Wire Bus Line
+ 7200 3300 7200 3400
+Wire Bus Line
+ 7200 3400 7200 3500
+Wire Bus Line
+ 7200 3500 7200 3600
+Text Label 7650 3300 2 60 ~ 0
+RX
+Text Label 7650 3200 2 60 ~ 0
+TX
+Wire Bus Line
+ 6200 1000 6200 1100
+Wire Bus Line
+ 6200 1100 6200 1200
+Wire Bus Line
+ 6200 1200 6200 1300
+Wire Bus Line
+ 6200 1300 6200 1400
+Wire Bus Line
+ 6200 1400 6200 1500
+Wire Bus Line
+ 6200 1500 6200 1800
+Wire Wire Line
+ 6600 1000 6300 1000
+Entry Wire Line
+ 6200 1100 6300 1000
+Entry Wire Line
+ 6200 1200 6300 1100
+Entry Wire Line
+ 6200 1300 6300 1200
+Entry Wire Line
+ 6200 1400 6300 1300
+Entry Wire Line
+ 6200 1500 6300 1400
+Wire Wire Line
+ 6300 1100 6600 1100
+Wire Wire Line
+ 6300 1200 6600 1200
+Wire Wire Line
+ 6300 1300 6600 1300
+Wire Wire Line
+ 6300 1400 6600 1400
+Text Label 6300 1400 0 60 ~ 0
+LED_1
+Text Label 6300 1300 0 60 ~ 0
+LED_2
+Text Label 6300 1100 0 60 ~ 0
+LED_4
+Text Label 6300 1200 0 60 ~ 0
+LED_3
+Text Label 6300 1000 0 60 ~ 0
+LED_5
+Wire Wire Line
+ 7900 1000 8500 1000
+Wire Wire Line
+ 7900 1100 8500 1100
+Wire Wire Line
+ 7900 1200 8500 1200
+Wire Wire Line
+ 7900 1300 8500 1300
+Wire Wire Line
+ 7900 1400 8500 1400
+Entry Wire Line
+ 8500 1000 8600 1100
+Entry Wire Line
+ 8500 1100 8600 1200
+Entry Wire Line
+ 8500 1200 8600 1300
+Entry Wire Line
+ 8500 1300 8600 1400
+Entry Wire Line
+ 8500 1400 8600 1500
+Wire Bus Line
+ 8600 1000 8600 1100
+Wire Bus Line
+ 8600 1100 8600 1200
+Wire Bus Line
+ 8600 1200 8600 1300
+Wire Bus Line
+ 8600 1300 8600 1400
+Wire Bus Line
+ 8600 1400 8600 1500
+Wire Bus Line
+ 8600 1500 8600 1900
+Text Label 7900 1400 0 60 ~ 0
+LED_1_OUT
+Text Label 7900 1300 0 60 ~ 0
+LED_2_OUT
+Text Label 7900 1200 0 60 ~ 0
+LED_3_OUT
+Text Label 7900 1100 0 60 ~ 0
+LED_4_OUT
+Text Label 7900 1000 0 60 ~ 0
+LED_5_OUT
+NoConn ~ 7900 1600
+NoConn ~ 6600 1600
+NoConn ~ 7900 1500
+NoConn ~ 6600 1500
+Wire Wire Line
+ 4500 2500 4900 2500
+Wire Wire Line
+ 4500 2600 4900 2600
+Wire Wire Line
+ 4500 2700 4900 2700
+Wire Wire Line
+ 4500 2800 4900 2800
+Wire Wire Line
+ 4500 2900 4900 2900
+Entry Wire Line
+ 4900 2500 5000 2600
+Entry Wire Line
+ 4900 2600 5000 2700
+Entry Wire Line
+ 4900 2700 5000 2800
+Entry Wire Line
+ 4900 2800 5000 2900
+Entry Wire Line
+ 4900 2900 5000 3000
+Text Label 4500 2500 0 60 ~ 0
+LED_1
+Text Label 4500 2600 0 60 ~ 0
+LED_2
+Text Label 4500 2700 0 60 ~ 0
+LED_3
+Text Label 4500 2800 0 60 ~ 0
+LED_4
+Text Label 4500 2900 0 60 ~ 0
+LED_5
+$Comp
+L GND #PWR04
+U 1 1 57D87320
+P 7550 3600
+F 0 "#PWR04" H 7550 3350 50 0001 C CNN
+F 1 "GND" H 7550 3450 50 0000 C CNN
+F 2 "" H 7550 3600 50 0000 C CNN
+F 3 "" H 7550 3600 50 0000 C CNN
+ 1 7550 3600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7650 3500 7550 3500
+Wire Wire Line
+ 7550 3500 7550 3600
+$Comp
+L CONN_01X04 P1
+U 1 1 57D87560
+P 10800 1750
+F 0 "P1" H 10800 2000 50 0000 C CNN
+F 1 "Button 1" V 10900 1750 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 10800 1750 50 0001 C CNN
+F 3 "" H 10800 1750 50 0000 C CNN
+ 1 10800 1750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10600 1600 10400 1600
+$Comp
+L +3V3 #PWR05
+U 1 1 57D8787F
+P 9700 1000
+F 0 "#PWR05" H 9700 850 50 0001 C CNN
+F 1 "+3V3" H 9700 1140 50 0000 C CNN
+F 2 "" H 9700 1000 50 0000 C CNN
+F 3 "" H 9700 1000 50 0000 C CNN
+ 1 9700 1000
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 57D8789B
+P 10400 1350
+F 0 "R2" V 10480 1350 50 0000 C CNN
+F 1 "100" V 10400 1350 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10330 1350 50 0001 C CNN
+F 3 "" H 10400 1350 50 0000 C CNN
+ 1 10400 1350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10000 1700 10600 1700
+Wire Wire Line
+ 10400 1600 10400 1500
+Text Label 10600 1700 2 60 ~ 0
+LED_1_OUT
+$Comp
+L R R1
+U 1 1 57D87ECC
+P 10100 1350
+F 0 "R1" V 10180 1350 50 0000 C CNN
+F 1 "100" V 10100 1350 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10030 1350 50 0001 C CNN
+F 3 "" H 10100 1350 50 0000 C CNN
+ 1 10100 1350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9700 1100 10100 1100
+Wire Wire Line
+ 10100 1100 10400 1100
+Wire Wire Line
+ 10100 1100 10100 1200
+Wire Wire Line
+ 10100 1800 10600 1800
+Wire Wire Line
+ 10000 1900 10600 1900
+Text Label 10600 1900 2 60 ~ 0
+BTN_1
+Entry Wire Line
+ 9900 1800 10000 1700
+Entry Wire Line
+ 9900 2000 10000 1900
+Wire Wire Line
+ 2700 2600 2300 2600
+Entry Wire Line
+ 2200 2700 2300 2600
+Text Label 2300 2600 0 60 ~ 0
+BTN_1
+$Comp
+L CONN_01X04 P2
+U 1 1 57D8F552
+P 10800 2850
+F 0 "P2" H 10800 3100 50 0000 C CNN
+F 1 "Button 2" V 10900 2850 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 10800 2850 50 0001 C CNN
+F 3 "" H 10800 2850 50 0000 C CNN
+ 1 10800 2850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10600 2700 10400 2700
+$Comp
+L R R4
+U 1 1 57D8F55F
+P 10400 2450
+F 0 "R4" V 10480 2450 50 0000 C CNN
+F 1 "100" V 10400 2450 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10330 2450 50 0001 C CNN
+F 3 "" H 10400 2450 50 0000 C CNN
+ 1 10400 2450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10000 2800 10600 2800
+Wire Wire Line
+ 10400 2700 10400 2600
+Wire Wire Line
+ 10400 2200 10400 2300
+Text Label 10600 2800 2 60 ~ 0
+LED_2_OUT
+$Comp
+L R R3
+U 1 1 57D8F56B
+P 10100 2450
+F 0 "R3" V 10180 2450 50 0000 C CNN
+F 1 "100" V 10100 2450 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10030 2450 50 0001 C CNN
+F 3 "" H 10100 2450 50 0000 C CNN
+ 1 10100 2450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9700 2200 10100 2200
+Wire Wire Line
+ 10100 2200 10400 2200
+Wire Wire Line
+ 10100 2200 10100 2300
+Wire Wire Line
+ 10100 2600 10100 2900
+Wire Wire Line
+ 10000 3000 10600 3000
+Text Label 10600 3000 2 60 ~ 0
+BTN_2
+Entry Wire Line
+ 9900 2900 10000 2800
+Entry Wire Line
+ 9900 3100 10000 3000
+$Comp
+L CONN_01X04 P3
+U 1 1 57D8F8F6
+P 10800 3950
+F 0 "P3" H 10800 4200 50 0000 C CNN
+F 1 "Button 3" V 10900 3950 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 10800 3950 50 0001 C CNN
+F 3 "" H 10800 3950 50 0000 C CNN
+ 1 10800 3950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10600 3800 10400 3800
+$Comp
+L R R6
+U 1 1 57D8F903
+P 10400 3550
+F 0 "R6" V 10480 3550 50 0000 C CNN
+F 1 "100" V 10400 3550 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10330 3550 50 0001 C CNN
+F 3 "" H 10400 3550 50 0000 C CNN
+ 1 10400 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10000 3900 10600 3900
+Wire Wire Line
+ 10400 3800 10400 3700
+Text Label 10600 3900 2 60 ~ 0
+LED_3_OUT
+$Comp
+L R R5
+U 1 1 57D8F90F
+P 10100 3550
+F 0 "R5" V 10180 3550 50 0000 C CNN
+F 1 "100" V 10100 3550 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10030 3550 50 0001 C CNN
+F 3 "" H 10100 3550 50 0000 C CNN
+ 1 10100 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9700 3300 10100 3300
+Wire Wire Line
+ 10100 3300 10400 3300
+Wire Wire Line
+ 10100 3300 10100 3400
+Wire Wire Line
+ 10100 3700 10100 4000
+Wire Wire Line
+ 10000 4100 10600 4100
+Text Label 10600 4100 2 60 ~ 0
+BTN_3
+Entry Wire Line
+ 9900 4000 10000 3900
+Entry Wire Line
+ 9900 4200 10000 4100
+$Comp
+L CONN_01X04 P4
+U 1 1 57D8F9C3
+P 10800 5050
+F 0 "P4" H 10800 5300 50 0000 C CNN
+F 1 "Button 4" V 10900 5050 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 10800 5050 50 0001 C CNN
+F 3 "" H 10800 5050 50 0000 C CNN
+ 1 10800 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10600 4900 10400 4900
+$Comp
+L R R8
+U 1 1 57D8F9D0
+P 10400 4650
+F 0 "R8" V 10480 4650 50 0000 C CNN
+F 1 "100" V 10400 4650 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10330 4650 50 0001 C CNN
+F 3 "" H 10400 4650 50 0000 C CNN
+ 1 10400 4650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10000 5000 10600 5000
+Wire Wire Line
+ 10400 4900 10400 4800
+Text Label 10600 5000 2 60 ~ 0
+LED_4_OUT
+$Comp
+L R R7
+U 1 1 57D8F9DC
+P 10100 4650
+F 0 "R7" V 10180 4650 50 0000 C CNN
+F 1 "100" V 10100 4650 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10030 4650 50 0001 C CNN
+F 3 "" H 10100 4650 50 0000 C CNN
+ 1 10100 4650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9700 4400 10100 4400
+Wire Wire Line
+ 10100 4400 10400 4400
+Wire Wire Line
+ 10100 4400 10100 4500
+Wire Wire Line
+ 10100 5100 10600 5100
+Wire Wire Line
+ 10000 5200 10600 5200
+Text Label 10600 5200 2 60 ~ 0
+BTN_4
+Entry Wire Line
+ 9900 5100 10000 5000
+Entry Wire Line
+ 9900 5300 10000 5200
+$Comp
+L CONN_01X04 P5
+U 1 1 57D8FE92
+P 10800 6150
+F 0 "P5" H 10800 6400 50 0000 C CNN
+F 1 "Button 5" V 10900 6150 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 10800 6150 50 0001 C CNN
+F 3 "" H 10800 6150 50 0000 C CNN
+ 1 10800 6150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10600 6000 10400 6000
+$Comp
+L R R10
+U 1 1 57D8FE9F
+P 10400 5750
+F 0 "R10" V 10480 5750 50 0000 C CNN
+F 1 "100" V 10400 5750 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10330 5750 50 0001 C CNN
+F 3 "" H 10400 5750 50 0000 C CNN
+ 1 10400 5750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10000 6100 10600 6100
+Wire Wire Line
+ 10400 6000 10400 5900
+Text Label 10600 6100 2 60 ~ 0
+LED_5_OUT
+$Comp
+L R R9
+U 1 1 57D8FEAB
+P 10100 5750
+F 0 "R9" V 10180 5750 50 0000 C CNN
+F 1 "100" V 10100 5750 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 10030 5750 50 0001 C CNN
+F 3 "" H 10100 5750 50 0000 C CNN
+ 1 10100 5750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9700 5500 10100 5500
+Wire Wire Line
+ 10100 5500 10400 5500
+Wire Wire Line
+ 10100 5500 10100 5600
+Wire Wire Line
+ 10100 5900 10100 6200
+Wire Wire Line
+ 10100 6200 10600 6200
+Wire Wire Line
+ 10000 6300 10600 6300
+Text Label 10600 6300 2 60 ~ 0
+BTN_5
+Entry Wire Line
+ 9900 6200 10000 6100
+Entry Wire Line
+ 9900 6400 10000 6300
+Wire Wire Line
+ 10100 1800 10100 1500
+Wire Wire Line
+ 10100 4000 10600 4000
+Wire Wire Line
+ 10100 5100 10100 4800
+Wire Wire Line
+ 9700 1000 9700 1100
+Wire Wire Line
+ 9700 1100 9700 2200
+Wire Wire Line
+ 9700 2200 9700 3300
+Wire Wire Line
+ 9700 3300 9700 4400
+Wire Wire Line
+ 9700 4400 9700 5500
+Connection ~ 10100 2200
+Wire Wire Line
+ 10400 3300 10400 3400
+Connection ~ 10100 3300
+Connection ~ 9700 2200
+Wire Wire Line
+ 10400 4400 10400 4500
+Connection ~ 10100 4400
+Connection ~ 9700 3300
+Wire Wire Line
+ 10400 5500 10400 5600
+Connection ~ 9700 4400
+Connection ~ 10100 5500
+Wire Bus Line
+ 9900 1700 9900 1800
+Wire Bus Line
+ 9900 1800 9900 2000
+Wire Bus Line
+ 9900 2000 9900 2900
+Wire Bus Line
+ 9900 2900 9900 3100
+Wire Bus Line
+ 9900 3100 9900 4000
+Wire Bus Line
+ 9900 4000 9900 4200
+Wire Bus Line
+ 9900 4200 9900 5100
+Wire Bus Line
+ 9900 5100 9900 5300
+Wire Bus Line
+ 9900 5300 9900 6200
+Wire Bus Line
+ 9900 6200 9900 6400
+Wire Bus Line
+ 9900 6400 9900 6500
+Text Label 8600 1900 1 60 ~ 0
+OUT_BUS
+Text Label 9900 2400 3 60 ~ 0
+OUT_BUS
+Wire Wire Line
+ 10400 1100 10400 1200
+Connection ~ 9700 1100
+Connection ~ 10100 1100
+Wire Wire Line
+ 2700 2700 2300 2700
+Wire Wire Line
+ 2700 2800 2300 2800
+Wire Wire Line
+ 2700 2900 2300 2900
+Entry Wire Line
+ 2200 2800 2300 2700
+Entry Wire Line
+ 2200 2900 2300 2800
+Entry Wire Line
+ 2200 3000 2300 2900
+Text Label 2300 2700 0 60 ~ 0
+BTN_2
+Text Label 2300 2800 0 60 ~ 0
+BTN_3
+Text Label 2300 2900 0 60 ~ 0
+BTN_4
+Text Label 3550 3750 1 60 ~ 0
+BTN_5
+$Comp
+L REG101-3.3 U3
+U 1 1 57D91F8B
+P 6700 5200
+F 0 "U3" H 6700 5100 60 0000 C CNN
+F 1 "REG101-3.3" H 6700 5400 60 0000 C CNN
+F 2 "TO_SOT_Packages_SMD:SOT-23-5" H 6700 4400 60 0001 C CNN
+F 3 "http://www.ti.com/lit/ds/symlink/reg101.pdf" H 6700 4500 60 0001 C CNN
+ 1 6700 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L USB_OTG P6
+U 1 1 57D92157
+P 1500 5300
+F 0 "P6" H 1825 5175 50 0000 C CNN
+F 1 "USB_OTG" H 1500 5500 50 0000 C CNN
+F 2 "Connect:USB_Micro-B" V 1450 5200 50 0001 C CNN
+F 3 "" V 1450 5200 50 0000 C CNN
+ 1 1500 5300
+ 0 -1 1 0
+$EndComp
+$Comp
+L GND #PWR06
+U 1 1 57D923CD
+P 6600 6300
+F 0 "#PWR06" H 6600 6050 50 0001 C CNN
+F 1 "GND" H 6600 6150 50 0000 C CNN
+F 2 "" H 6600 6300 50 0000 C CNN
+F 3 "" H 6600 6300 50 0000 C CNN
+ 1 6600 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR07
+U 1 1 57D9241B
+P 2000 5900
+F 0 "#PWR07" H 2000 5650 50 0001 C CNN
+F 1 "GND" H 2000 5750 50 0000 C CNN
+F 2 "" H 2000 5900 50 0000 C CNN
+F 3 "" H 2000 5900 50 0000 C CNN
+ 1 2000 5900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1800 5500 2000 5500
+Wire Wire Line
+ 2000 4700 2000 5500
+Wire Wire Line
+ 2000 5500 2000 5800
+Wire Wire Line
+ 2000 5800 2000 5900
+Wire Wire Line
+ 1400 5700 1400 5800
+Wire Wire Line
+ 1400 5800 2000 5800
+Connection ~ 2000 5800
+Wire Wire Line
+ 6100 5300 6000 5300
+Wire Wire Line
+ 6600 5700 6600 6200
+Wire Wire Line
+ 6600 6200 6600 6300
+$Comp
+L C C2
+U 1 1 57D92EED
+P 6800 5950
+F 0 "C2" H 6825 6050 50 0000 L CNN
+F 1 "10nF" H 6825 5850 50 0000 L CNN
+F 2 "Capacitors_SMD:C_1206_HandSoldering" H 6838 5800 50 0001 C CNN
+F 3 "" H 6800 5950 50 0000 C CNN
+ 1 6800 5950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6800 5800 6800 5700
+Wire Wire Line
+ 6800 6200 6600 6200
+Connection ~ 6600 6200
+Wire Wire Line
+ 6800 6200 6800 6100
+Wire Wire Line
+ 7300 5100 7500 5100
+$Comp
+L +3.3V #PWR08
+U 1 1 57D93546
+P 7500 5000
+F 0 "#PWR08" H 7500 4850 50 0001 C CNN
+F 1 "+3.3V" H 7500 5140 50 0000 C CNN
+F 2 "" H 7500 5000 50 0000 C CNN
+F 3 "" H 7500 5000 50 0000 C CNN
+ 1 7500 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7500 5100 7500 5000
+$Comp
+L CONN_01X02 P7
+U 1 1 57D93A05
+P 2050 4500
+F 0 "P7" H 2050 4650 50 0000 C CNN
+F 1 "External power" V 2150 4500 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 2050 4500 50 0001 C CNN
+F 3 "" H 2050 4500 50 0000 C CNN
+ 1 2050 4500
+ 0 -1 -1 0
+$EndComp
+Connection ~ 2000 5500
+Wire Wire Line
+ 2100 4700 2100 5100
+Connection ~ 2100 5100
+Wire Wire Line
+ 6000 5100 6000 5300
+Wire Wire Line
+ 4400 5100 5100 5100
+Wire Wire Line
+ 5100 5100 5500 5100
+Wire Wire Line
+ 5500 5100 6000 5100
+Wire Wire Line
+ 6000 5100 6100 5100
+Connection ~ 6000 5100
+$Comp
+L BQ21040 U4
+U 1 1 57D943EB
+P 3800 5400
+F 0 "U4" H 3800 5400 60 0000 C CNN
+F 1 "BQ21040" H 3800 5550 60 0000 C CNN
+F 2 "TO_SOT_Packages_SMD:SOT-23-6" H 3800 4600 60 0001 C CNN
+F 3 "http://www.ti.com/lit/ds/symlink/bq21040.pdf" H 3800 4700 60 0001 C CNN
+ 1 3800 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C1
+U 1 1 57D944B9
+P 2700 5750
+F 0 "C1" H 2725 5850 50 0000 L CNN
+F 1 "100uF" H 2725 5650 50 0000 L CNN
+F 2 "Capacitors_SMD:C_1206_HandSoldering" H 2738 5600 50 0001 C CNN
+F 3 "" H 2700 5750 50 0000 C CNN
+ 1 2700 5750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1800 5100 2100 5100
+Wire Wire Line
+ 2100 5100 2700 5100
+Wire Wire Line
+ 2700 5100 3200 5100
+Wire Wire Line
+ 2700 5600 2700 5100
+Connection ~ 2700 5100
+Wire Wire Line
+ 3800 6000 3800 6100
+Wire Wire Line
+ 3800 6100 3800 6200
+Wire Wire Line
+ 2700 6100 3100 6100
+Wire Wire Line
+ 3100 6100 3800 6100
+Wire Wire Line
+ 3800 6100 4700 6100
+Wire Wire Line
+ 2700 6100 2700 5900
+Connection ~ 3800 6100
+$Comp
+L GND #PWR09
+U 1 1 57D948D5
+P 3800 6200
+F 0 "#PWR09" H 3800 5950 50 0001 C CNN
+F 1 "GND" H 3800 6050 50 0000 C CNN
+F 2 "" H 3800 6200 50 0000 C CNN
+F 3 "" H 3800 6200 50 0000 C CNN
+ 1 3800 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R11
+U 1 1 57D94E7C
+P 5100 5350
+F 0 "R11" V 5180 5350 50 0000 C CNN
+F 1 "860" V 5100 5350 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 5030 5350 50 0001 C CNN
+F 3 "" H 5100 5350 50 0000 C CNN
+ 1 5100 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L LED D1
+U 1 1 57D94ECD
+P 5100 5800
+F 0 "D1" H 5100 5900 50 0000 C CNN
+F 1 "LED" H 5100 5700 50 0000 C CNN
+F 2 "LEDs:LED_1206" H 5100 5800 50 0001 C CNN
+F 3 "" H 5100 5800 50 0000 C CNN
+ 1 5100 5800
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 5100 5100 5100 5200
+Connection ~ 5100 5100
+Wire Wire Line
+ 5100 5500 5100 5600
+Wire Wire Line
+ 5100 6100 5100 6000
+Wire Wire Line
+ 4900 6100 5100 6100
+$Comp
+L CONN_01X02 P8
+U 1 1 57D9536B
+P 5800 6550
+F 0 "P8" H 5800 6750 50 0000 C CNN
+F 1 "BATTERY" V 5900 6550 50 0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 5800 6550 50 0001 C CNN
+F 3 "" H 5800 6550 50 0000 C CNN
+ 1 5800 6550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5500 5100 5500 6500
+Wire Wire Line
+ 5500 6500 5600 6500
+Connection ~ 5500 5100
+Wire Wire Line
+ 5600 6600 5500 6600
+Wire Wire Line
+ 5500 6600 5500 6700
+$Comp
+L GND #PWR010
+U 1 1 57D956C8
+P 5500 6700
+F 0 "#PWR010" H 5500 6450 50 0001 C CNN
+F 1 "GND" H 5500 6550 50 0000 C CNN
+F 2 "" H 5500 6700 50 0000 C CNN
+F 3 "" H 5500 6700 50 0000 C CNN
+ 1 5500 6700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4400 5300 4700 5300
+Text Label 4400 5500 0 60 ~ 0
+~CGH
+Text Label 3650 3500 3 60 ~ 0
+~CGH
+Wire Wire Line
+ 4400 5500 4900 5500
+Wire Wire Line
+ 4900 5500 4900 6100
+Text Label 4400 5100 0 60 ~ 0
+BATTERY
+Text Label 4400 5300 0 60 ~ 0
+TS
+$Comp
+L R R12
+U 1 1 57D97C24
+P 4700 5850
+F 0 "R12" V 4780 5850 50 0000 C CNN
+F 1 "10k" V 4700 5850 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 4630 5850 50 0001 C CNN
+F 3 "" H 4700 5850 50 0000 C CNN
+ 1 4700 5850
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 4700 5300 4700 5700
+Wire Wire Line
+ 4700 6100 4700 6000
+Wire Wire Line
+ 3200 5500 3100 5500
+Wire Wire Line
+ 3100 5500 3100 5600
+$Comp
+L R R13
+U 1 1 57D9899A
+P 3100 5750
+F 0 "R13" V 3180 5750 50 0000 C CNN
+F 1 "??" V 3100 5750 50 0000 C CNN
+F 2 "Resistors_SMD:R_1206_HandSoldering" V 3030 5750 50 0001 C CNN
+F 3 "" H 3100 5750 50 0000 C CNN
+ 1 3100 5750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3100 5900 3100 6100
+Connection ~ 3100 6100
+NoConn ~ 2700 2400
+NoConn ~ 3350 3500
+NoConn ~ 3450 3500
+NoConn ~ 3750 3500
+NoConn ~ 3850 3500
+Entry Wire Line
+ 3550 3850 3650 3750
+Entry Wire Line
+ 3450 3850 3550 3750
+Wire Wire Line
+ 10100 2900 10600 2900
+Text Notes 6700 800 0 100 ~ 0
+Output drivers
+Text Notes 9900 700 0 100 ~ 0
+Button outputs
+Text Notes 6900 2950 0 100 ~ 0
+Programming port
+Text Notes 900 900 0 65 ~ 0
+TODO: check resistor values before mounting
+Wire Wire Line
+ 2700 2500 2300 2500
+Entry Wire Line
+ 2200 2600 2300 2500
+Text Label 2300 2500 0 65 ~ 0
+CH_PD
+Entry Wire Line
+ 7200 3500 7300 3400
+Wire Wire Line
+ 7300 3400 7650 3400
+Text Label 7650 3400 2 65 ~ 0
+CH_PD
+$EndSCHEMATC