(export (version D) (design (source /home/trygvis/dev/io.trygvis/2016/09/esp8266-io-board/rev-a/esp8266-io-board.sch) (date "Wed 21 Sep 2016 09:52:22 CEST") (tool "Eeschema 4.0.2+dfsg1-stable") (sheet (number 1) (name /) (tstamps /) (title_block (title) (company) (rev) (date) (source esp8266-io-board.sch) (comment (number 1) (value "")) (comment (number 2) (value "")) (comment (number 3) (value "")) (comment (number 4) (value ""))))) (components (comp (ref U1) (value ESP-12E) (footprint ESP8266:ESP-12E) (libsource (lib ESP8266) (part ESP-12E)) (sheetpath (names /) (tstamps /)) (tstamp 57D85F22)) (comp (ref U2) (value ULN2003) (footprint Housings_SSOP:SSOP-16_3.9x4.9mm_Pitch0.635mm) (libsource (lib interface) (part ULN2003)) (sheetpath (names /) (tstamps /)) (tstamp 57D865D5)) (comp (ref P10) (value Serial) (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D866E9)) (comp (ref P1) (value "Button 1") (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D87560)) (comp (ref R2) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8789B)) (comp (ref R1) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D87ECC)) (comp (ref P2) (value "Button 2") (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F552)) (comp (ref R4) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F55F)) (comp (ref R3) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F56B)) (comp (ref P3) (value "Button 3") (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F8F6)) (comp (ref R6) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F903)) (comp (ref R5) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F90F)) (comp (ref P4) (value "Button 4") (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F9C3)) (comp (ref R8) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F9D0)) (comp (ref R7) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8F9DC)) (comp (ref P5) (value "Button 5") (footprint Pin_Headers:Pin_Header_Straight_1x04) (libsource (lib conn) (part CONN_01X04)) (sheetpath (names /) (tstamps /)) (tstamp 57D8FE92)) (comp (ref R10) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8FE9F)) (comp (ref R9) (value 100) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D8FEAB)) (comp (ref U3) (value REG101-3.3) (footprint TO_SOT_Packages_SMD:SOT-23-5) (datasheet http://www.ti.com/lit/ds/symlink/reg101.pdf) (libsource (lib REG101) (part REG101-3.3)) (sheetpath (names /) (tstamps /)) (tstamp 57D91F8B)) (comp (ref P6) (value USB_OTG) (footprint Connect:USB_Micro-B) (libsource (lib conn) (part USB_OTG)) (sheetpath (names /) (tstamps /)) (tstamp 57D92157)) (comp (ref C2) (value 10nF) (footprint Capacitors_SMD:C_1206_HandSoldering) (libsource (lib device) (part C)) (sheetpath (names /) (tstamps /)) (tstamp 57D92EED)) (comp (ref P7) (value "External power") (footprint Pin_Headers:Pin_Header_Straight_1x02) (libsource (lib conn) (part CONN_01X02)) (sheetpath (names /) (tstamps /)) (tstamp 57D93A05)) (comp (ref U4) (value BQ21040) (footprint TO_SOT_Packages_SMD:SOT-23-6) (datasheet http://www.ti.com/lit/ds/symlink/bq21040.pdf) (libsource (lib BQ21040) (part BQ21040)) (sheetpath (names /) (tstamps /)) (tstamp 57D943EB)) (comp (ref C1) (value 100uF) (footprint Capacitors_SMD:C_1206_HandSoldering) (libsource (lib device) (part C)) (sheetpath (names /) (tstamps /)) (tstamp 57D944B9)) (comp (ref R11) (value 860) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D94E7C)) (comp (ref D1) (value LED) (footprint LEDs:LED_1206) (libsource (lib device) (part LED)) (sheetpath (names /) (tstamps /)) (tstamp 57D94ECD)) (comp (ref P8) (value BATTERY) (footprint Pin_Headers:Pin_Header_Straight_1x02) (libsource (lib conn) (part CONN_01X02)) (sheetpath (names /) (tstamps /)) (tstamp 57D9536B)) (comp (ref R12) (value 10k) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D97C24)) (comp (ref R13) (value ??) (footprint Resistors_SMD:R_1206_HandSoldering) (libsource (lib device) (part R)) (sheetpath (names /) (tstamps /)) (tstamp 57D9899A))) (libparts (libpart (lib BQ21040) (part BQ21040) (docs http://www.ti.com/lit/ds/symlink/bq21040.pdf) (fields (field (name Reference) U) (field (name Value) BQ21040) (field (name Footprint) TO_SOT_Packages_SMD:SOT-23-6) (field (name Datasheet) http://www.ti.com/lit/ds/symlink/bq21040.pdf)) (pins (pin (num 1) (name TS) (type power_out)) (pin (num 2) (name OUT) (type power_out)) (pin (num 3) (name ~CHG) (type power_out)) (pin (num 4) (name Iset) (type power_out)) (pin (num 5) (name GND) (type power_out)) (pin (num 6) (name Vin) (type power_out)))) (libpart (lib device) (part C) (description "Unpolarized capacitor") (footprints (fp C?) (fp C_????_*) (fp C_????) (fp SMD*_c) (fp Capacitor*)) (fields (field (name Reference) C) (field (name Value) C)) (pins (pin (num 1) (name ~) (type passive)) (pin (num 2) (name ~) (type passive)))) (libpart (lib conn) (part CONN_01X02) (description "Connector 01x02") (footprints (fp Pin_Header_Straight_1X02) (fp Pin_Header_Angled_1X02) (fp Socket_Strip_Straight_1X02) (fp Socket_Strip_Angled_1X02)) (fields (field (name Reference) P) (field (name Value) CONN_01X02)) (pins (pin (num 1) (name P1) (type passive)) (pin (num 2) (name P2) (type passive)))) (libpart (lib conn) (part CONN_01X04) (description "Connector 01x04") (footprints (fp Pin_Header_Straight_1X04) (fp Pin_Header_Angled_1X04) (fp Socket_Strip_Straight_1X04) (fp Socket_Strip_Angled_1X04)) (fields (field (name Reference) P) (field (name Value) CONN_01X04)) (pins (pin (num 1) (name P1) (type passive)) (pin (num 2) (name P2) (type passive)) (pin (num 3) (name P3) (type passive)) (pin (num 4) (name P4) (type passive)))) (libpart (lib ESP8266) (part ESP-12E) (description "ESP8266 ESP-12E module, 22 pins, 2mm, PCB antenna") (docs http://l0l.org.uk/2014/12/esp8266-modules-hardware-guide-gotta-catch-em-all/) (footprints (fp ESP-12E)) (fields (field (name Reference) U) (field (name Value) ESP-12E)) (pins (pin (num 1) (name REST) (type input)) (pin (num 2) (name ADC) (type passive)) (pin (num 3) (name CH_PD) (type input)) (pin (num 4) (name GPIO16) (type BiDi)) (pin (num 5) (name GPIO14) (type BiDi)) (pin (num 6) (name GPIO12) (type BiDi)) (pin (num 7) (name GPIO13) (type BiDi)) (pin (num 8) (name VCC) (type power_in)) (pin (num 9) (name CS0) (type BiDi)) (pin (num 10) (name MISO) (type BiDi)) (pin (num 11) (name GPIO9) (type BiDi)) (pin (num 12) (name GPIO10) (type BiDi)) (pin (num 13) (name MOSI) (type BiDi)) (pin (num 14) (name SCLK) (type BiDi)) (pin (num 15) (name GND) (type power_in)) (pin (num 16) (name GPIO15) (type BiDi)) (pin (num 17) (name GPIO2) (type BiDi)) (pin (num 18) (name GPIO0) (type BiDi)) (pin (num 19) (name GPIO4) (type BiDi)) (pin (num 20) (name GPIO5) (type BiDi)) (pin (num 21) (name RXD) (type input)) (pin (num 22) (name TXD) (type output)))) (libpart (lib device) (part LED) (footprints (fp LED-3MM) (fp LED-5MM) (fp LED-10MM) (fp LED-0603) (fp LED-0805) (fp LED-1206) (fp LEDV)) (fields (field (name Reference) D) (field (name Value) LED)) (pins (pin (num 1) (name K) (type passive)) (pin (num 2) (name A) (type passive)))) (libpart (lib interface) (part MC1413) (aliases (alias ULN2003) (alias ULN2003A)) (fields (field (name Reference) U) (field (name Value) MC1413)) (pins (pin (num 1) (name I1) (type input)) (pin (num 2) (name I2) (type input)) (pin (num 3) (name I3) (type input)) (pin (num 4) (name I4) (type input)) (pin (num 5) (name I5) (type input)) (pin (num 6) (name I6) (type input)) (pin (num 7) (name I7) (type input)) (pin (num 8) (name GND) (type power_in)) (pin (num 9) (name COM) (type input)) (pin (num 10) (name O7) (type openCol)) (pin (num 11) (name O6) (type openCol)) (pin (num 12) (name O5) (type openCol)) (pin (num 13) (name O4) (type openCol)) (pin (num 14) (name O3) (type openCol)) (pin (num 15) (name O2) (type openCol)) (pin (num 16) (name O1) (type openCol)))) (libpart (lib device) (part R) (description Resistor) (footprints (fp R_*) (fp Resistor_*)) (fields (field (name Reference) R) (field (name Value) R)) (pins (pin (num 1) (name ~) (type passive)) (pin (num 2) (name ~) (type passive)))) (libpart (lib REG101) (part REG101-3.3) (description "100mA Low-Dropout Regulator, 3.3V") (docs http://www.ti.com/lit/ds/symlink/reg101.pdf) (footprints (fp SOT23-5)) (fields (field (name Reference) U) (field (name Value) REG101-3.3) (field (name Footprint) TO_SOT_Packages_SMD:SOT-23-5) (field (name Datasheet) http://www.ti.com/lit/ds/symlink/reg101.pdf)) (pins (pin (num 1) (name Vin) (type power_out)) (pin (num 2) (name GND) (type power_out)) (pin (num 3) (name EN) (type power_out)) (pin (num 4) (name NR) (type power_out)) (pin (num 5) (name Vout) (type power_out)))) (libpart (lib conn) (part USB_OTG) (description "micro/mini connector") (footprints (fp USB*)) (fields (field (name Reference) P) (field (name Value) USB_OTG)) (pins (pin (num 1) (name VCC) (type power_out)) (pin (num 2) (name D-) (type passive)) (pin (num 3) (name D+) (type passive)) (pin (num 4) (name ID) (type power_in)) (pin (num 5) (name GND) (type power_in)) (pin (num 6) (name shield) (type passive))))) (libraries (library (logical interface) (uri /usr/share/kicad/library/interface.lib)) (library (logical conn) (uri /usr/share/kicad/library/conn.lib)) (library (logical ESP8266) (uri /home/trygvis/dev/io.trygvis/2016/09/esp8266-io-board/kicad-ESP8266/ESP8266.lib)) (library (logical BQ21040) (uri /home/trygvis/dev/io.trygvis/2016/09/esp8266-io-board/kicad-schematic-symbols/BQ21040.lib)) (library (logical device) (uri /usr/share/kicad/library/device.lib)) (library (logical REG101) (uri /home/trygvis/dev/io.trygvis/2016/09/esp8266-io-board/kicad-schematic-symbols/REG101.lib))) (nets (net (code 1) (name "Net-(P6-Pad4)") (node (ref P6) (pin 4))) (net (code 2) (name "Net-(P6-Pad3)") (node (ref P6) (pin 3))) (net (code 3) (name "Net-(P6-Pad2)") (node (ref P6) (pin 2))) (net (code 4) (name "Net-(C2-Pad1)") (node (ref C2) (pin 1)) (node (ref U3) (pin 4))) (net (code 5) (name /BTN_5) (node (ref U1) (pin 11)) (node (ref P5) (pin 4))) (net (code 6) (name /BTN_4) (node (ref P4) (pin 4)) (node (ref U1) (pin 7))) (net (code 7) (name /BTN_3) (node (ref U1) (pin 6)) (node (ref P3) (pin 4))) (net (code 8) (name /BTN_2) (node (ref U1) (pin 5)) (node (ref P2) (pin 4))) (net (code 9) (name +3V3) (node (ref R7) (pin 1)) (node (ref U3) (pin 5)) (node (ref R3) (pin 1)) (node (ref R1) (pin 1)) (node (ref R5) (pin 1)) (node (ref R9) (pin 1)) (node (ref U1) (pin 8))) (net (code 10) (name GND) (node (ref R12) (pin 1)) (node (ref C1) (pin 2)) (node (ref U4) (pin 5)) (node (ref U1) (pin 15)) (node (ref P8) (pin 2)) (node (ref U2) (pin 8)) (node (ref P10) (pin 4)) (node (ref U2) (pin 9)) (node (ref P6) (pin 6)) (node (ref P6) (pin 5)) (node (ref R13) (pin 1)) (node (ref U3) (pin 2)) (node (ref P7) (pin 1)) (node (ref C2) (pin 2))) (net (code 11) (name /LED_5_OUT) (node (ref P5) (pin 2)) (node (ref U2) (pin 16))) (net (code 12) (name "Net-(P5-Pad1)") (node (ref R10) (pin 2)) (node (ref P5) (pin 1))) (net (code 13) (name "Net-(P5-Pad3)") (node (ref R9) (pin 2)) (node (ref P5) (pin 3))) (net (code 14) (name "Net-(P4-Pad3)") (node (ref P4) (pin 3)) (node (ref R7) (pin 2))) (net (code 15) (name /LED_4_OUT) (node (ref U2) (pin 15)) (node (ref P4) (pin 2))) (net (code 16) (name "Net-(P4-Pad1)") (node (ref R8) (pin 2)) (node (ref P4) (pin 1))) (net (code 18) (name "Net-(P1-Pad3)") (node (ref P1) (pin 3)) (node (ref R1) (pin 2))) (net (code 19) (name "Net-(R13-Pad2)") (node (ref U4) (pin 4)) (node (ref R13) (pin 2))) (net (code 20) (name /CH_PD) (node (ref P10) (pin 3)) (node (ref U1) (pin 3))) (net (code 21) (name "Net-(P2-Pad3)") (node (ref P2) (pin 3)) (node (ref R3) (pin 2))) (net (code 22) (name "Net-(U1-Pad14)") (node (ref U1) (pin 14))) (net (code 23) (name "Net-(U1-Pad13)") (node (ref U1) (pin 13))) (net (code 24) (name "Net-(U1-Pad10)") (node (ref U1) (pin 10))) (net (code 25) (name "Net-(U1-Pad9)") (node (ref U1) (pin 9))) (net (code 26) (name "Net-(U1-Pad2)") (node (ref U1) (pin 2))) (net (code 27) (name +BATT) (node (ref R10) (pin 1)) (node (ref R4) (pin 1)) (node (ref R8) (pin 1)) (node (ref R11) (pin 1)) (node (ref U4) (pin 2)) (node (ref R2) (pin 1)) (node (ref P8) (pin 1)) (node (ref U3) (pin 3)) (node (ref U3) (pin 1)) (node (ref R6) (pin 1))) (net (code 28) (name "Net-(C1-Pad1)") (node (ref P6) (pin 1)) (node (ref C1) (pin 1)) (node (ref P7) (pin 2)) (node (ref U4) (pin 6))) (net (code 29) (name /TS) (node (ref R12) (pin 2)) (node (ref U4) (pin 1))) (net (code 30) (name /~CGH) (node (ref D1) (pin 1)) (node (ref U4) (pin 3)) (node (ref U1) (pin 12))) (net (code 31) (name "Net-(D1-Pad2)") (node (ref R11) (pin 2)) (node (ref D1) (pin 2))) (net (code 32) (name /TX) (node (ref P10) (pin 1)) (node (ref U1) (pin 22))) (net (code 33) (name /RX) (node (ref U1) (pin 21)) (node (ref P10) (pin 2))) (net (code 34) (name "Net-(U1-Pad1)") (node (ref U1) (pin 1))) (net (code 35) (name /LED_2) (node (ref U1) (pin 19)) (node (ref U2) (pin 4))) (net (code 36) (name /LED_5) (node (ref U1) (pin 16)) (node (ref U2) (pin 1))) (net (code 37) (name /LED_3) (node (ref U2) (pin 3)) (node (ref U1) (pin 18))) (net (code 38) (name /LED_4) (node (ref U1) (pin 17)) (node (ref U2) (pin 2))) (net (code 39) (name /LED_1) (node (ref U2) (pin 5)) (node (ref U1) (pin 20))) (net (code 40) (name /LED_1_OUT) (node (ref P1) (pin 2)) (node (ref U2) (pin 12))) (net (code 41) (name "Net-(U2-Pad11)") (node (ref U2) (pin 11))) (net (code 42) (name "Net-(U2-Pad10)") (node (ref U2) (pin 10))) (net (code 43) (name "Net-(U2-Pad7)") (node (ref U2) (pin 7))) (net (code 44) (name "Net-(U2-Pad6)") (node (ref U2) (pin 6))) (net (code 45) (name /LED_2_OUT) (node (ref P2) (pin 2)) (node (ref U2) (pin 13))) (net (code 46) (name "Net-(P2-Pad1)") (node (ref P2) (pin 1)) (node (ref R4) (pin 2))) (net (code 47) (name /LED_3_OUT) (node (ref P3) (pin 2)) (node (ref U2) (pin 14))) (net (code 48) (name /BTN_1) (node (ref U1) (pin 4)) (node (ref P1) (pin 4))) (net (code 49) (name "Net-(P3-Pad3)") (node (ref R5) (pin 2)) (node (ref P3) (pin 3))) (net (code 50) (name "Net-(P3-Pad1)") (node (ref P3) (pin 1)) (node (ref R6) (pin 2))) (net (code 51) (name "Net-(P1-Pad1)") (node (ref R2) (pin 2)) (node (ref P1) (pin 1)))))