mirror of
https://github.com/eddyem/STM8_samples.git
synced 2025-12-06 10:45:12 +03:00
448 lines
15 KiB
Plaintext
448 lines
15 KiB
Plaintext
(export (version D)
|
||
(design
|
||
(source /home/eddy/tmp/microdrill/schematics/MCU_module.sch)
|
||
(date "Вс 16 ноя 2014 01:25:03")
|
||
(tool "eeschema (2013-may-18)-stable"))
|
||
(components
|
||
(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 X1)
|
||
(value STM8S105BOARD)
|
||
(footprint devboard_pins-9-14)
|
||
(libsource (lib stm8s105k4t6c) (part STM8S105BOARD))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54626F55))
|
||
(comp (ref UP1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54628F0D))
|
||
(comp (ref DOWN1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54628F38))
|
||
(comp (ref BTN1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54628F3E))
|
||
(comp (ref BTN2)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54628FEC))
|
||
(comp (ref POT1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54628FF2))
|
||
(comp (ref DRILL+1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54629D60))
|
||
(comp (ref DRILL-1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 54629E20))
|
||
(comp (ref DRILLSW1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 5462B0E5))
|
||
(comp (ref GND1)
|
||
(value CONN_1)
|
||
(libsource (lib conn) (part CONN_1))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 5462B0EB))
|
||
(comp (ref R5)
|
||
(value 0.33R)
|
||
(footprint SM2512)
|
||
(libsource (lib device) (part R))
|
||
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
|
||
(tstamp 53E67E8A))
|
||
(comp (ref R4)
|
||
(value 47k)
|
||
(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))
|
||
(comp (ref VT1)
|
||
(value S8205A)
|
||
(footprint TSSOP-8)
|
||
(libsource (lib s8205a) (part S8205A))
|
||
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
|
||
(tstamp 53F123C0))
|
||
(comp (ref C6)
|
||
(value 0.1u)
|
||
(footprint SM0603)
|
||
(libsource (lib device) (part CP1))
|
||
(sheetpath (names "/Drill motor/") (tstamps /53EF036E/))
|
||
(tstamp 53F36070)))
|
||
(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))
|
||
(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))
|
||
(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))
|
||
(pins
|
||
(pin (num 1) (name A) (type passive))
|
||
(pin (num 2) (name K) (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))
|
||
(pins
|
||
(pin (num 1) (name ~) (type passive))
|
||
(pin (num 2) (name ~) (type passive))))
|
||
(libpart (lib conn) (part CONN_1)
|
||
(description "1 pin")
|
||
(fields
|
||
(field (name Reference) P)
|
||
(field (name Value) CONN_1))
|
||
(pins
|
||
(pin (num 1) (name 1) (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 L9110) (part L9110)
|
||
(footprints
|
||
(fp DIP8*)
|
||
(fp DIP-8*)
|
||
(fp SOP8*)
|
||
(fp SOP-8*))
|
||
(fields
|
||
(field (name Reference) DA)
|
||
(field (name Value) L9110)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(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))))
|
||
(libpart (lib stm8s105k4t6c) (part stm8s105board)
|
||
(footprints
|
||
(fp stm8s105board))
|
||
(fields
|
||
(field (name Reference) X)
|
||
(field (name Value) stm8s105board)
|
||
(field (name Footprint) devboard_pins-9-14)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name "VDD(3.3-5v)") (type power_in))
|
||
(pin (num 2) (name GND) (type power_in))
|
||
(pin (num 3) (name NRST) (type input))
|
||
(pin (num 4) (name OSCIN/PA1) (type 3state))
|
||
(pin (num 5) (name OSCOUT/PA2) (type 3state))
|
||
(pin (num 6) (name PF4/AIN12) (type 3state))
|
||
(pin (num 7) (name PB5/AIN5[I2X_SDA]) (type 3state))
|
||
(pin (num 8) (name PB4/AIN4[I2C_SCL]) (type 3state))
|
||
(pin (num 9) (name PB3/AIN3[TIM1_ETR]) (type 3state))
|
||
(pin (num 10) (name PB2/AIN2[TIM1_CH3N]) (type 3state))
|
||
(pin (num 11) (name PB1/AIN1_[TIM1_CH2N]) (type 3state))
|
||
(pin (num 12) (name PB0/AIN0_[TIM1_CH1N]) (type 3state))
|
||
(pin (num 13) (name PE5/SPI_NSS) (type 3state))
|
||
(pin (num 14) (name "PC1(HS)/TIM1_CH1") (type 3state))
|
||
(pin (num 15) (name "PC2(HS)/TIM1_CH2") (type 3state))
|
||
(pin (num 16) (name "PC3(HS)/TIM1_CH3") (type 3state))
|
||
(pin (num 17) (name "PC4(HS)/TIM1_CH4") (type 3state))
|
||
(pin (num 18) (name "PC5(HS)/SPI_SCK") (type 3state))
|
||
(pin (num 19) (name "PC6(HS)/SPI_MOSI") (type 3state))
|
||
(pin (num 20) (name "PC7(HS)/SPI_MISO") (type 3state))
|
||
(pin (num 21) (name "PD0(HS)/TIM3_CH2[TIM1_BKIN][CLK_CCO]") (type 3state))
|
||
(pin (num 22) (name "PD1(HS)/SWIM") (type 3state))
|
||
(pin (num 23) (name "PD2(HS)/TIM3_CH1[TIM2_CH3]") (type 3state))
|
||
(pin (num 24) (name "PD3(HS)/TIM2_CH2[ADC_ETR]") (type 3state))
|
||
(pin (num 25) (name "PD4(HS)/TIM2_CH1[BEEP]") (type 3state))
|
||
(pin (num 26) (name PD5/UART2_TX) (type 3state))
|
||
(pin (num 27) (name PD6/UART2_RX) (type 3state))
|
||
(pin (num 28) (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 s8205a) (part S8205A)
|
||
(footprints
|
||
(fp TSSOP8*)
|
||
(fp TSSOP-8*))
|
||
(fields
|
||
(field (name Reference) VT)
|
||
(field (name Value) S8205A)
|
||
(field (name Footprint) TSSOP-8)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name D) (type passive))
|
||
(pin (num 2) (name S1) (type passive))
|
||
(pin (num 3) (name S1) (type passive))
|
||
(pin (num 4) (name G1) (type passive))
|
||
(pin (num 5) (name G2) (type passive))
|
||
(pin (num 6) (name S2) (type passive))
|
||
(pin (num 7) (name S2) (type passive))
|
||
(pin (num 8) (name D) (type passive)))))
|
||
(libraries
|
||
(library (logical device)
|
||
(uri /usr/share/kicad/library/device.lib))
|
||
(library (logical conn)
|
||
(uri /usr/share/kicad/library/conn.lib))
|
||
(library (logical L9110)
|
||
(uri L9110.lib))
|
||
(library (logical stm8s105k4t6c)
|
||
(uri stm8s105k4t6c.lib))
|
||
(library (logical LM1117)
|
||
(uri LM1117.lib))
|
||
(library (logical s8205a)
|
||
(uri s8205a.lib)))
|
||
(nets
|
||
(net (code 1) (name /NRST)
|
||
(node (ref X1) (pin 3)))
|
||
(net (code 2) (name /PC5)
|
||
(node (ref DRILLSW1) (pin 1))
|
||
(node (ref X1) (pin 18)))
|
||
(net (code 3) (name /OSC1IN)
|
||
(node (ref X1) (pin 4)))
|
||
(net (code 4) (name /OSC2IN)
|
||
(node (ref X1) (pin 5)))
|
||
(net (code 5) (name /PB5)
|
||
(node (ref X1) (pin 7)))
|
||
(net (code 6) (name /PB3)
|
||
(node (ref X1) (pin 9))
|
||
(node (ref DA2) (pin 7)))
|
||
(net (code 7) (name /PD0)
|
||
(node (ref X1) (pin 21)))
|
||
(net (code 8) (name /SWIM/PD1)
|
||
(node (ref X1) (pin 22)))
|
||
(net (code 9) (name /PE5)
|
||
(node (ref X1) (pin 13)))
|
||
(net (code 10) (name "")
|
||
(node (ref P3) (pin 2))
|
||
(node (ref DA1) (pin 1)))
|
||
(net (code 11) (name "")
|
||
(node (ref DA1) (pin 4))
|
||
(node (ref P3) (pin 1)))
|
||
(net (code 12) (name "")
|
||
(node (ref DA2) (pin 1))
|
||
(node (ref P3) (pin 4)))
|
||
(net (code 13) (name "")
|
||
(node (ref DA2) (pin 4))
|
||
(node (ref P3) (pin 3)))
|
||
(net (code 14) (name "/Drill motor/PWM_in")
|
||
(node (ref X1) (pin 14))
|
||
(node (ref VT1) (pin 5))
|
||
(node (ref VT1) (pin 4)))
|
||
(net (code 15) (name +5V)
|
||
(node (ref DA3) (pin 2))
|
||
(node (ref DA3) (pin 3))
|
||
(node (ref U2) (pin 3))
|
||
(node (ref C4) (pin 1))
|
||
(node (ref K1) (pin 2))
|
||
(node (ref DA1) (pin 2))
|
||
(node (ref DA1) (pin 3))
|
||
(node (ref DA2) (pin 2))
|
||
(node (ref DA2) (pin 3)))
|
||
(net (code 16) (name "")
|
||
(node (ref DA3) (pin 1))
|
||
(node (ref P4) (pin 1)))
|
||
(net (code 17) (name "")
|
||
(node (ref DA3) (pin 4))
|
||
(node (ref P4) (pin 2)))
|
||
(net (code 18) (name /PD7)
|
||
(node (ref X1) (pin 28)))
|
||
(net (code 19) (name "/Drill motor/DRILL-")
|
||
(node (ref VT1) (pin 8))
|
||
(node (ref VT1) (pin 1))
|
||
(node (ref D3) (pin 1))
|
||
(node (ref DRILL-1) (pin 1)))
|
||
(net (code 20) (name GND)
|
||
(node (ref U2) (pin 1))
|
||
(node (ref K1) (pin 1))
|
||
(node (ref C5) (pin 2))
|
||
(node (ref C4) (pin 2))
|
||
(node (ref X1) (pin 2))
|
||
(node (ref DA3) (pin 8))
|
||
(node (ref GND1) (pin 1))
|
||
(node (ref C6) (pin 2))
|
||
(node (ref DA3) (pin 5))
|
||
(node (ref R5) (pin 2))
|
||
(node (ref DA2) (pin 8))
|
||
(node (ref DA2) (pin 5))
|
||
(node (ref DA1) (pin 8))
|
||
(node (ref DA1) (pin 5)))
|
||
(net (code 21) (name /PD4)
|
||
(node (ref X1) (pin 25)))
|
||
(net (code 22) (name /PC2)
|
||
(node (ref X1) (pin 15)))
|
||
(net (code 23) (name /PD6)
|
||
(node (ref X1) (pin 27)))
|
||
(net (code 24) (name /PD5)
|
||
(node (ref X1) (pin 26)))
|
||
(net (code 25) (name /PC4)
|
||
(node (ref UP1) (pin 1))
|
||
(node (ref X1) (pin 17)))
|
||
(net (code 26) (name /PC3)
|
||
(node (ref DOWN1) (pin 1))
|
||
(node (ref X1) (pin 16)))
|
||
(net (code 27) (name /PC6)
|
||
(node (ref BTN1) (pin 1))
|
||
(node (ref X1) (pin 19)))
|
||
(net (code 28) (name /PC7)
|
||
(node (ref X1) (pin 20))
|
||
(node (ref BTN2) (pin 1)))
|
||
(net (code 29) (name /PB4)
|
||
(node (ref POT1) (pin 1))
|
||
(node (ref X1) (pin 8)))
|
||
(net (code 30) (name +12V)
|
||
(node (ref D3) (pin 2))
|
||
(node (ref DRILL+1) (pin 1))
|
||
(node (ref K1) (pin 3)))
|
||
(net (code 31) (name /PB1)
|
||
(node (ref DA1) (pin 7))
|
||
(node (ref X1) (pin 11)))
|
||
(net (code 32) (name "/Drill motor/Sence")
|
||
(node (ref X1) (pin 6))
|
||
(node (ref R4) (pin 1))
|
||
(node (ref C6) (pin 1)))
|
||
(net (code 33) (name /PB0)
|
||
(node (ref DA1) (pin 6))
|
||
(node (ref X1) (pin 12)))
|
||
(net (code 34) (name /PB2)
|
||
(node (ref X1) (pin 10))
|
||
(node (ref DA2) (pin 6)))
|
||
(net (code 35) (name +3.3V)
|
||
(node (ref X1) (pin 1))
|
||
(node (ref U2) (pin 2))
|
||
(node (ref C5) (pin 1)))
|
||
(net (code 36) (name /PD3)
|
||
(node (ref DA3) (pin 7))
|
||
(node (ref X1) (pin 24)))
|
||
(net (code 37) (name /PD2)
|
||
(node (ref DA3) (pin 6))
|
||
(node (ref X1) (pin 23)))
|
||
(net (code 38) (name "")
|
||
(node (ref VT1) (pin 6))
|
||
(node (ref VT1) (pin 7))
|
||
(node (ref R5) (pin 1))
|
||
(node (ref VT1) (pin 2))
|
||
(node (ref VT1) (pin 3))
|
||
(node (ref R4) (pin 2))))) |