572 lines
18 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(export (version D)
(design
(source /sdh/Data/documents/00__Electronics/STM8/microdrill/schematics/MCU_module.sch)
(date "Вс 17 авг 2014 22:34:25")
(tool "eeschema (2013-may-18)-stable"))
(components
(comp (ref U1)
(value STM8S105K4T6C)
(libsource (lib stm8s105k4t6c) (part STM8S105K4T6C))
(sheetpath (names /) (tstamps /))
(tstamp 52FB03A2))
(comp (ref C1)
(value 1u)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0413))
(comp (ref C2)
(value 104)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0426))
(comp (ref P2)
(value CONN_4)
(libsource (lib conn) (part CONN_4))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0A49))
(comp (ref P1)
(value CONN_14)
(libsource (lib conn) (part CONN_14))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0A6A))
(comp (ref P5)
(value CONN_14)
(libsource (lib conn) (part CONN_14))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0A79))
(comp (ref D1)
(value LED)
(libsource (lib device) (part LED))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0DD3))
(comp (ref R1)
(value 1k)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0DE2))
(comp (ref D2)
(value LED)
(libsource (lib device) (part LED))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0ECD))
(comp (ref R2)
(value 1k)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0ED3))
(comp (ref R3)
(value 10k)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0EFD))
(comp (ref SW1)
(value SW_PUSH)
(libsource (lib device) (part SW_PUSH))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0F3B))
(comp (ref C3)
(value 104)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 52FB0F99))
(comp (ref P6)
(value CONN_5)
(libsource (lib conn) (part CONN_5))
(sheetpath (names /) (tstamps /))
(tstamp 52FB4AA7))
(comp (ref DA1)
(value L9110)
(libsource (lib L9110) (part L9110))
(sheetpath (names /) (tstamps /))
(tstamp 53F0EE9F))
(comp (ref DA2)
(value L9110)
(libsource (lib L9110) (part L9110))
(sheetpath (names /) (tstamps /))
(tstamp 53F0EF24))
(comp (ref DA3)
(value L9110)
(libsource (lib L9110) (part L9110))
(sheetpath (names /) (tstamps /))
(tstamp 53F0EF3C))
(comp (ref P3)
(value Stepper)
(libsource (lib conn) (part CONN_4))
(sheetpath (names /) (tstamps /))
(tstamp 53F0F09A))
(comp (ref U2)
(value LM1117MPX-3.3)
(footprint SOT223)
(libsource (lib LM1117) (part LM1117MPX-3.3))
(sheetpath (names /) (tstamps /))
(tstamp 53F0F811))
(comp (ref C4)
(value 0.1u)
(footprint SM0603)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 53F0F83E))
(comp (ref C5)
(value 47u)
(footprint SM1206)
(libsource (lib device) (part CP1))
(sheetpath (names /) (tstamps /))
(tstamp 53F0F88C))
(comp (ref K1)
(value POWER)
(libsource (lib conn) (part CONN_3))
(sheetpath (names /) (tstamps /))
(tstamp 53F0FD67))
(comp (ref P4)
(value Slide)
(libsource (lib conn) (part CONN_2))
(sheetpath (names /) (tstamps /))
(tstamp 53F1169C))
(comp (ref P7)
(value CONN_2)
(libsource (lib conn) (part CONN_2))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E67E05))
(comp (ref Q1)
(value MOS_N)
(libsource (lib device) (part MOS_N))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E67E1E))
(comp (ref R5)
(value 1R)
(libsource (lib device) (part R))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E67E8A))
(comp (ref R6)
(value 1R)
(libsource (lib device) (part R))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E67E9C))
(comp (ref R4)
(value 1k)
(libsource (lib device) (part R))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E680EF))
(comp (ref D3)
(value DIODESCH)
(libsource (lib device) (part DIODESCH))
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
(tstamp 53E68EA1)))
(libparts
(libpart (lib device) (part C)
(description "Condensateur non polarise")
(footprints
(fp SM*)
(fp C?)
(fp C1-1))
(fields
(field (name Reference) C)
(field (name Value) C)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib device) (part CP1)
(description "Condensateur polarise")
(footprints
(fp CP*)
(fp SM*))
(fields
(field (name Reference) C)
(field (name Value) CP1)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib device) (part DIODESCH)
(description "Diode schottky")
(footprints
(fp D?)
(fp S*))
(fields
(field (name Reference) D)
(field (name Value) DIODESCH)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name K) (type passive))))
(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)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name K) (type passive))))
(libpart (lib device) (part MOS_N)
(docs transistors/mos/*.*)
(fields
(field (name Reference) Q)
(field (name Value) MOS_N)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num D) (name D) (type passive))
(pin (num G) (name G) (type input))
(pin (num S) (name S) (type passive))))
(libpart (lib device) (part R)
(description Resistance)
(footprints
(fp R?)
(fp SM0603)
(fp SM0805)
(fp R?-*)
(fp SM1206))
(fields
(field (name Reference) R)
(field (name Value) R)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib device) (part SW_PUSH)
(description "Push Button")
(fields
(field (name Reference) SW)
(field (name Value) SW_PUSH)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive))))
(libpart (lib conn) (part CONN_14)
(description "Symbole general de connexion")
(fields
(field (name Reference) P)
(field (name Value) CONN_14))
(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))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))
(pin (num 9) (name P9) (type passive))
(pin (num 10) (name P10) (type passive))
(pin (num 11) (name P11) (type passive))
(pin (num 12) (name P12) (type passive))
(pin (num 13) (name P13) (type passive))
(pin (num 14) (name P14) (type passive))))
(libpart (lib conn) (part CONN_2)
(description "Symbole general de connecteur")
(fields
(field (name Reference) P)
(field (name Value) CONN_2))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name PM) (type passive))))
(libpart (lib conn) (part CONN_3)
(description "Symbole general de connecteur")
(fields
(field (name Reference) K)
(field (name Value) CONN_3))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name PM) (type passive))
(pin (num 3) (name P3) (type passive))))
(libpart (lib conn) (part CONN_4)
(description "Symbole general de connecteur")
(fields
(field (name Reference) P)
(field (name Value) CONN_4))
(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 conn) (part CONN_5)
(description "Symbole general de connecteur")
(fields
(field (name Reference) P)
(field (name Value) CONN_5))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))
(pin (num 3) (name ~) (type passive))
(pin (num 4) (name ~) (type passive))
(pin (num 5) (name ~) (type passive))))
(libpart (lib stm8s105k4t6c) (part STM8S105K4T6C)
(footprints
(fp lqfp32*))
(fields
(field (name Reference) U)
(field (name Value) STM8S105K4T6C)
(field (name Footprint) ~)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name NRST) (type input))
(pin (num 2) (name OSCIN/PA1) (type 3state))
(pin (num 3) (name OSCOUT/PA2) (type 3state))
(pin (num 4) (name VSS) (type power_in))
(pin (num 5) (name VCAP) (type power_out))
(pin (num 6) (name "VDD(3.3-5v)") (type power_in))
(pin (num 7) (name VDDio) (type power_in))
(pin (num 8) (name PF4/AIN12) (type 3state))
(pin (num 9) (name VDDA) (type power_in))
(pin (num 10) (name VSSA) (type power_in))
(pin (num 11) (name PB5/AIN5[I2X_SDA]) (type 3state))
(pin (num 12) (name PB4/AIN4[I2C_SCL]) (type 3state))
(pin (num 13) (name PB3/AIN3[TIM1_ETR]) (type 3state))
(pin (num 14) (name PB2/AIN2[TIM1_CH3N]) (type 3state))
(pin (num 15) (name PB1/AIN1_[TIM1_CH2N]) (type 3state))
(pin (num 16) (name PB0/AIN0_[TIM1_CH1N]) (type 3state))
(pin (num 17) (name PE5/SPI_NSS) (type 3state))
(pin (num 18) (name "PC1(HS)/TIM1_CH1") (type 3state))
(pin (num 19) (name "PC2(HS)/TIM1_CH2") (type 3state))
(pin (num 20) (name "PC3(HS)/TIM1_CH3") (type 3state))
(pin (num 21) (name "PC4(HS)/TIM1_CH4") (type 3state))
(pin (num 22) (name "PC5(HS)/SPI_SCK") (type 3state))
(pin (num 23) (name "PC6(HS)/SPI_MOSI") (type 3state))
(pin (num 24) (name "PC7(HS)/SPI_MISO") (type 3state))
(pin (num 25) (name "PD0(HS)/TIM3_CH2[TIM1_BKIN][CLK_CCO]") (type 3state))
(pin (num 26) (name "PD1(HS)/SWIM") (type 3state))
(pin (num 27) (name "PD2(HS)/TIM3_CH1[TIM2_CH3]") (type 3state))
(pin (num 28) (name "PD3(HS)/TIM2_CH2[ADC_ETR]") (type 3state))
(pin (num 29) (name "PD4(HS)/TIM2_CH1[BEEP]") (type 3state))
(pin (num 30) (name PD5/UART2_TX) (type 3state))
(pin (num 31) (name PD6/UART2_RX) (type 3state))
(pin (num 32) (name PD7/TLI[TIM1_CH4]) (type 3state))))
(libpart (lib LM1117) (part LM1117MPX-3.3)
(footprints
(fp SOT223*))
(fields
(field (name Reference) U)
(field (name Value) LM1117MPX-3.3)
(field (name Footprint) SOT223)
(field (name Datasheet) ~))
(pins
(pin (num 1) (name GND) (type power_in))
(pin (num 2) (name OUT) (type power_out))
(pin (num 3) (name IN) (type power_in))))
(libpart (lib L9110) (part L9110)
(footprints
(fp DIP8*)
(fp DIP-8*)
(fp SOP8*)
(fp SOP-8*))
(fields
(field (name Reference) DA)
(field (name Value) L9110))
(pins
(pin (num 1) (name OA) (type output))
(pin (num 2) (name VCC) (type power_in))
(pin (num 3) (name VCC) (type power_in))
(pin (num 4) (name OB) (type output))
(pin (num 5) (name GND) (type power_in))
(pin (num 6) (name IA) (type input))
(pin (num 7) (name IB) (type input))
(pin (num 8) (name GND) (type power_in)))))
(libraries
(library (logical device)
(uri /usr/share/kicad/library/device.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib))
(library (logical stm8s105k4t6c)
(uri stm8s105k4t6c.lib))
(library (logical L9110)
(uri L9110.lib))
(library (logical LM1117)
(uri LM1117.lib)))
(nets
(net (code 1) (name "")
(node (ref DA2) (pin 4))
(node (ref P3) (pin 4)))
(net (code 2) (name "")
(node (ref DA2) (pin 1))
(node (ref P3) (pin 3)))
(net (code 3) (name /PB1)
(node (ref P1) (pin 11))
(node (ref U1) (pin 15))
(node (ref DA1) (pin 7)))
(net (code 4) (name /PB0)
(node (ref DA1) (pin 6))
(node (ref P1) (pin 12))
(node (ref U1) (pin 16)))
(net (code 5) (name /PB2)
(node (ref U1) (pin 14))
(node (ref P1) (pin 10))
(node (ref DA2) (pin 6)))
(net (code 6) (name "")
(node (ref P3) (pin 1))
(node (ref DA1) (pin 1)))
(net (code 7) (name "/Drill motor/Sence")
(node (ref U1) (pin 8))
(node (ref P1) (pin 6))
(node (ref R4) (pin 1)))
(net (code 8) (name "/Drill motor/PWM_in")
(node (ref P1) (pin 14))
(node (ref Q1) (pin G))
(node (ref U1) (pin 18)))
(net (code 9) (name "")
(node (ref DA1) (pin 4))
(node (ref P3) (pin 2)))
(net (code 10) (name /PB5)
(node (ref U1) (pin 11))
(node (ref P1) (pin 7))
(node (ref DA3) (pin 7)))
(net (code 11) (name /PB4)
(node (ref U1) (pin 12))
(node (ref P1) (pin 8))
(node (ref DA3) (pin 6)))
(net (code 12) (name /PB3)
(node (ref U1) (pin 13))
(node (ref DA2) (pin 7))
(node (ref P1) (pin 9)))
(net (code 13) (name /5.0V)
(node (ref P6) (pin 2)))
(net (code 14) (name GND)
(node (ref C5) (pin 2))
(node (ref U2) (pin 1))
(node (ref C4) (pin 2))
(node (ref K1) (pin 1))
(node (ref R2) (pin 2))
(node (ref SW1) (pin 1))
(node (ref C3) (pin 2))
(node (ref R5) (pin 2))
(node (ref R6) (pin 2))
(node (ref C2) (pin 1))
(node (ref P1) (pin 2))
(node (ref P2) (pin 4))
(node (ref U1) (pin 10))
(node (ref U1) (pin 4))
(node (ref C1) (pin 1))
(node (ref DA3) (pin 8))
(node (ref DA2) (pin 8))
(node (ref DA1) (pin 8))
(node (ref DA2) (pin 5))
(node (ref P6) (pin 5))
(node (ref DA1) (pin 5))
(node (ref DA3) (pin 5)))
(net (code 15) (name +3.3V)
(node (ref D1) (pin 1))
(node (ref R3) (pin 1))
(node (ref P2) (pin 1))
(node (ref P1) (pin 1))
(node (ref D2) (pin 1))
(node (ref C2) (pin 2))
(node (ref U1) (pin 6))
(node (ref U1) (pin 7))
(node (ref U1) (pin 9))
(node (ref C5) (pin 1))
(node (ref U2) (pin 2))
(node (ref P6) (pin 1)))
(net (code 16) (name /PD6)
(node (ref P6) (pin 3))
(node (ref U1) (pin 31))
(node (ref P5) (pin 2)))
(net (code 17) (name /PD5)
(node (ref P6) (pin 4))
(node (ref P5) (pin 3))
(node (ref U1) (pin 30)))
(net (code 18) (name "")
(node (ref DA3) (pin 1))
(node (ref P4) (pin 1)))
(net (code 19) (name "")
(node (ref P4) (pin 2))
(node (ref DA3) (pin 4)))
(net (code 20) (name +12V)
(node (ref P7) (pin 1))
(node (ref K1) (pin 3))
(node (ref D3) (pin 2)))
(net (code 21) (name +5V)
(node (ref DA1) (pin 3))
(node (ref DA3) (pin 3))
(node (ref DA3) (pin 2))
(node (ref DA2) (pin 2))
(node (ref DA2) (pin 3))
(node (ref DA1) (pin 2))
(node (ref K1) (pin 2))
(node (ref C4) (pin 1))
(node (ref U2) (pin 3)))
(net (code 22) (name /NRST)
(node (ref P2) (pin 3))
(node (ref SW1) (pin 2))
(node (ref R3) (pin 2))
(node (ref C3) (pin 1))
(node (ref P1) (pin 3))
(node (ref U1) (pin 1)))
(net (code 23) (name "")
(node (ref C1) (pin 2))
(node (ref U1) (pin 5)))
(net (code 24) (name /PC7)
(node (ref U1) (pin 24))
(node (ref P5) (pin 9)))
(net (code 25) (name /PC6)
(node (ref U1) (pin 23))
(node (ref P5) (pin 10)))
(net (code 26) (name /PD7)
(node (ref U1) (pin 32))
(node (ref P5) (pin 1)))
(net (code 27) (name /PC5)
(node (ref P5) (pin 11))
(node (ref U1) (pin 22)))
(net (code 28) (name /PC4)
(node (ref P5) (pin 12))
(node (ref U1) (pin 21)))
(net (code 29) (name /PD0)
(node (ref P5) (pin 8))
(node (ref U1) (pin 25)))
(net (code 30) (name /PC3)
(node (ref U1) (pin 20))
(node (ref P5) (pin 13)))
(net (code 31) (name /OSC2IN)
(node (ref P1) (pin 5))
(node (ref U1) (pin 3)))
(net (code 32) (name /OSC1IN)
(node (ref P1) (pin 4))
(node (ref U1) (pin 2)))
(net (code 33) (name /PD4)
(node (ref U1) (pin 29))
(node (ref P5) (pin 4)))
(net (code 34) (name /PC2)
(node (ref R1) (pin 2))
(node (ref P5) (pin 14))
(node (ref U1) (pin 19)))
(net (code 35) (name /PD3)
(node (ref P5) (pin 5))
(node (ref U1) (pin 28)))
(net (code 36) (name /PD2)
(node (ref P5) (pin 6))
(node (ref U1) (pin 27)))
(net (code 37) (name /PE5)
(node (ref U1) (pin 17))
(node (ref P1) (pin 13)))
(net (code 38) (name /SWIM/PD1)
(node (ref U1) (pin 26))
(node (ref P2) (pin 2))
(node (ref P5) (pin 7)))
(net (code 39) (name "")
(node (ref R2) (pin 1))
(node (ref D2) (pin 2)))
(net (code 40) (name "")
(node (ref D1) (pin 2))
(node (ref R1) (pin 1)))
(net (code 41) (name "")
(node (ref P7) (pin 2))
(node (ref Q1) (pin D))
(node (ref D3) (pin 1)))
(net (code 42) (name "")
(node (ref Q1) (pin S))
(node (ref R5) (pin 1))
(node (ref R6) (pin 1))
(node (ref R4) (pin 2)))))