mirror of
https://github.com/eddyem/STM8_samples.git
synced 2025-12-06 10:45:12 +03:00
272 lines
9.7 KiB
Plaintext
272 lines
9.7 KiB
Plaintext
(export (version D)
|
|
(design
|
|
(source /Big/Data/00__Electronics/STM8/childbake/bake.sch)
|
|
(date "Пн 01 янв 2018 15:18:17")
|
|
(tool "Eeschema 4.0.6")
|
|
(sheet (number 1) (name /) (tstamps /)
|
|
(title_block
|
|
(title)
|
|
(company)
|
|
(rev)
|
|
(date)
|
|
(source bake.sch)
|
|
(comment (number 1) (value ""))
|
|
(comment (number 2) (value ""))
|
|
(comment (number 3) (value ""))
|
|
(comment (number 4) (value "")))))
|
|
(components
|
|
(comp (ref U1)
|
|
(value STM8L101F3P)
|
|
(footprint Housings_SSOP.pretty:TSSOP-20_4.4x6.5mm_Pitch0.65mm)
|
|
(libsource (lib stm8) (part STM8L101F3P))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A0140))
|
|
(comp (ref J1)
|
|
(value power)
|
|
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MPT-2.54mm_2pol)
|
|
(libsource (lib conn) (part CONN_01X02))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A1481))
|
|
(comp (ref Q2)
|
|
(value SI2305DS)
|
|
(footprint TO_SOT_Packages_SMD.pretty:SOT-23_Handsoldering)
|
|
(libsource (lib device) (part Q_PMOS_GSD))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A181D))
|
|
(comp (ref J4)
|
|
(value SWIM)
|
|
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MPT-2.54mm_4pol)
|
|
(libsource (lib conn) (part CONN_01X04))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A1BAE))
|
|
(comp (ref J3)
|
|
(value USART_On)
|
|
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MPT-2.54mm_2pol)
|
|
(libsource (lib conn) (part CONN_01X02))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A27FE))
|
|
(comp (ref Q1)
|
|
(value SI2305DS)
|
|
(footprint TO_SOT_Packages_SMD.pretty:SOT-23_Handsoldering)
|
|
(libsource (lib device) (part Q_PMOS_GSD))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A2D67))
|
|
(comp (ref R1)
|
|
(value 220)
|
|
(footprint Resistors_SMD.pretty:R_0805_HandSoldering)
|
|
(libsource (lib device) (part R))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A48A5))
|
|
(comp (ref R2)
|
|
(value 220)
|
|
(footprint Resistors_SMD.pretty:R_0805_HandSoldering)
|
|
(libsource (lib device) (part R))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A49CB))
|
|
(comp (ref J2)
|
|
(value USART)
|
|
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MPT-2.54mm_2pol)
|
|
(libsource (lib conn) (part CONN_01X02))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A4CFB))
|
|
(comp (ref C1)
|
|
(value 0.1)
|
|
(footprint Capacitors_SMD.pretty:C_0603_HandSoldering)
|
|
(libsource (lib device) (part C))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A52CA))
|
|
(comp (ref J5)
|
|
(value CONN_01X07)
|
|
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MPT-2.54mm_7pol)
|
|
(libsource (lib conn) (part CONN_01X07))
|
|
(sheetpath (names /) (tstamps /))
|
|
(tstamp 5A4A5E14)))
|
|
(libparts
|
|
(libpart (lib device) (part C)
|
|
(description "Unpolarized capacitor")
|
|
(footprints
|
|
(fp C_*))
|
|
(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, single row, 01x02, pin header")
|
|
(footprints
|
|
(fp Pin_Header_Straight_1X*)
|
|
(fp Pin_Header_Angled_1X*)
|
|
(fp Socket_Strip_Straight_1X*)
|
|
(fp Socket_Strip_Angled_1X*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(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, single row, 01x04, pin header")
|
|
(footprints
|
|
(fp Pin_Header_Straight_1X*)
|
|
(fp Pin_Header_Angled_1X*)
|
|
(fp Socket_Strip_Straight_1X*)
|
|
(fp Socket_Strip_Angled_1X*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(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 conn) (part CONN_01X07)
|
|
(description "Connector, single row, 01x07, pin header")
|
|
(footprints
|
|
(fp Pin_Header_Straight_1X*)
|
|
(fp Pin_Header_Angled_1X*)
|
|
(fp Socket_Strip_Straight_1X*)
|
|
(fp Socket_Strip_Angled_1X*))
|
|
(fields
|
|
(field (name Reference) J)
|
|
(field (name Value) CONN_01X07))
|
|
(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))))
|
|
(libpart (lib device) (part Q_PMOS_GSD)
|
|
(description "Transistor P-MOSFET with substrate diode (general)")
|
|
(fields
|
|
(field (name Reference) Q)
|
|
(field (name Value) Q_PMOS_GSD))
|
|
(pins
|
|
(pin (num 1) (name G) (type input))
|
|
(pin (num 2) (name S) (type passive))
|
|
(pin (num 3) (name D) (type passive))))
|
|
(libpart (lib device) (part R)
|
|
(description Resistor)
|
|
(footprints
|
|
(fp R_*)
|
|
(fp R_*))
|
|
(fields
|
|
(field (name Reference) R)
|
|
(field (name Value) R))
|
|
(pins
|
|
(pin (num 1) (name ~) (type passive))
|
|
(pin (num 2) (name ~) (type passive))))
|
|
(libpart (lib stm8) (part STM8L101F2P)
|
|
(aliases
|
|
(alias STM8L101F3P))
|
|
(description "16MHz, 4K Flash, 1.5k RAM, USART, I2C, SPI, AC, TSSOP20")
|
|
(docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00220591.pdf)
|
|
(footprints
|
|
(fp TSSOP*))
|
|
(fields
|
|
(field (name Reference) U)
|
|
(field (name Value) STM8L101F2P)
|
|
(field (name Footprint) Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mm))
|
|
(pins
|
|
(pin (num 1) (name PC3/USART_TX) (type BiDi))
|
|
(pin (num 2) (name PC4/USART_CK/CCO) (type BiDi))
|
|
(pin (num 3) (name SWIM/BEEP/IR_TIM/PA0) (type power_in))
|
|
(pin (num 4) (name NRST/PA1) (type BiDi))
|
|
(pin (num 5) (name PA2) (type BiDi))
|
|
(pin (num 6) (name PA3) (type BiDi))
|
|
(pin (num 7) (name VSS) (type power_in))
|
|
(pin (num 8) (name VDD) (type power_in))
|
|
(pin (num 9) (name PD0/TIM3_CH2/COMP1_CH3) (type BiDi))
|
|
(pin (num 10) (name COMP1_CH1/TIM2_CH1/PB0) (type BiDi))
|
|
(pin (num 11) (name COMP1_CH2/TIM3_CH1/PB1) (type BiDi))
|
|
(pin (num 12) (name COMP2_CH1/TIM2_CH2/PB2) (type BiDi))
|
|
(pin (num 13) (name COMP2_CH2/TIM2_TRIG/PB3) (type BiDi))
|
|
(pin (num 14) (name SPI1_NSS/PB4) (type BiDi))
|
|
(pin (num 15) (name SPI_SCK/PB5) (type BiDi))
|
|
(pin (num 16) (name SPI1_MOSI/PB6) (type BiDi))
|
|
(pin (num 17) (name SPI1_MISO/PB7) (type BiDi))
|
|
(pin (num 18) (name PC0/I2C_SDA) (type BiDi))
|
|
(pin (num 19) (name PC1/I2C_SCL) (type BiDi))
|
|
(pin (num 20) (name PC2/USART_RX) (type BiDi)))))
|
|
(libraries
|
|
(library (logical device)
|
|
(uri /usr/share/kicad/library/device.lib))
|
|
(library (logical conn)
|
|
(uri /usr/share/kicad/library/conn.lib))
|
|
(library (logical stm8)
|
|
(uri /usr/share/kicad/library/stm8.lib)))
|
|
(nets
|
|
(net (code 1) (name /Tx)
|
|
(node (ref J2) (pin 1))
|
|
(node (ref U1) (pin 1)))
|
|
(net (code 2) (name /Rx)
|
|
(node (ref J2) (pin 2))
|
|
(node (ref U1) (pin 20)))
|
|
(net (code 3) (name "Net-(R1-Pad2)")
|
|
(node (ref U1) (pin 16))
|
|
(node (ref R1) (pin 2)))
|
|
(net (code 4) (name "Net-(R2-Pad2)")
|
|
(node (ref U1) (pin 17))
|
|
(node (ref R2) (pin 2)))
|
|
(net (code 5) (name GND)
|
|
(node (ref J3) (pin 1))
|
|
(node (ref J1) (pin 2))
|
|
(node (ref U1) (pin 7))
|
|
(node (ref J4) (pin 1))
|
|
(node (ref Q2) (pin 2))
|
|
(node (ref Q1) (pin 2))
|
|
(node (ref C1) (pin 2)))
|
|
(net (code 6) (name "Net-(J3-Pad2)")
|
|
(node (ref U1) (pin 2))
|
|
(node (ref J3) (pin 2)))
|
|
(net (code 7) (name "Net-(Q1-Pad1)")
|
|
(node (ref Q1) (pin 1))
|
|
(node (ref U1) (pin 13)))
|
|
(net (code 8) (name /Burner1)
|
|
(node (ref J5) (pin 7))
|
|
(node (ref U1) (pin 19)))
|
|
(net (code 9) (name /Burner0)
|
|
(node (ref J5) (pin 6))
|
|
(node (ref U1) (pin 18)))
|
|
(net (code 10) (name /LED1)
|
|
(node (ref R2) (pin 1))
|
|
(node (ref J5) (pin 5)))
|
|
(net (code 11) (name /LED0)
|
|
(node (ref R1) (pin 1))
|
|
(node (ref J5) (pin 4)))
|
|
(net (code 12) (name /B1On)
|
|
(node (ref U1) (pin 15))
|
|
(node (ref J5) (pin 3)))
|
|
(net (code 13) (name /B0On)
|
|
(node (ref U1) (pin 14))
|
|
(node (ref J5) (pin 2)))
|
|
(net (code 14) (name /Sound)
|
|
(node (ref Q1) (pin 3))
|
|
(node (ref Q2) (pin 3))
|
|
(node (ref J5) (pin 1)))
|
|
(net (code 15) (name VDD)
|
|
(node (ref C1) (pin 1))
|
|
(node (ref J4) (pin 2))
|
|
(node (ref J1) (pin 1))
|
|
(node (ref U1) (pin 8)))
|
|
(net (code 16) (name "Net-(U1-Pad12)")
|
|
(node (ref U1) (pin 12)))
|
|
(net (code 17) (name "Net-(U1-Pad11)")
|
|
(node (ref U1) (pin 11)))
|
|
(net (code 18) (name "Net-(U1-Pad10)")
|
|
(node (ref U1) (pin 10)))
|
|
(net (code 19) (name /O3)
|
|
(node (ref U1) (pin 9)))
|
|
(net (code 20) (name "Net-(U1-Pad6)")
|
|
(node (ref U1) (pin 6)))
|
|
(net (code 21) (name "Net-(U1-Pad5)")
|
|
(node (ref U1) (pin 5)))
|
|
(net (code 22) (name /SWIM)
|
|
(node (ref Q2) (pin 1))
|
|
(node (ref J4) (pin 4))
|
|
(node (ref U1) (pin 3)))
|
|
(net (code 23) (name /NRST)
|
|
(node (ref J4) (pin 3))
|
|
(node (ref U1) (pin 4))))) |