pi_clock

Crude and unpolished clock for Raspberry Pi
git clone https://git.e1e0.net/pi_clock.git
Log | Files | Refs | README | LICENSE

rpi_hat.net (18290B)


      1 (export (version D)
      2   (design
      3     (source /home/paco/src/git.onna.be/pi_clock/CAD/rpi_hat/rpi_hat.sch)
      4     (date "Sun Nov 10 18:52:54 2019")
      5     (tool "Eeschema 5.1.4")
      6     (sheet (number 1) (name /) (tstamps /)
      7       (title_block
      8         (title)
      9         (company)
     10         (rev)
     11         (date)
     12         (source rpi_hat.sch)
     13         (comment (number 1) (value ""))
     14         (comment (number 2) (value ""))
     15         (comment (number 3) (value ""))
     16         (comment (number 4) (value "")))))
     17   (components
     18     (comp (ref J5)
     19       (value Raspberry_Pi_2_3)
     20       (footprint Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Vertical)
     21       (datasheet https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_3bplus_1p0_reduced.pdf)
     22       (libsource (lib Connector) (part Raspberry_Pi_2_3) (description "expansion header for Raspberry Pi 2 & 3"))
     23       (sheetpath (names /) (tstamps /))
     24       (tstamp 5DC7E9AE))
     25     (comp (ref J6)
     26       (value "I2C 3.3V")
     27       (footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
     28       (datasheet ~)
     29       (libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
     30       (sheetpath (names /) (tstamps /))
     31       (tstamp 5DCB4BE1))
     32     (comp (ref J7)
     33       (value "I2C 5V")
     34       (footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
     35       (datasheet ~)
     36       (libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
     37       (sheetpath (names /) (tstamps /))
     38       (tstamp 5DCB4FDA))
     39     (comp (ref J3)
     40       (value "Buttons I/O")
     41       (footprint Connector_IDC:IDC-Header_2x03_P2.54mm_Vertical)
     42       (datasheet ~)
     43       (libsource (lib Connector_Generic) (part Conn_02x03_Odd_Even) (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
     44       (sheetpath (names /) (tstamps /))
     45       (tstamp 5DCB58F1))
     46     (comp (ref J4)
     47       (value UART/PWM)
     48       (footprint Connector_IDC:IDC-Header_2x03_P2.54mm_Vertical)
     49       (datasheet ~)
     50       (libsource (lib Connector_Generic) (part Conn_02x03_Odd_Even) (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
     51       (sheetpath (names /) (tstamps /))
     52       (tstamp 5DCB618C))
     53     (comp (ref J2)
     54       (value "SPI 3.3V")
     55       (footprint Connector_IDC:IDC-Header_2x03_P2.54mm_Vertical)
     56       (datasheet ~)
     57       (libsource (lib Connector_Generic) (part Conn_02x03_Odd_Even) (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
     58       (sheetpath (names /) (tstamps /))
     59       (tstamp 5DCB68E4))
     60     (comp (ref U1)
     61       (value MIC39100-3.3WS)
     62       (footprint Package_TO_SOT_SMD:SOT-223)
     63       (libsource (lib paco_varis) (part MIC39100-3.3WS) (description ""))
     64       (sheetpath (names /) (tstamps /))
     65       (tstamp 5DCB700D))
     66     (comp (ref D2)
     67       (value LED)
     68       (footprint LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
     69       (datasheet ~)
     70       (libsource (lib Device) (part LED) (description "Light emitting diode"))
     71       (sheetpath (names /) (tstamps /))
     72       (tstamp 5DCD0004))
     73     (comp (ref D3)
     74       (value LED)
     75       (footprint LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
     76       (datasheet ~)
     77       (libsource (lib Device) (part LED) (description "Light emitting diode"))
     78       (sheetpath (names /) (tstamps /))
     79       (tstamp 5DCD075C))
     80     (comp (ref R5)
     81       (value 300R)
     82       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
     83       (datasheet ~)
     84       (libsource (lib Device) (part R) (description Resistor))
     85       (sheetpath (names /) (tstamps /))
     86       (tstamp 5DCD1462))
     87     (comp (ref R6)
     88       (value 100R)
     89       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
     90       (datasheet ~)
     91       (libsource (lib Device) (part R) (description Resistor))
     92       (sheetpath (names /) (tstamps /))
     93       (tstamp 5DCD1695))
     94     (comp (ref R2)
     95       (value 10k)
     96       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
     97       (datasheet ~)
     98       (libsource (lib Device) (part R) (description Resistor))
     99       (sheetpath (names /) (tstamps /))
    100       (tstamp 5DD553C5))
    101     (comp (ref R1)
    102       (value 10k)
    103       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
    104       (datasheet ~)
    105       (libsource (lib Device) (part R) (description Resistor))
    106       (sheetpath (names /) (tstamps /))
    107       (tstamp 5DD55500))
    108     (comp (ref R3)
    109       (value 10k)
    110       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
    111       (datasheet ~)
    112       (libsource (lib Device) (part R) (description Resistor))
    113       (sheetpath (names /) (tstamps /))
    114       (tstamp 5DD5567E))
    115     (comp (ref R4)
    116       (value 10k)
    117       (footprint Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
    118       (datasheet ~)
    119       (libsource (lib Device) (part R) (description Resistor))
    120       (sheetpath (names /) (tstamps /))
    121       (tstamp 5DD559BA))
    122     (comp (ref Q1)
    123       (value MBT3904DW1)
    124       (footprint Package_TO_SOT_SMD:SOT-363_SC-70-6)
    125       (datasheet http://www.onsemi.com/pub_link/Collateral/MBT3904DW1T1-D.PDF)
    126       (libsource (lib Transistor_BJT) (part MBT3904DW1) (description "200mA IC, 40V Vce, Dual NPN/NPN Transistors, SOT-363"))
    127       (sheetpath (names /) (tstamps /))
    128       (tstamp 5DD7B8CA))
    129     (comp (ref Q2)
    130       (value MBT3904DW1)
    131       (footprint Package_TO_SOT_SMD:SOT-363_SC-70-6)
    132       (datasheet http://www.onsemi.com/pub_link/Collateral/MBT3904DW1T1-D.PDF)
    133       (libsource (lib Transistor_BJT) (part MBT3904DW1) (description "200mA IC, 40V Vce, Dual NPN/NPN Transistors, SOT-363"))
    134       (sheetpath (names /) (tstamps /))
    135       (tstamp 5DD7CED8))
    136     (comp (ref C2)
    137       (value "10uF Tantalum")
    138       (footprint Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
    139       (datasheet ~)
    140       (libsource (lib Device) (part CP) (description "Polarized capacitor"))
    141       (sheetpath (names /) (tstamps /))
    142       (tstamp 5DE339CE))
    143     (comp (ref C1)
    144       (value 1uF)
    145       (footprint Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder)
    146       (datasheet ~)
    147       (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
    148       (sheetpath (names /) (tstamps /))
    149       (tstamp 5DC6DC36)))
    150   (libparts
    151     (libpart (lib Connector) (part Raspberry_Pi_2_3)
    152       (description "expansion header for Raspberry Pi 2 & 3")
    153       (docs https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_3bplus_1p0_reduced.pdf)
    154       (footprints
    155         (fp PinHeader*2x20*P2.54mm*Vertical*)
    156         (fp PinSocket*2x20*P2.54mm*Vertical*))
    157       (fields
    158         (field (name Reference) J)
    159         (field (name Value) Raspberry_Pi_2_3))
    160       (pins
    161         (pin (num 1) (name 3V3) (type power_in))
    162         (pin (num 2) (name 5V) (type power_in))
    163         (pin (num 3) (name SDA/GPIO2) (type BiDi))
    164         (pin (num 4) (name 5V) (type power_in))
    165         (pin (num 5) (name SCL/GPIO3) (type BiDi))
    166         (pin (num 6) (name GND) (type power_in))
    167         (pin (num 7) (name GCLK0/GPIO4) (type BiDi))
    168         (pin (num 8) (name GPIO14/TXD) (type BiDi))
    169         (pin (num 9) (name GND) (type power_in))
    170         (pin (num 10) (name GPIO15/RXD) (type BiDi))
    171         (pin (num 11) (name GPIO17) (type BiDi))
    172         (pin (num 12) (name GPIO18/PWM0) (type BiDi))
    173         (pin (num 13) (name GPIO27) (type BiDi))
    174         (pin (num 14) (name GND) (type power_in))
    175         (pin (num 15) (name GPIO22) (type BiDi))
    176         (pin (num 16) (name GPIO23) (type BiDi))
    177         (pin (num 17) (name 3V3) (type power_in))
    178         (pin (num 18) (name GPIO24) (type BiDi))
    179         (pin (num 19) (name MOSI0/GPIO10) (type BiDi))
    180         (pin (num 20) (name GND) (type power_in))
    181         (pin (num 21) (name MISO0/GPIO9) (type BiDi))
    182         (pin (num 22) (name GPIO25) (type BiDi))
    183         (pin (num 23) (name SCLK0/GPIO11) (type BiDi))
    184         (pin (num 24) (name ~CE0~/GPIO8) (type BiDi))
    185         (pin (num 25) (name GND) (type power_in))
    186         (pin (num 26) (name ~CE1~/GPIO7) (type BiDi))
    187         (pin (num 27) (name ID_SD/GPIO0) (type BiDi))
    188         (pin (num 28) (name ID_SC/GPIO1) (type BiDi))
    189         (pin (num 29) (name GCLK1/GPIO5) (type BiDi))
    190         (pin (num 30) (name GND) (type power_in))
    191         (pin (num 31) (name GCLK2/GPIO6) (type BiDi))
    192         (pin (num 32) (name PWM0/GPIO12) (type BiDi))
    193         (pin (num 33) (name PWM1/GPIO13) (type BiDi))
    194         (pin (num 34) (name GND) (type power_in))
    195         (pin (num 35) (name GPIO19/MISO1) (type BiDi))
    196         (pin (num 36) (name GPIO16) (type BiDi))
    197         (pin (num 37) (name GPIO26) (type BiDi))
    198         (pin (num 38) (name GPIO20/MOSI1) (type BiDi))
    199         (pin (num 39) (name GND) (type power_in))
    200         (pin (num 40) (name GPIO21/SCLK1) (type BiDi))))
    201     (libpart (lib Connector_Generic) (part Conn_01x04)
    202       (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
    203       (docs ~)
    204       (footprints
    205         (fp Connector*:*_1x??_*))
    206       (fields
    207         (field (name Reference) J)
    208         (field (name Value) Conn_01x04))
    209       (pins
    210         (pin (num 1) (name Pin_1) (type passive))
    211         (pin (num 2) (name Pin_2) (type passive))
    212         (pin (num 3) (name Pin_3) (type passive))
    213         (pin (num 4) (name Pin_4) (type passive))))
    214     (libpart (lib Connector_Generic) (part Conn_02x03_Odd_Even)
    215       (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
    216       (docs ~)
    217       (footprints
    218         (fp Connector*:*_2x??_*))
    219       (fields
    220         (field (name Reference) J)
    221         (field (name Value) Conn_02x03_Odd_Even))
    222       (pins
    223         (pin (num 1) (name Pin_1) (type passive))
    224         (pin (num 2) (name Pin_2) (type passive))
    225         (pin (num 3) (name Pin_3) (type passive))
    226         (pin (num 4) (name Pin_4) (type passive))
    227         (pin (num 5) (name Pin_5) (type passive))
    228         (pin (num 6) (name Pin_6) (type passive))))
    229     (libpart (lib Device) (part C)
    230       (description "Unpolarized capacitor")
    231       (docs ~)
    232       (footprints
    233         (fp C_*))
    234       (fields
    235         (field (name Reference) C)
    236         (field (name Value) C))
    237       (pins
    238         (pin (num 1) (name ~) (type passive))
    239         (pin (num 2) (name ~) (type passive))))
    240     (libpart (lib Device) (part CP)
    241       (description "Polarized capacitor")
    242       (docs ~)
    243       (footprints
    244         (fp CP_*))
    245       (fields
    246         (field (name Reference) C)
    247         (field (name Value) CP))
    248       (pins
    249         (pin (num 1) (name ~) (type passive))
    250         (pin (num 2) (name ~) (type passive))))
    251     (libpart (lib Device) (part LED)
    252       (description "Light emitting diode")
    253       (docs ~)
    254       (footprints
    255         (fp LED*)
    256         (fp LED_SMD:*)
    257         (fp LED_THT:*))
    258       (fields
    259         (field (name Reference) D)
    260         (field (name Value) LED))
    261       (pins
    262         (pin (num 1) (name K) (type passive))
    263         (pin (num 2) (name A) (type passive))))
    264     (libpart (lib Device) (part R)
    265       (description Resistor)
    266       (docs ~)
    267       (footprints
    268         (fp R_*))
    269       (fields
    270         (field (name Reference) R)
    271         (field (name Value) R))
    272       (pins
    273         (pin (num 1) (name ~) (type passive))
    274         (pin (num 2) (name ~) (type passive))))
    275     (libpart (lib Transistor_BJT) (part BC846BS)
    276       (aliases
    277         (alias BC846BDW1)
    278         (alias BC847BS)
    279         (alias BC847BDW1)
    280         (alias PMBT2222AYS)
    281         (alias MMDT2222A)
    282         (alias MBT2222ADW1T1)
    283         (alias FFB2222A)
    284         (alias PMBT3904YS)
    285         (alias MMDT3904)
    286         (alias MBT3904DW1)
    287         (alias FFB3904)
    288         (alias MMDT5551)
    289         (alias FFB5551))
    290       (description "100mA IC, 65V Vce, Dual NPN/NPN Transistors, SOT-363")
    291       (docs https://assets.nexperia.com/documents/data-sheet/BC846BS.pdf)
    292       (footprints
    293         (fp SOT?363*))
    294       (fields
    295         (field (name Reference) Q)
    296         (field (name Value) BC846BS)
    297         (field (name Footprint) Package_TO_SOT_SMD:SOT-363_SC-70-6))
    298       (pins
    299         (pin (num 1) (name E1) (type passive))
    300         (pin (num 2) (name B1) (type input))
    301         (pin (num 3) (name C2) (type passive))
    302         (pin (num 4) (name E2) (type passive))
    303         (pin (num 5) (name B2) (type input))
    304         (pin (num 6) (name C1) (type passive))))
    305     (libpart (lib paco_varis) (part MIC39100-3.3WS)
    306       (fields
    307         (field (name Reference) U)
    308         (field (name Value) MIC39100-3.3WS))
    309       (pins
    310         (pin (num 1) (name IN) (type power_in))
    311         (pin (num 2) (name GND) (type power_in))
    312         (pin (num 3) (name OUT) (type power_out))
    313         (pin (num 4) (name GND) (type power_in)))))
    314   (libraries
    315     (library (logical Connector)
    316       (uri /usr/local/share/kicad/library/Connector.lib))
    317     (library (logical Connector_Generic)
    318       (uri /usr/local/share/kicad/library/Connector_Generic.lib))
    319     (library (logical Device)
    320       (uri /usr/local/share/kicad/library/Device.lib))
    321     (library (logical Transistor_BJT)
    322       (uri /usr/local/share/kicad/library/Transistor_BJT.lib))
    323     (library (logical paco_varis)
    324       (uri /home/paco/src/galadriel/kicad_libs/various.lib)))
    325   (nets
    326     (net (code 1) (name /PI_RX)
    327       (node (ref J5) (pin 10))
    328       (node (ref J4) (pin 3)))
    329     (net (code 2) (name "Net-(J5-Pad11)")
    330       (node (ref J5) (pin 11)))
    331     (net (code 3) (name /PI_PWM)
    332       (node (ref J5) (pin 12))
    333       (node (ref J4) (pin 5)))
    334     (net (code 4) (name "Net-(J5-Pad13)")
    335       (node (ref J5) (pin 13)))
    336     (net (code 5) (name /Button1)
    337       (node (ref J3) (pin 1))
    338       (node (ref J5) (pin 15)))
    339     (net (code 6) (name /Button2)
    340       (node (ref J3) (pin 3))
    341       (node (ref J5) (pin 16)))
    342     (net (code 7) (name /Button3)
    343       (node (ref J3) (pin 5))
    344       (node (ref J5) (pin 18)))
    345     (net (code 8) (name /PI_MOSI)
    346       (node (ref J5) (pin 19))
    347       (node (ref J2) (pin 3)))
    348     (net (code 9) (name /PI_MISO)
    349       (node (ref J2) (pin 1))
    350       (node (ref J5) (pin 21)))
    351     (net (code 10) (name "Net-(J5-Pad22)")
    352       (node (ref J5) (pin 22)))
    353     (net (code 11) (name /PI_CLK)
    354       (node (ref J2) (pin 5))
    355       (node (ref J5) (pin 23)))
    356     (net (code 12) (name /CS_1)
    357       (node (ref J5) (pin 24))
    358       (node (ref J2) (pin 4)))
    359     (net (code 13) (name "Net-(J5-Pad26)")
    360       (node (ref J5) (pin 26)))
    361     (net (code 14) (name "Net-(J5-Pad27)")
    362       (node (ref J5) (pin 27)))
    363     (net (code 15) (name "Net-(J5-Pad28)")
    364       (node (ref J5) (pin 28)))
    365     (net (code 16) (name "Net-(J5-Pad29)")
    366       (node (ref J5) (pin 29)))
    367     (net (code 17) (name /PI_SDA)
    368       (node (ref Q1) (pin 6))
    369       (node (ref J5) (pin 3))
    370       (node (ref J6) (pin 2))
    371       (node (ref Q1) (pin 4)))
    372     (net (code 18) (name "Net-(J5-Pad31)")
    373       (node (ref J5) (pin 31)))
    374     (net (code 19) (name "Net-(J5-Pad32)")
    375       (node (ref J5) (pin 32)))
    376     (net (code 20) (name "Net-(J5-Pad33)")
    377       (node (ref J5) (pin 33)))
    378     (net (code 21) (name "Net-(J5-Pad35)")
    379       (node (ref J5) (pin 35)))
    380     (net (code 22) (name "Net-(J5-Pad36)")
    381       (node (ref J5) (pin 36)))
    382     (net (code 23) (name "Net-(J5-Pad37)")
    383       (node (ref J5) (pin 37)))
    384     (net (code 24) (name "Net-(J5-Pad38)")
    385       (node (ref J5) (pin 38)))
    386     (net (code 25) (name "Net-(J5-Pad40)")
    387       (node (ref J5) (pin 40)))
    388     (net (code 26) (name /PI_SCL)
    389       (node (ref J5) (pin 5))
    390       (node (ref Q2) (pin 4))
    391       (node (ref J6) (pin 3))
    392       (node (ref Q2) (pin 6)))
    393     (net (code 27) (name "Net-(J5-Pad7)")
    394       (node (ref J5) (pin 7)))
    395     (net (code 28) (name /PI_TX)
    396       (node (ref J4) (pin 1))
    397       (node (ref J5) (pin 8)))
    398     (net (code 29) (name +3V3)
    399       (node (ref J6) (pin 1))
    400       (node (ref C2) (pin 1))
    401       (node (ref J4) (pin 2))
    402       (node (ref D3) (pin 2))
    403       (node (ref R2) (pin 1))
    404       (node (ref J2) (pin 2))
    405       (node (ref U1) (pin 3))
    406       (node (ref R1) (pin 1)))
    407     (net (code 30) (name "Net-(D2-Pad1)")
    408       (node (ref D2) (pin 1))
    409       (node (ref R5) (pin 1)))
    410     (net (code 31) (name "Net-(D3-Pad1)")
    411       (node (ref D3) (pin 1))
    412       (node (ref R6) (pin 1)))
    413     (net (code 32) (name "Net-(Q1-Pad2)")
    414       (node (ref R2) (pin 2))
    415       (node (ref Q1) (pin 2))
    416       (node (ref Q1) (pin 5)))
    417     (net (code 33) (name "Net-(Q2-Pad2)")
    418       (node (ref Q2) (pin 2))
    419       (node (ref Q2) (pin 5))
    420       (node (ref R1) (pin 2)))
    421     (net (code 34) (name /SDA_5)
    422       (node (ref Q1) (pin 1))
    423       (node (ref R3) (pin 2))
    424       (node (ref J7) (pin 2))
    425       (node (ref Q1) (pin 3)))
    426     (net (code 35) (name /SDL_5)
    427       (node (ref Q2) (pin 1))
    428       (node (ref Q2) (pin 3))
    429       (node (ref R4) (pin 2))
    430       (node (ref J7) (pin 3)))
    431     (net (code 36) (name /PI_3.3V)
    432       (node (ref J5) (pin 1))
    433       (node (ref J5) (pin 17)))
    434     (net (code 37) (name +5V)
    435       (node (ref R4) (pin 1))
    436       (node (ref D2) (pin 2))
    437       (node (ref J7) (pin 1))
    438       (node (ref R3) (pin 1))
    439       (node (ref J5) (pin 4))
    440       (node (ref C1) (pin 1))
    441       (node (ref J5) (pin 2))
    442       (node (ref U1) (pin 1)))
    443     (net (code 38) (name GND)
    444       (node (ref R6) (pin 2))
    445       (node (ref R5) (pin 2))
    446       (node (ref U1) (pin 4))
    447       (node (ref U1) (pin 2))
    448       (node (ref J2) (pin 6))
    449       (node (ref J4) (pin 6))
    450       (node (ref J4) (pin 4))
    451       (node (ref J3) (pin 6))
    452       (node (ref J3) (pin 4))
    453       (node (ref J3) (pin 2))
    454       (node (ref J7) (pin 4))
    455       (node (ref J6) (pin 4))
    456       (node (ref C2) (pin 2))
    457       (node (ref J5) (pin 9))
    458       (node (ref J5) (pin 6))
    459       (node (ref J5) (pin 39))
    460       (node (ref J5) (pin 34))
    461       (node (ref J5) (pin 30))
    462       (node (ref J5) (pin 25))
    463       (node (ref J5) (pin 20))
    464       (node (ref C1) (pin 2))
    465       (node (ref J5) (pin 14)))))