├── libs ├── matt.dcm ├── barrel.pretty │ └── BARREL_JACK.kicad_mod ├── matt.pretty │ ├── esp8266.kicad_mod │ ├── SW_SPST_FSMSM.kicad_mod │ └── esp8266-12.kicad_mod └── matt.lib ├── dvi-pmod ├── board.png ├── schematic.png ├── fp-lib-table ├── fp.pretty │ ├── via.kicad_mod │ └── molex dvi ra.kicad_mod ├── README.md └── libs │ └── dvi.lib ├── esp8266 ├── libs │ ├── esp8266.bck │ ├── esp8266.dcm │ ├── esp8266.bak │ └── esp8266.lib ├── fp-lib-table ├── esp8266 breakout.pro ├── footprints │ └── esp8266.kicad_mod └── esp8266 breakout-cache.lib ├── modbox-lcd ├── libs │ ├── tps61040.dcm │ ├── testpoint.lib │ └── tps61040.lib ├── fab │ └── fab.zip ├── README.md └── fp.pretty │ ├── via.kicad_mod │ ├── button.kicad_mod │ ├── 3mm pot.kicad_mod │ └── lcd-endconn.kicad_mod ├── attiny88 ├── fab │ └── fab.zip ├── libs │ ├── testpoint.lib │ └── ab2_input_devices.lib └── fp.pretty │ ├── testpoint.kicad_mod │ ├── avx.kicad_mod │ ├── molex 4way cgrid.kicad_mod │ └── AB2_ROTARY_ENCODER_W_SWITCH.kicad_mod ├── esp8266-temp ├── libs │ ├── esp8266.bck │ ├── esp8266.dcm │ ├── esp8266.lib │ └── esp8266.bak ├── fp-lib-table ├── footprints │ └── esp8266.kicad_mod └── esp8266 temp.pro ├── breadboard-psu ├── barrel.zip ├── layout.png ├── pcb-psu.jpg ├── schematic.png ├── handout.md ├── breadboard-psu.pro ├── README.md └── breadboard-psu.sch ├── esp8266-12-breakout ├── libs │ ├── esp8266-12.bck │ ├── esp8266-12.dcm │ ├── esp8266-12.bak │ ├── esp8266-12.lib │ └── esp8266-12.pretty │ │ └── esp8266-12.kicad_mod ├── fp-lib-table └── esp8266-12-breakout.pro ├── icestick-pmod-adapter ├── libs │ ├── icestick.dcm │ └── icestick.lib ├── fp-lib-table ├── config.rc ├── fp.pretty │ └── icestick.kicad_mod └── icestick-pmod-adapter.pro ├── modbox-brain ├── schematic.pdf ├── esp-prog-test │ ├── ck-results │ └── nodemcu-results ├── libs │ ├── testpoint.lib │ ├── lmr1501.lib │ ├── ncp694.lib │ ├── mcp73831t.lib │ ├── esp8266-12.lib │ └── cp2102.lib ├── fixes.md ├── fp.pretty │ ├── do-214aa.kicad_mod │ ├── sod-123w.kicad_mod │ ├── ra tactile.kicad_mod │ ├── molex 4way cgrid.kicad_mod │ ├── USB_B_MINI_SMD.kicad_mod │ └── esp8266-12.kicad_mod ├── README.md └── cp2102.sch ├── oobb-namebadge ├── docs │ ├── back.png │ ├── boost.png │ ├── front.png │ ├── hello.jpg │ ├── hello.png │ ├── TC4056A.pdf │ ├── schematic.pdf │ └── hello.svg ├── fp-lib-table ├── oobb-namebadge-2019-10-10-fab.zip ├── config.rc ├── oobb-namebadge.lib ├── oobb.pretty │ ├── oobb.kicad_mod │ ├── lipo-charger-boost.kicad_mod │ ├── Pin_Header_Straight_2x03_Pitch2.54mm.kicad_mod │ └── icebreaker.kicad_mod ├── README.md ├── oobb-namebadge.pro ├── oobb-namebadge-cache.lib └── icebreaker.pro ├── earth-to-mars ├── fp-lib-table ├── libs │ ├── dht11.lib │ └── mq8.lib ├── fp.pretty │ ├── mq8.kicad_mod │ ├── dht11.kicad_mod │ └── SOT-223.kicad_mod ├── earth-to-mars.pro └── earth-to-mars.sch ├── wiimote-fpga ├── fp-lib-table ├── README.md ├── libs │ ├── oscillator.lib │ └── wiimote-camera.lib └── fp.pretty │ ├── oscillator.kicad_mod │ └── wiimote.kicad_mod ├── scripts ├── config.rc ├── action_menu_text_by_date.py ├── README.md ├── processBOM.py ├── bom_csv_grouped_by_value_all.py └── export_pcb.py ├── esp8266-12-breakout-smt ├── todo.md ├── bom └── esp8266-12-breakout.pro ├── bbb-adc ├── fab │ └── millproject ├── libs │ ├── ref5050.lib │ └── ads7883.lib └── fp.pretty │ └── SOIC-8-N.kicad_mod ├── ETCH.md ├── notes.md └── python_api └── test.py /libs/matt.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /dvi-pmod/board.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/dvi-pmod/board.png -------------------------------------------------------------------------------- /esp8266/libs/esp8266.bck: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /esp8266/libs/esp8266.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /modbox-lcd/libs/tps61040.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /attiny88/fab/fab.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/attiny88/fab/fab.zip -------------------------------------------------------------------------------- /esp8266-temp/libs/esp8266.bck: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /esp8266-temp/libs/esp8266.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /dvi-pmod/schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/dvi-pmod/schematic.png -------------------------------------------------------------------------------- /modbox-lcd/fab/fab.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/modbox-lcd/fab/fab.zip -------------------------------------------------------------------------------- /breadboard-psu/barrel.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/breadboard-psu/barrel.zip -------------------------------------------------------------------------------- /breadboard-psu/layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/breadboard-psu/layout.png -------------------------------------------------------------------------------- /breadboard-psu/pcb-psu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/breadboard-psu/pcb-psu.jpg -------------------------------------------------------------------------------- /esp8266-12-breakout/libs/esp8266-12.bck: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /esp8266-12-breakout/libs/esp8266-12.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/libs/icestick.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /modbox-brain/schematic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/modbox-brain/schematic.pdf -------------------------------------------------------------------------------- /modbox-lcd/README.md: -------------------------------------------------------------------------------- 1 | fixes for v1.1 2 | 3 | pot is connected wrong 4 | holes too small for lcd 5 | -------------------------------------------------------------------------------- /breadboard-psu/schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/breadboard-psu/schematic.png -------------------------------------------------------------------------------- /oobb-namebadge/docs/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/back.png -------------------------------------------------------------------------------- /oobb-namebadge/docs/boost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/boost.png -------------------------------------------------------------------------------- /oobb-namebadge/docs/front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/front.png -------------------------------------------------------------------------------- /oobb-namebadge/docs/hello.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/hello.jpg -------------------------------------------------------------------------------- /oobb-namebadge/docs/hello.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/hello.png -------------------------------------------------------------------------------- /oobb-namebadge/docs/TC4056A.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/TC4056A.pdf -------------------------------------------------------------------------------- /oobb-namebadge/docs/schematic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/docs/schematic.pdf -------------------------------------------------------------------------------- /earth-to-mars/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name fp)(type KiCad)(uri ./fp.pretty)(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /dvi-pmod/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name fp)(type KiCad)(uri "$(KIPRJMOD)/fp.pretty")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /wiimote-fpga/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name fp)(type KiCad)(uri "$(KIPRJMOD)/fp.pretty")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name fp)(type KiCad)(uri "$(KIPRJMOD)/fp.pretty")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /oobb-namebadge/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name oobb)(type KiCad)(uri "$(KIPRJMOD)/oobb.pretty")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /breadboard-psu/handout.md: -------------------------------------------------------------------------------- 1 | # KiCad workshop schematic 2 | 3 | Shortlink to workshop docs: ven.nz/kicad-ws 4 | 5 | ![schematic](schematic.png) 6 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb-namebadge-2019-10-10-fab.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattvenn/kicad/HEAD/oobb-namebadge/oobb-namebadge-2019-10-10-fab.zip -------------------------------------------------------------------------------- /esp8266-12-breakout/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name esp8266-12)(type KiCad)(uri ./libs/esp8266-12.pretty)(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /modbox-brain/esp-prog-test/ck-results: -------------------------------------------------------------------------------- 1 | 0 2 | 0 3 | 0 4 | 0 5 | 0 6 | 0 7 | 0 8 | 0 9 | 0 10 | 0 11 | 0 12 | 0 13 | 0 14 | 0 15 | 0 16 | 0 17 | 0 18 | 255 19 | 255 20 | 0 21 | -------------------------------------------------------------------------------- /modbox-brain/esp-prog-test/nodemcu-results: -------------------------------------------------------------------------------- 1 | 0 2 | 0 3 | 0 4 | 255 5 | 0 6 | 0 7 | 0 8 | 0 9 | 255 10 | 0 11 | 0 12 | 0 13 | 0 14 | 0 15 | 0 16 | 0 17 | 0 18 | 0 19 | 0 20 | 0 21 | -------------------------------------------------------------------------------- /esp8266/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name custom)(type KiCad)(uri ./footprints/)(options "")(descr "")) 3 | (lib (name onewire)(type Legacy)(uri ./footprints/1wire.mod)(options "")(descr "")) 4 | ) 5 | -------------------------------------------------------------------------------- /scripts/config.rc: -------------------------------------------------------------------------------- 1 | ; pcb config 2 | [board] 3 | mask_color = white 4 | silk_color = black 5 | material = FR4 6 | thickness = 1.6 7 | 8 | [logo] 9 | logo = /home/matt/matt@dygma.com/Dygma/Media/Logo/Dygma_logo_color.png 10 | -------------------------------------------------------------------------------- /esp8266-temp/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name custom)(type KiCad)(uri /home/mattvenn/work/kicad/esp8266-temp/footprints.pretty/)(options "")(descr "")) 3 | (lib (name onewire)(type Legacy)(uri ./footprints/1wire.mod)(options "")(descr "")) 4 | ) 5 | -------------------------------------------------------------------------------- /oobb-namebadge/config.rc: -------------------------------------------------------------------------------- 1 | ; pcb config 2 | [board] 3 | mask_color = red 4 | silk_color = white 5 | material = FR4 6 | thickness = 1.6 7 | copper = 35um 8 | layers = 2 9 | 10 | [logo] 11 | logo = /home/matt/work/finances/mattvenn_logo.png 12 | 13 | [meta] 14 | name = "OOBB badge" 15 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/config.rc: -------------------------------------------------------------------------------- 1 | ; pcb config 2 | [board] 3 | mask_color = green/any 4 | silk_color = white 5 | material = FR4 6 | thickness = 1.6 7 | layers = 2 8 | copper = 35um 9 | 10 | [logo] 11 | logo = /home/matt/work/finances/mattvenn_logo.png 12 | 13 | [meta] 14 | name = icestick double pmod adapter 15 | -------------------------------------------------------------------------------- /wiimote-fpga/README.md: -------------------------------------------------------------------------------- 1 | # breakout board for pixart IR camera used in wiimote 2 | 3 | * PMOD interface. 4 | * reset should be high for camera to run 5 | * either use 25MHz onboard oscillator or supply 25MHz on clk pin 6 | 7 | # bugs 8 | 9 | * mixed sda and scl labels (fixed) 10 | * crystal footprint was reversed (fixed) 11 | -------------------------------------------------------------------------------- /attiny88/libs/testpoint.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # testpoint 5 | # 6 | DEF testpoint U 0 40 Y Y 1 F N 7 | F0 "U" 0 -150 60 H V C CNN 8 | F1 "testpoint" 50 150 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | X tp 1 0 0 200 R 50 50 1 1 I 13 | ENDDRAW 14 | ENDDEF 15 | # 16 | #End Library 17 | -------------------------------------------------------------------------------- /modbox-brain/libs/testpoint.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # testpoint 5 | # 6 | DEF testpoint U 0 40 Y Y 1 F N 7 | F0 "U" 0 -150 60 H V C CNN 8 | F1 "testpoint" 50 150 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | X tp 1 0 0 200 R 50 50 1 1 I 13 | ENDDRAW 14 | ENDDEF 15 | # 16 | #End Library 17 | -------------------------------------------------------------------------------- /modbox-lcd/libs/testpoint.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # testpoint 5 | # 6 | DEF testpoint U 0 40 Y Y 1 F N 7 | F0 "U" 0 -150 60 H V C CNN 8 | F1 "testpoint" 50 150 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | X tp 1 0 0 200 R 50 50 1 1 I 13 | ENDDRAW 14 | ENDDEF 15 | # 16 | #End Library 17 | -------------------------------------------------------------------------------- /esp8266-12-breakout-smt/todo.md: -------------------------------------------------------------------------------- 1 | # v2 2 | 3 | * silkscreen of 4&5 changed 4 | * silkscreen of ftdi pinout added 5 | 6 | # v1 7 | 8 | * bug: pins 4&5 switched - silkscreen of the modules lines up, but not working in SW 9 | See adafruit's huzzah: https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/using-nodemcu-lua 10 | * smt switch, which one from farnell? 11 | * power led & resistor 12 | -------------------------------------------------------------------------------- /attiny88/fp.pretty/testpoint.kicad_mod: -------------------------------------------------------------------------------- 1 | (module testpoint (layer F.Cu) (tedit 57F4B914) 2 | (fp_text reference REF** (at 1.651 -2.032) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value tp (at -1.651 -2.159) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (pad 1 thru_hole circle (at 0 -0.127) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 9 | ) 10 | -------------------------------------------------------------------------------- /dvi-pmod/fp.pretty/via.kicad_mod: -------------------------------------------------------------------------------- 1 | (module fp:via (layer F.Cu) (tedit 5809D715) 2 | (fp_text reference REF** (at 0.075 0.025) (layer F.SilkS) 3 | (effects (font (size 0.127 0.127) (thickness 0.03175))) 4 | ) 5 | (fp_text value via (at 0.075 -0.925) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (pad 1 thru_hole circle (at 0 0) (size 0.6 0.6) (drill 0.3) (layers *.Cu) 9 | (zone_connect 2)) 10 | ) 11 | -------------------------------------------------------------------------------- /modbox-lcd/fp.pretty/via.kicad_mod: -------------------------------------------------------------------------------- 1 | (module fp:via (layer F.Cu) (tedit 5809D715) 2 | (fp_text reference REF** (at 0.075 0.025) (layer F.SilkS) 3 | (effects (font (size 0.127 0.127) (thickness 0.03175))) 4 | ) 5 | (fp_text value via (at 0.075 -0.925) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (pad 1 thru_hole circle (at 0 0) (size 0.6 0.6) (drill 0.3) (layers *.Cu) 9 | (zone_connect 2)) 10 | ) 11 | -------------------------------------------------------------------------------- /earth-to-mars/libs/dht11.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # dht11 5 | # 6 | DEF dht11 U 0 40 Y Y 1 F N 7 | F0 "U" -50 -350 60 H V C CNN 8 | F1 "dht11" -50 250 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -200 200 150 -300 0 1 0 N 13 | X vcc 1 -400 100 200 R 50 50 1 1 I 14 | X data 2 -400 0 200 R 50 50 1 1 I 15 | X n/c 3 -400 -100 200 R 50 50 1 1 I 16 | X gnd 4 -400 -200 200 R 50 50 1 1 I 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | #End Library 21 | -------------------------------------------------------------------------------- /wiimote-fpga/libs/oscillator.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # oscillator 5 | # 6 | DEF oscillator U 0 40 Y Y 1 F N 7 | F0 "U" -50 -300 60 H V C CNN 8 | F1 "oscillator" -50 350 60 H V C CNN 9 | F2 "" 150 50 60 H I C CNN 10 | F3 "" 150 50 60 H I C CNN 11 | DRAW 12 | S -350 300 300 -250 0 1 0 N 13 | X n/c 1 -550 150 200 R 50 50 1 1 N 14 | X gnd 4 -550 -150 200 R 50 50 1 1 W 15 | X output 5 500 -150 200 L 50 50 1 1 O 16 | X +vcc 8 500 150 200 L 50 50 1 1 W 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | #End Library 21 | -------------------------------------------------------------------------------- /modbox-brain/libs/lmr1501.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # lmr1501 5 | # 6 | DEF lmr1501 U 0 40 Y Y 1 F N 7 | F0 "U" 300 550 60 H V C CNN 8 | F1 "lmr1501" -100 550 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -200 400 250 -150 0 1 0 N 13 | X sw 1 450 300 200 L 50 50 1 1 I 14 | X gnd 2 50 -350 200 U 50 50 1 1 I 15 | X fb 3 450 -50 200 L 50 50 1 1 I 16 | X en 4 -400 -50 200 R 50 50 1 1 I 17 | X vin 5 -400 300 200 R 50 50 1 1 I 18 | ENDDRAW 19 | ENDDEF 20 | # 21 | #End Library 22 | -------------------------------------------------------------------------------- /modbox-brain/libs/ncp694.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # ncp694 5 | # 6 | DEF ncp694 U 0 40 Y Y 1 F N 7 | F0 "U" 500 200 60 H V C CNN 8 | F1 "ncp694" 950 200 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S 550 50 1100 -500 0 1 0 N 13 | X nc 1 1300 -200 200 L 50 50 1 1 I 14 | X gnd 2 850 -700 200 U 50 50 1 1 I 15 | X enable 3 350 -200 200 R 50 50 1 1 I 16 | X vin 4 350 -50 200 R 50 50 1 1 I 17 | X vout 5 1300 -50 200 L 50 50 1 1 I 18 | ENDDRAW 19 | ENDDEF 20 | # 21 | #End Library 22 | -------------------------------------------------------------------------------- /modbox-lcd/libs/tps61040.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # tps61040 5 | # 6 | DEF tps61040 U 0 40 Y Y 1 F N 7 | F0 "U" 0 -250 60 H V C CNN 8 | F1 "tps61040" -50 400 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -350 300 300 -200 0 1 0 N 13 | X sw 1 500 200 200 L 50 50 1 1 I 14 | X gnd 2 500 -100 200 L 50 50 1 1 I 15 | X fb 3 500 50 200 L 50 50 1 1 I 16 | X en 4 -550 -100 200 R 50 50 1 1 I 17 | X vin 5 -550 200 200 R 50 50 1 1 I 18 | ENDDRAW 19 | ENDDEF 20 | # 21 | #End Library 22 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb-namebadge.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # lipo-charger-boost 5 | # 6 | DEF lipo-charger-boost U 0 40 Y Y 1 F N 7 | F0 "U" 550 450 60 H V C CNN 8 | F1 "lipo-charger-boost" 0 450 60 H V C CNN 9 | F2 "" 0 0 60 H I C CNN 10 | F3 "" 0 0 60 H I C CNN 11 | DRAW 12 | S -200 350 200 -350 0 1 0 N 13 | X gnd 1 -300 250 100 R 50 50 1 1 I 14 | X charge 2 -300 150 100 R 50 50 1 1 I 15 | X out 3 -300 50 100 R 50 50 1 1 I 16 | X batt+ 4 -300 -200 100 R 50 50 1 1 I 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | #End Library 21 | -------------------------------------------------------------------------------- /modbox-brain/libs/mcp73831t.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # MCP73831T 5 | # 6 | DEF MCP73831T U 0 40 Y Y 1 F N 7 | F0 "U" -100 300 60 H V C CNN 8 | F1 "MCP73831T" -50 -450 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -400 250 300 -300 0 1 0 N 13 | X stat 1 -600 -200 200 R 50 50 1 1 T 14 | X vss 2 500 -200 200 L 50 50 1 1 W 15 | X vbat 3 500 150 200 L 50 50 1 1 W 16 | X vdd 4 -600 150 200 R 50 50 1 1 W 17 | X prog 5 500 0 200 L 50 50 1 1 I 18 | ENDDRAW 19 | ENDDEF 20 | # 21 | #End Library 22 | -------------------------------------------------------------------------------- /earth-to-mars/libs/mq8.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # mq8 5 | # 6 | DEF mq8 U 0 40 Y Y 1 F N 7 | F0 "U" -100 400 60 H V C CNN 8 | F1 "mq8" -100 -150 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -350 350 100 -50 0 1 0 N 13 | X s+ 1 -550 250 200 R 50 50 1 1 I 14 | X h+ 2 -550 150 200 R 50 50 1 1 I 15 | X s+ 3 -550 50 200 R 50 50 1 1 I 16 | X s- 4 300 50 200 L 50 50 1 1 I 17 | X h- 5 300 150 200 L 50 50 1 1 I 18 | X s- 6 300 250 200 L 50 50 1 1 I 19 | ENDDRAW 20 | ENDDEF 21 | # 22 | #End Library 23 | -------------------------------------------------------------------------------- /attiny88/fp.pretty/avx.kicad_mod: -------------------------------------------------------------------------------- 1 | (module avx (layer F.Cu) (tedit 57F4D389) 2 | (fp_text reference REF** (at 2.1 2.9) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value avx (at -2.4 2.8) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (pad 2 smd rect (at 1 0) (size 1 4) (layers F.Cu F.Paste F.Mask)) 9 | (pad 1 smd rect (at -1 0) (size 1 4) (layers F.Cu F.Paste F.Mask)) 10 | (pad 3 smd rect (at -1 0) (size 1 4) (layers B.Cu F.Paste F.Mask)) 11 | (pad 4 smd rect (at 1 0) (size 1 4) (layers B.Cu F.Paste F.Mask)) 12 | ) 13 | -------------------------------------------------------------------------------- /bbb-adc/fab/millproject: -------------------------------------------------------------------------------- 1 | zwork=-0.1 # where engraving happens 2 | offset=0.3 # measured engraving width of 0.6 3 | 4 | #probing 5 | al-front=1 6 | al-back=1 7 | software=LinuxCNC 8 | al-x=10 9 | al-y=10 10 | al-probefeed=50 11 | 12 | # general 13 | zchange=40 14 | zsafe=1 15 | metric=1 16 | metricoutput=1 17 | optimise=1 18 | # extra-passes=1 19 | 20 | # isolation milling 21 | mill-feed=250 22 | mill-vertfeed=50 23 | mill-speed=1000 24 | 25 | # milling outline 26 | zcut=-2 27 | cutter-diameter=2.0 28 | cut-infeed=2 29 | cut-feed=140 30 | cut-speed=200 31 | 32 | # drilling 33 | onedrill=1 34 | drill-feed=80 35 | drill-speed=200 36 | zdrill=-2.1 37 | 38 | -------------------------------------------------------------------------------- /bbb-adc/libs/ref5050.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # ref5050 5 | # 6 | DEF ref5050 U 0 40 Y Y 1 F N 7 | F0 "U" -50 -250 60 H V C CNN 8 | F1 "ref5050" -50 500 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -500 400 400 -100 0 1 0 N 13 | X dnc 1 -700 300 200 R 50 50 1 1 N 14 | X vin 2 -700 200 200 R 50 50 1 1 W 15 | X temp 3 -700 100 200 R 50 50 1 1 I 16 | X gnd 4 -700 0 200 R 50 50 1 1 W 17 | X trim 5 600 0 200 L 50 50 1 1 I 18 | X vout 6 600 100 200 L 50 50 1 1 w 19 | X nc 7 600 200 200 L 50 50 1 1 N 20 | X dnc 8 600 300 200 L 50 50 1 1 N 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /dvi-pmod/README.md: -------------------------------------------------------------------------------- 1 | # Minimal PMOD to DVI-D adapter 2 | 3 | For FPGAs with no TMDS, trying to use AC coupled LVDS. 4 | AC coupling suggested in this discussion: 5 | 6 | http://electronics.stackexchange.com/questions/130942/transmitting-hdmi-dvi-over-an-fpga-with-no-support-for-tmds 7 | 8 | # Status 9 | 10 | * tested pattern at 640 x 480 @ 60Hz 11 | * total pixels is 800 x 525 @ 60Hz = 25.2Mhz = 39.6ns 12 | 13 | [pictures](https://goo.gl/photos/ScRRi142sbwstPGr6) 14 | 15 | # Schematic 16 | 17 | ![schematic](schematic.png) 18 | 19 | # Board 20 | 21 | ![board](board.png) 22 | 23 | # Todo 24 | 25 | * too close trace to g resistor, bridged when soldering 26 | 27 | -------------------------------------------------------------------------------- /modbox-brain/fixes.md: -------------------------------------------------------------------------------- 1 | # Problems 2 | 3 | * Q1 p mos should be same fp and part as q4 4 | * cp2102 didn't work from farnell (could easily be soldering issue - done with 5 | iron/hot air rather than oven). Worked with baite board's cp2102 6 | * adc potential divider switch, when off, 0.2ma current still flows to adc. adc 7 | input R is 3.3M on another module. Removing r15 stops the current leakage 8 | 9 | # Improvements 10 | 11 | * bigger holes for test points 12 | * top row of comms test points should be 0.1" spaced for easy header 13 | 14 | # Fixed 15 | 16 | * dc/dc R2 (r22) should be 10k not 100k 17 | * adc potential div Rs are the wrong way up! 18 | * r24 & r25 were mislabled 19 | -------------------------------------------------------------------------------- /esp8266/libs/esp8266.bak: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266 5 | # 6 | DEF esp8266 U 0 40 Y Y 1 F N 7 | F0 "U" 650 -300 60 H V C CNN 8 | F1 "esp8266" 650 -300 60 H V C CNN 9 | F2 "" 650 -300 60 H V C CNN 10 | F3 "" 650 -300 60 H V C CNN 11 | DRAW 12 | S 50 -100 1100 -950 0 1 0 N 13 | X rxd 1 -150 -200 200 R 50 50 1 1 I 14 | X vcc 2 -150 -300 200 R 50 50 1 1 W 15 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 16 | X rst 4 -150 -500 200 R 50 50 1 1 I 17 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 18 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 19 | X gnd 7 -150 -800 200 R 50 50 1 1 w 20 | X txd 8 -150 -900 200 R 50 50 1 1 O 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /esp8266/libs/esp8266.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266 5 | # 6 | DEF esp8266 U 0 40 Y Y 1 F N 7 | F0 "U" 500 -200 60 H V C CNN 8 | F1 "esp8266" 650 -300 60 H V C CNN 9 | F2 "" 650 -300 60 H V C CNN 10 | F3 "" 650 -300 60 H V C CNN 11 | DRAW 12 | S 50 -100 1100 -950 0 1 0 N 13 | X rxd 1 -150 -200 200 R 50 50 1 1 I 14 | X vcc 2 -150 -300 200 R 50 50 1 1 W 15 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 16 | X rst 4 -150 -500 200 R 50 50 1 1 I 17 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 18 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 19 | X gnd 7 -150 -800 200 R 50 50 1 1 w 20 | X txd 8 -150 -900 200 R 50 50 1 1 O 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /esp8266-temp/libs/esp8266.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266 5 | # 6 | DEF esp8266 U 0 40 Y Y 1 F N 7 | F0 "U" 500 -200 60 H V C CNN 8 | F1 "esp8266" 650 -300 60 H V C CNN 9 | F2 "" 650 -300 60 H V C CNN 10 | F3 "" 650 -300 60 H V C CNN 11 | DRAW 12 | S 50 -100 1100 -950 0 1 0 N 13 | X rxd 1 -150 -200 200 R 50 50 1 1 I 14 | X vcc 2 -150 -300 200 R 50 50 1 1 W 15 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 16 | X rst 4 -150 -500 200 R 50 50 1 1 I 17 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 18 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 19 | X gnd 7 -150 -800 200 R 50 50 1 1 w 20 | X txd 8 -150 -900 200 R 50 50 1 1 O 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /wiimote-fpga/libs/wiimote-camera.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # wiimote-camera 5 | # 6 | DEF wiimote-camera U 0 40 Y Y 1 F N 7 | F0 "U" -100 550 60 H V C CNN 8 | F1 "wiimote-camera" -100 -700 60 H V C CNN 9 | F2 "" -200 -100 60 H I C CNN 10 | F3 "" -200 -100 60 H I C CNN 11 | DRAW 12 | S -450 450 350 -600 0 1 0 N 13 | X vcc 1 -650 300 200 R 50 50 1 1 W 14 | X gnd 2 -650 200 200 R 50 50 1 1 W 15 | X gnd 3 -650 100 200 R 50 50 1 1 W 16 | X n/c 4 -650 0 200 R 50 50 1 1 N 17 | X scl 5 -650 -100 200 R 50 50 1 1 I 18 | X sda 6 -650 -200 200 R 50 50 1 1 T 19 | X clk 7 -650 -300 200 R 50 50 1 1 I 20 | X reset 8 -650 -400 200 R 50 50 1 1 I 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /modbox-lcd/fp.pretty/button.kicad_mod: -------------------------------------------------------------------------------- 1 | (module button (layer F.Cu) (tedit 5801024E) 2 | (fp_text reference REF** (at 0.2 3.9) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value button (at 0.2 -3.1) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -3.4 -2.4) (end 3.4 -2.4) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 3.4 -2.4) (end 3.4 3.1) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 3.4 3.1) (end -3.4 3.1) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -3.4 3.1) (end -3.4 -2.4) (layer F.SilkS) (width 0.15)) 12 | (pad 1 smd rect (at -1.7 0.3) (size 3 5) (layers F.Cu F.Paste F.Mask)) 13 | (pad 2 smd rect (at 1.7 0.3) (size 3 5) (layers F.Cu F.Paste F.Mask)) 14 | ) 15 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb.pretty/oobb.kicad_mod: -------------------------------------------------------------------------------- 1 | (module oobb (layer F.Cu) (tedit 5D961E9B) 2 | (fp_text reference REF** (at 0 0.5) (layer F.SilkS) hide 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value oobb (at 0 -0.5) (layer F.Fab) hide 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 10 -1.5) (end 7 -1.5) (layer Edge.Cuts) (width 0.2)) 9 | (fp_line (start 7 -1.5) (end 7 1.5) (layer Edge.Cuts) (width 0.2)) 10 | (fp_line (start 7 1.5) (end 10 1.5) (layer Edge.Cuts) (width 0.2)) 11 | (fp_line (start 10 1.5) (end 13 1.5) (layer Edge.Cuts) (width 0.2)) 12 | (fp_line (start 13 1.5) (end 13 -1.5) (layer Edge.Cuts) (width 0.2)) 13 | (fp_line (start 13 -1.5) (end 10 -1.5) (layer Edge.Cuts) (width 0.2)) 14 | (pad "" np_thru_hole circle (at 0 0) (size 6 6) (drill 6) (layers *.Cu *.Mask)) 15 | ) 16 | -------------------------------------------------------------------------------- /modbox-lcd/fp.pretty/3mm pot.kicad_mod: -------------------------------------------------------------------------------- 1 | (module "3mm pot" (layer F.Cu) (tedit 5801050B) 2 | (fp_text reference REF** (at 0 -4.2) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "3mm pot" (at 0.4 3.7) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_circle (center 0 -0.3) (end 0.3 0.2) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -2 -3) (end 2.1 -3) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 2.1 -3) (end 2.1 2.6) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 2.1 2.6) (end -2.1 2.6) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -2.1 2.6) (end -2.1 -3) (layer F.SilkS) (width 0.15)) 13 | (pad 1 smd rect (at -1.05 -1.85) (size 1.3 1.3) (layers F.Cu F.Paste F.Mask)) 14 | (pad 2 smd rect (at 1.05 -1.85) (size 1.3 1.3) (layers F.Cu F.Paste F.Mask)) 15 | (pad 3 smd rect (at 0 1.5) (size 1.6 1.6) (layers F.Cu F.Paste F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /esp8266-temp/libs/esp8266.bak: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # dfdfdf 5 | # 6 | DEF dfdfdf U 0 40 Y Y 1 F N 7 | F0 "U" 1350 700 60 H V C CNN 8 | F1 "dfdfdf" 1350 700 60 H V C CNN 9 | F2 "" 1350 700 60 H V C CNN 10 | F3 "" 1350 700 60 H V C CNN 11 | DRAW 12 | C 1200 800 424 0 1 0 N 13 | ENDDRAW 14 | ENDDEF 15 | # 16 | # esp8266 17 | # 18 | DEF esp8266 U 0 40 Y Y 1 F N 19 | F0 "U" 500 -200 60 H V C CNN 20 | F1 "esp8266" 650 -300 60 H V C CNN 21 | F2 "" 650 -300 60 H V C CNN 22 | F3 "" 650 -300 60 H V C CNN 23 | DRAW 24 | S 50 -100 1100 -950 0 1 0 N 25 | X rxd 1 -150 -200 200 R 50 50 1 1 I 26 | X vcc 2 -150 -300 200 R 50 50 1 1 W 27 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 28 | X rst 4 -150 -500 200 R 50 50 1 1 I 29 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 30 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 31 | X gnd 7 -150 -800 200 R 50 50 1 1 w 32 | X txd 8 -150 -900 200 R 50 50 1 1 O 33 | ENDDRAW 34 | ENDDEF 35 | # 36 | #End Library 37 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/do-214aa.kicad_mod: -------------------------------------------------------------------------------- 1 | (module do-214aa (layer F.Cu) (tedit 581D0BC4) 2 | (fp_text reference REF** (at 0.2 2.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value do-214aa (at 0.3 -2.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -0.7 -1.6) (end -0.7 1.5) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -0.8 -1.6) (end -0.8 1.5) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start -3.6 -1.8) (end 3.7 -1.8) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 3.7 -1.8) (end 3.7 1.7) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 3.7 1.7) (end -3.6 1.7) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -3.6 1.7) (end -3.6 -1.8) (layer F.SilkS) (width 0.15)) 14 | (pad 2 smd rect (at 2.2 0) (size 2.2 2.8) (layers F.Cu F.Paste F.Mask)) 15 | (pad 1 smd rect (at -2.2 0) (size 2.2 2.8) (layers F.Cu F.Paste F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /scripts/action_menu_text_by_date.py: -------------------------------------------------------------------------------- 1 | import pcbnew 2 | import re 3 | import datetime 4 | import subprocess 5 | import os 6 | 7 | 8 | class text_by_date( pcbnew.ActionPlugin ): 9 | def defaults( self ): 10 | self.name = "Add date on PCB" 11 | self.category = "Modify PCB" 12 | self.description = "Automaticaly add date on an existing PCB" 13 | 14 | def Run( self ): 15 | pcb = pcbnew.GetBoard() 16 | pcb_dir = os.path.dirname(pcb.GetFileName()) 17 | os.chdir(pcb_dir) 18 | git_version = subprocess.check_output(['git', 'log', '--pretty=format:"%h"', '-n', '1']).decode('utf-8') 19 | for draw in pcb.GetDrawings(): 20 | if isinstance(draw, pcbnew.TEXTE_PCB): 21 | if draw.GetText().startswith("$ver$"): # .starts_with("$ver$"): 22 | draw.SetText( "$ver$ %s %s" % (git_version, datetime.date.today() )) 23 | 24 | text_by_date().register() 25 | -------------------------------------------------------------------------------- /earth-to-mars/fp.pretty/mq8.kicad_mod: -------------------------------------------------------------------------------- 1 | (module mq8 (layer F.Cu) (tedit 5638CB21) 2 | (fp_text reference REF** (at 0.15 1.45) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value mq8 (at -0.075 -1.675) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_circle (center 0 0) (end 9.5 0) (layer F.SilkS) (width 0.15)) 9 | (pad 1 thru_hole circle (at 3.375 -3.35) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 10 | (pad 2 thru_hole circle (at 4.75 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 11 | (pad 3 thru_hole circle (at 3.35 3.35) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 12 | (pad 4 thru_hole circle (at -3.35 3.35) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 5 thru_hole circle (at -4.75 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 6 thru_hole circle (at -3.35 -3.375) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask F.SilkS)) 15 | ) 16 | -------------------------------------------------------------------------------- /ETCH.md: -------------------------------------------------------------------------------- 1 | # aim 2 | 3 | try to get dimensions right and reduce pitting 4 | 5 | # svg -> print 6 | 7 | scale 100.4 % to get dimensions right 8 | 9 | # test pattern 10 | 11 | etchtest.pro made with 5 sets of the same patterns 12 | 13 | 3 staggered lines at 0.2, 0.25, 0.3 and 0.35 mm trace/spacing 14 | 15 | # exposure test Tue Oct 31 19:36:39 CET 2017 16 | 17 | used the test pattern with 5 different timings 18 | on 170gsm tracing paper 19 | covering was done with a strip of aluminium sticky tape and moved every minute. 20 | 21 | 4, 5, 6, 7, 10 minutes 22 | 23 | on the board these got assigned to: 24 | 25 | 8, 7, 6, 5, 4 (board wrong way round and forgot to move the covering first 2 minutes) 26 | 27 | # etching 28 | 29 | about 10 minutes with bubbling warm etchant. 30 | 31 | # results 32 | 33 | most reliable looking traces are: 34 | 35 | * 6 minutes UV 36 | * 12 minutes etch 37 | * 0.3mm track and space 38 | 39 | 0.25mm track and space possible but looks more likely to have problems. 40 | -------------------------------------------------------------------------------- /modbox-brain/libs/esp8266-12.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266-12 5 | # 6 | DEF esp8266-12 U 0 40 Y Y 1 F N 7 | F0 "U" -150 150 60 H V C CNN 8 | F1 "esp8266-12" 150 -750 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -250 100 450 -700 1 1 0 N 13 | X reset 1 -450 50 200 R 50 50 1 1 B 14 | X adc 2 -450 -50 200 R 50 50 1 1 B 15 | X ch_pd 3 -450 -150 200 R 50 50 1 1 B 16 | X gpio16 4 -450 -250 200 R 50 50 1 1 B 17 | X gpio14 5 -450 -350 200 R 50 50 1 1 B 18 | X gpio12 6 -450 -450 200 R 50 50 1 1 B 19 | X gpio13 7 -450 -550 200 R 50 50 1 1 B 20 | X vcc 8 -450 -650 200 R 50 50 1 1 W 21 | X gnd 9 650 -650 200 L 50 50 1 1 w 22 | X gpio15 10 650 -550 200 L 50 50 1 1 B 23 | X gpio2 11 650 -450 200 L 50 50 1 1 B 24 | X gpio0 12 650 -350 200 L 50 50 1 1 B 25 | X gpio4 13 650 -250 200 L 50 50 1 1 B 26 | X gpio5 14 650 -150 200 L 50 50 1 1 B 27 | X rxd 15 650 -50 200 L 50 50 1 1 B 28 | X txd 16 650 50 200 L 50 50 1 1 B 29 | ENDDRAW 30 | ENDDEF 31 | # 32 | #End Library 33 | -------------------------------------------------------------------------------- /esp8266-12-breakout/libs/esp8266-12.bak: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266-12 5 | # 6 | DEF esp8266-12 U 0 40 Y Y 1 F N 7 | F0 "U" -150 150 60 H V C CNN 8 | F1 "esp8266-12" 150 -750 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -250 100 450 -700 1 1 0 N 13 | X reset 1 -450 50 200 R 50 50 1 1 B 14 | X adc 2 -450 -50 200 R 50 50 1 1 B 15 | X ch_pd 3 -450 -150 200 R 50 50 1 1 B 16 | X gpio16 4 -450 -250 200 R 50 50 1 1 B 17 | X gpio14 5 -450 -350 200 R 50 50 1 1 B 18 | X gpio12 6 -450 -450 200 R 50 50 1 1 B 19 | X gpio13 7 -450 -550 200 R 50 50 1 1 B 20 | X vcc 8 -450 -650 200 R 50 50 1 1 W 21 | X gnd 9 650 -650 200 L 50 50 1 1 W 22 | X gpio15 10 650 -550 200 L 50 50 1 1 B 23 | X gpio2 11 650 -450 200 L 50 50 1 1 B 24 | X gpio0 12 650 -350 200 L 50 50 1 1 B 25 | X gpio4 13 650 -250 200 L 50 50 1 1 B 26 | X gpio5 14 650 -150 200 L 50 50 1 1 B 27 | X rxd 15 650 -50 200 L 50 50 1 1 B 28 | X txd 16 650 50 200 L 50 50 1 1 B 29 | ENDDRAW 30 | ENDDEF 31 | # 32 | #End Library 33 | -------------------------------------------------------------------------------- /esp8266-12-breakout/libs/esp8266-12.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266-12 5 | # 6 | DEF esp8266-12 U 0 40 Y Y 1 F N 7 | F0 "U" -150 150 60 H V C CNN 8 | F1 "esp8266-12" 150 -750 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -250 100 450 -700 1 1 0 N 13 | X reset 1 -450 50 200 R 50 50 1 1 B 14 | X adc 2 -450 -50 200 R 50 50 1 1 B 15 | X ch_pd 3 -450 -150 200 R 50 50 1 1 B 16 | X gpio16 4 -450 -250 200 R 50 50 1 1 B 17 | X gpio14 5 -450 -350 200 R 50 50 1 1 B 18 | X gpio12 6 -450 -450 200 R 50 50 1 1 B 19 | X gpio13 7 -450 -550 200 R 50 50 1 1 B 20 | X vcc 8 -450 -650 200 R 50 50 1 1 W 21 | X gnd 9 650 -650 200 L 50 50 1 1 w 22 | X gpio15 10 650 -550 200 L 50 50 1 1 B 23 | X gpio2 11 650 -450 200 L 50 50 1 1 B 24 | X gpio0 12 650 -350 200 L 50 50 1 1 B 25 | X gpio4 13 650 -250 200 L 50 50 1 1 B 26 | X gpio5 14 650 -150 200 L 50 50 1 1 B 27 | X rxd 15 650 -50 200 L 50 50 1 1 B 28 | X txd 16 650 50 200 L 50 50 1 1 B 29 | ENDDRAW 30 | ENDDEF 31 | # 32 | #End Library 33 | -------------------------------------------------------------------------------- /libs/barrel.pretty/BARREL_JACK.kicad_mod: -------------------------------------------------------------------------------- 1 | (module matt:BARREL_JACK (layer F.Cu) (tedit 55FAA574) 2 | (descr "DC Barrel Jack") 3 | (tags "Power Jack") 4 | (fp_text reference REF** (at 10.09904 0 90) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value BARREL_JACK (at 0 -5.99948) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start -4.0005 -4.50088) (end -4.0005 4.50088) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -7.50062 -4.50088) (end -7.50062 4.50088) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -7.50062 4.50088) (end 7.00024 4.50088) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 7.00024 4.50088) (end 7.00024 -4.50088) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 7.00024 -4.50088) (end -7.50062 -4.50088) (layer F.SilkS) (width 0.15)) 15 | (pad 3 thru_hole circle (at 3.2 4.4) (size 4.5 4.5) (drill 3.2) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 2 thru_hole circle (at 0.2 0) (size 4.5 4.5) (drill 3.2) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 1 thru_hole circle (at 6.2 0) (size 4.5 4.5) (drill 3.2) (layers *.Cu *.Mask F.SilkS)) 18 | ) 19 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/sod-123w.kicad_mod: -------------------------------------------------------------------------------- 1 | (module sod-123w (layer F.Cu) (tedit 581D9FF3) 2 | (fp_text reference REF** (at -0.1 2.1) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value sod-123w (at -0.1 -1.9) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -0.5 -0.8) (end -0.5 0.8) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 0 1.1) (end -1.4 1.1) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start -1.4 1.1) (end -1.4 0.8) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 0 1.1) (end 1.4 1.1) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 1.4 1.1) (end 1.4 0.8) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 0 -1.1) (end -1.4 -1.1) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -1.4 -1.1) (end -1.4 -0.8) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 0 -1.1) (end 1.4 -1.1) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start 1.4 -1.1) (end 1.4 -0.8) (layer F.SilkS) (width 0.15)) 17 | (pad 2 smd rect (at 1.4 0) (size 1.3 1.3) (layers F.Cu F.Paste F.Mask)) 18 | (pad 1 smd rect (at -1.4 0) (size 1.3 1.3) (layers F.Cu F.Paste F.Mask)) 19 | ) 20 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/libs/icestick.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # icestick 5 | # 6 | DEF icestick U 0 40 Y Y 1 F N 7 | F0 "U" 300 -900 60 H V C CNN 8 | F1 "icestick" 250 450 60 H V C CNN 9 | F2 "" 0 0 60 H I C CNN 10 | F3 "" 0 0 60 H I C CNN 11 | DRAW 12 | S -150 350 650 -800 0 1 0 N 13 | S -50 350 550 500 0 1 0 N 14 | X 44 1 -250 250 100 R 50 50 1 1 I 15 | X 3.3v 10 -250 -650 100 R 50 50 1 1 w 16 | X 119 11 750 250 100 L 50 50 1 1 I 17 | X 118 12 750 150 100 L 50 50 1 1 I 18 | X 117 13 750 50 100 L 50 50 1 1 I 19 | X 116 14 750 -50 100 L 50 50 1 1 I 20 | X 115 15 750 -150 100 L 50 50 1 1 I 21 | X 114 16 750 -250 100 L 50 50 1 1 I 22 | X 113 17 750 -350 100 L 50 50 1 1 I 23 | X 112 18 750 -450 100 L 50 50 1 1 I 24 | X gnd 19 750 -550 100 L 50 50 1 1 w 25 | X 45 2 -250 150 100 R 50 50 1 1 I 26 | X 3.3v 20 750 -650 100 L 50 50 1 1 w 27 | X 47 3 -250 50 100 R 50 50 1 1 I 28 | X 48 4 -250 -50 100 R 50 50 1 1 I 29 | X 56 5 -250 -150 100 R 50 50 1 1 I 30 | X 60 6 -250 -250 100 R 50 50 1 1 I 31 | X 61 7 -250 -350 100 R 50 50 1 1 I 32 | X 62 8 -250 -450 100 R 50 50 1 1 I 33 | X gnd 9 -250 -550 100 R 50 50 1 1 w 34 | ENDDRAW 35 | ENDDEF 36 | # 37 | #End Library 38 | -------------------------------------------------------------------------------- /earth-to-mars/fp.pretty/dht11.kicad_mod: -------------------------------------------------------------------------------- 1 | (module dht11 (layer F.Cu) (tedit 56378917) 2 | (fp_text reference REF** (at 10.16 -5.08) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value dht11 (at 10.16 -7.62) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text user 1 (at 2.54 -10.16) (layer F.SilkS) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -2.54 -12.7) (end -2.54 0) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -2.54 0) (end 2.54 0) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 2.54 0) (end 17.78 0) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 17.78 0) (end 17.78 -12.7) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 17.78 -12.7) (end -2.54 -12.7) (layer F.SilkS) (width 0.15)) 16 | (pad 1 thru_hole circle (at 0 -10.16) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 2 thru_hole circle (at 0 -7.62) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 3 thru_hole circle (at 0 -5.08) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 4 thru_hole circle (at 0 -2.54) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /wiimote-fpga/fp.pretty/oscillator.kicad_mod: -------------------------------------------------------------------------------- 1 | (module oscillator (layer F.Cu) (tedit 59383E01) 2 | (fp_text reference U1 (at 0 -8) (layer F.SilkS) hide 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value oscillator (at 0 9) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_arc (start 4.2 4.8) (end 6.2 4.8) (angle 90) (layer F.SilkS) (width 0.15)) 9 | (fp_arc (start -4.8 4.8) (end -4.8 6.8) (angle 90) (layer F.SilkS) (width 0.15)) 10 | (fp_arc (start -4.8 -4.2) (end -6.8 -4.2) (angle 90) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 6.2 4.85) (end 6.2 -6.2) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -4.85 6.8) (end 4.2 6.8) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -6.8 -4.2) (end -6.8 4.8) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 6.2 -6.2) (end -4.8 -6.2) (layer F.SilkS) (width 0.15)) 15 | (pad 5 thru_hole circle (at -3.92 4.07 180) (size 1.6 1.6) (drill 0.9) (layers *.Cu *.Mask)) 16 | (pad 4 thru_hole circle (at -3.92 -3.55 180) (size 1.6 1.6) (drill 0.9) (layers *.Cu *.Mask B.SilkS)) 17 | (pad 8 thru_hole circle (at 3.7 4.07 180) (size 1.6 1.6) (drill 0.9) (layers *.Cu *.Mask)) 18 | (pad 1 thru_hole circle (at 3.7 -3.55 180) (size 1.6 1.6) (drill 0.9) (layers *.Cu *.Mask)) 19 | ) 20 | -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- 1 | # export_pcb.py: exports kicad board files to gerbers with pdf overview doc 2 | 3 | * copy and adjust config.rc to the kicad project dir 4 | * run ./export_pcb.py - will auto detect kicad_pcb files 5 | * will auto create an auto-fab directory and zip it with the date 6 | * if your board is in git version control and has a text $ver$ somewhere it will add the git hash and date 7 | 8 | ## problems? 9 | 10 | * run with same version of python that kicad uses (2.7) 11 | * needs the config.rc in the same directory 12 | * older version of kicad doesn't know about drill merge option 13 | * older version of kicad uses board.GetBoundingBox() 14 | * needs pandoc and latex for pdf output 15 | 16 | # processBom.py: Put farnell numbers in schematic 17 | 18 | * `prefs -> options -> template field names` 19 | * `add` 20 | * change name to 'farnell #' 21 | * `ok` 22 | 23 | Then fill in all the farnell #s on the schematic. 24 | 25 | ## Generate bom 26 | 27 | * `tools -> generate bill of materials` 28 | * `add plugin` and choose modified scripts/bom_csv_grouped_by_value_with_fp.py 29 | * may need to link kicad_netlist_reader.py 30 | * press `generate` 31 | 32 | This creates csv file with no extension 33 | 34 | ## For farnel order 35 | 36 | ./scripts/processBOM.py csvfile quantity 37 | 38 | then copy/paste into farnell quick order sheet 39 | 40 | -------------------------------------------------------------------------------- /oobb-namebadge/README.md: -------------------------------------------------------------------------------- 1 | # OOBB compatible SAO V.1.69bis name badge 2 | 3 | * compatible with OOBB https://github.com/oomlout/oomlout-OOBB/wiki/pictureIndex 4 | * 5 x [SAO V.1.69bis](https://hackaday.com/2019/03/20/introducing-the-shitty-add-on-v1-69bis-standard/) 6 pin connectors - GPIO1&2 shared across all connectors. I2C not connected 5 | * pads for LiPo battery and USB charger 6 | * 90x70mm $5 USD from https://pcbway.com 7 | * [iCEBreaker](https://www.crowdsupply.com/1bitsquared/icebreaker-fpga) compatible. Red and Green LED output drive GPIO1&2 on all SAOs. 8 | 9 | ![front](docs/front.png) 10 | 11 | ![back](docs/back.png) 12 | 13 | # BOM 14 | 15 | * J5019 LiPo booster incorporating [TC4056A](docs/TC4056A.pdf) LiPo charger 16 | * LiPo battery measuring 46x52mm 17 | * 3.3v regulator [LD1117S33TR](https://uk.farnell.com/stmicroelectronics/ld1117s33tr/v-reg-ldo-3-3v-smd-1117-sot-223/dp/1202826) 18 | * 2 x 10k pullup resistors if using iCEBreaker to control GPIOs 19 | * sliding SMT switch [JS102012SAQN](https://uk.farnell.com/c-k-components/js102011saqn/switch-spdt-0-6a-6vdc-side-smd/dp/2320017) 20 | * 5 x female 2x3 pin header with 2.54mm spacing, eg this [Pololu part](https://www.pololu.com/product/1023) 21 | 22 | # Gerbers & Schematic 23 | 24 | * [docs/schematic.pdf](docs/schematic.pdf) 25 | * [oobb-namebadge-2019-10-10-fab.zip](oobb-namebadge-2019-10-10-fab.zip) 26 | -------------------------------------------------------------------------------- /breadboard-psu/breadboard-psu.pro: -------------------------------------------------------------------------------- 1 | update=Sun 20 Sep 2015 15:52:03 BST 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [general] 8 | version=1 9 | [pcbnew] 10 | version=1 11 | PageLayoutDescrFile= 12 | LastNetListRead= 13 | PadDrill=0.6 14 | PadDrillOvalY=0.6 15 | PadSizeH=1.5 16 | PadSizeV=1.5 17 | PcbTextSizeV=1.5 18 | PcbTextSizeH=1.5 19 | PcbTextThickness=0.3 20 | ModuleTextSizeV=1 21 | ModuleTextSizeH=1 22 | ModuleTextSizeThickness=0.15 23 | SolderMaskClearance=0 24 | SolderMaskMinWidth=0 25 | DrawSegmentWidth=0.2 26 | BoardOutlineThickness=0.09999999999999999 27 | ModuleOutlineThickness=0.15 28 | [eeschema] 29 | version=1 30 | LibDir= 31 | [eeschema/libraries] 32 | LibName1=breadboard-psu-rescue 33 | LibName2=power 34 | LibName3=device 35 | LibName4=transistors 36 | LibName5=conn 37 | LibName6=linear 38 | LibName7=regul 39 | LibName8=74xx 40 | LibName9=cmos4000 41 | LibName10=adc-dac 42 | LibName11=memory 43 | LibName12=xilinx 44 | LibName13=microcontrollers 45 | LibName14=dsp 46 | LibName15=microchip 47 | LibName16=analog_switches 48 | LibName17=motorola 49 | LibName18=texas 50 | LibName19=intel 51 | LibName20=audio 52 | LibName21=interface 53 | LibName22=digital-audio 54 | LibName23=philips 55 | LibName24=display 56 | LibName25=cypress 57 | LibName26=siliconi 58 | LibName27=opto 59 | LibName28=atmel 60 | LibName29=contrib 61 | LibName30=valves 62 | -------------------------------------------------------------------------------- /esp8266/esp8266 breakout.pro: -------------------------------------------------------------------------------- 1 | update=Fri 17 Jul 2015 13:15:21 BST 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [pcbnew] 8 | version=1 9 | PageLayoutDescrFile= 10 | LastNetListRead= 11 | PadDrill=0.6 12 | PadDrillOvalY=0.6 13 | PadSizeH=1.5 14 | PadSizeV=1.5 15 | PcbTextSizeV=1.5 16 | PcbTextSizeH=1.5 17 | PcbTextThickness=0.3 18 | ModuleTextSizeV=1 19 | ModuleTextSizeH=1 20 | ModuleTextSizeThickness=0.15 21 | SolderMaskClearance=0 22 | SolderMaskMinWidth=0 23 | DrawSegmentWidth=0.2 24 | BoardOutlineThickness=0.09999999999999999 25 | ModuleOutlineThickness=0.15 26 | [eeschema] 27 | version=1 28 | LibDir= 29 | [eeschema/libraries] 30 | LibName1=power 31 | LibName2=device 32 | LibName3=transistors 33 | LibName4=conn 34 | LibName5=linear 35 | LibName6=regul 36 | LibName7=74xx 37 | LibName8=cmos4000 38 | LibName9=adc-dac 39 | LibName10=memory 40 | LibName11=xilinx 41 | LibName12=microcontrollers 42 | LibName13=dsp 43 | LibName14=microchip 44 | LibName15=analog_switches 45 | LibName16=motorola 46 | LibName17=texas 47 | LibName18=intel 48 | LibName19=audio 49 | LibName20=interface 50 | LibName21=digital-audio 51 | LibName22=philips 52 | LibName23=display 53 | LibName24=cypress 54 | LibName25=siliconi 55 | LibName26=opto 56 | LibName27=atmel 57 | LibName28=contrib 58 | LibName29=valves 59 | LibName30=libs/esp8266 60 | LibName31=libs/1wire 61 | [general] 62 | version=1 63 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/ra tactile.kicad_mod: -------------------------------------------------------------------------------- 1 | (module "fp:ra tactile" (layer F.Cu) (tedit 581DE7F8) 2 | (fp_text reference REF** (at 0.5 -3.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "ra tactile" (at 0 -5.225) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text user 2jh (at 0.05 5.15) (layer F.SilkS) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -1.75 6.35) (end 1.75 6.35) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -1 2.5) (end 1 2.5) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 1.75 6.35) (end 1.75 3.75) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -1.75 6.35) (end -1.75 3.75) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -3.5 -1.5) (end -3.5 -2.5) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -3.5 -2.5) (end 3.5 -2.5) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 3.5 -2.5) (end 3.5 -1.75) (layer F.SilkS) (width 0.15)) 18 | (pad 2 thru_hole circle (at 2.25 2.49) (size 1.9 1.9) (drill 1) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 3 thru_hole circle (at 3.5 0) (size 2.3 2.3) (drill 1.3) (layers *.Cu *.Mask F.SilkS)) 20 | (pad 3 thru_hole circle (at -3.5 0) (size 2.3 2.3) (drill 1.3) (layers *.Cu *.Mask F.SilkS)) 21 | (pad 1 thru_hole circle (at -2.25 2.49) (size 1.9 1.9) (drill 1) (layers *.Cu *.Mask F.SilkS)) 22 | ) 23 | -------------------------------------------------------------------------------- /scripts/processBOM.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | from pprint import pprint 3 | import sys 4 | import csv 5 | if len(sys.argv)<2: 6 | print >>sys.stderr, "need bom file, optional quantity" 7 | exit( 1) 8 | bom_file = sys.argv[1] 9 | if len(sys.argv) == 3: 10 | quantity = int(sys.argv[2]) 11 | else: 12 | quantity = 1 13 | 14 | rows = 0 15 | bad_rows = [] 16 | with open(bom_file,'r') as csvfile: 17 | reader = csv.reader(csvfile, delimiter=',', quotechar='"') 18 | for row in reader: 19 | #check for errors 20 | rows += 1 21 | if rows < 2: 22 | # parse the header 23 | #import ipdb ; ipdb.set_trace() 24 | farnell_col = row.index('farnell #') 25 | comment_col = row.index('Description') 26 | qnty_col = row.index('Qnty') 27 | continue 28 | else: 29 | comment = row[comment_col][0:29] 30 | farnel_num = row[farnell_col] 31 | if farnel_num == 'dnp': 32 | continue 33 | if farnel_num == "": 34 | bad_rows.append(row) 35 | continue 36 | qnty = int(row[qnty_col]) 37 | 38 | print ', '.join([farnel_num, str(int(qnty)*quantity), comment]) 39 | print >>sys.stderr ,"processed %d rows with %d missing rows" % (rows, len(bad_rows)) 40 | for row in bad_rows: 41 | print(row, sys.stderr) 42 | -------------------------------------------------------------------------------- /esp8266-12-breakout-smt/bom: -------------------------------------------------------------------------------- 1 | "Source:","/home/mattvenn/work/kicad/esp8266-12-breakout-smt/esp8266-12-breakout.sch" 2 | "Date:","Fri 07 Aug 2015 18:41:28 BST" 3 | "Tool:","Eeschema (2015-06-25 BZR 5821)-product" 4 | "Generator:","/home/mattvenn/kicad_sources/kicad.bzr/scripts/bom-in-python/bom_csv_grouped_by_value_with_fp.py" 5 | "Component Count:","13" 6 | "Ref","Qnty","Value","Cmp name","Footprint","Description","Vendor","Farnell #" 7 | "C1, C2, ","2","10uf","CP","Capacitors_Tantalum_SMD:TantalC_SizeA_EIA-3216_HandSoldering","Polarised capacitor","","1190107" 8 | "C3, ","1","0.1uf","C","Capacitors_SMD:C_1206_HandSoldering","Unpolarized capacitor","","1759297" 9 | "C4, ","1","1uf","C","Capacitors_SMD:C_1206_HandSoldering","Unpolarized capacitor","","1759438" 10 | "D1, ","1","LED","LED","LEDs:LED-1206","","","2290335" 11 | "P1, ","1","ftdi","CONN_01X06","Pin_Headers:Pin_Header_Straight_1x06","","","" 12 | "P2, ","1","CONN_01X14","CONN_01X14","Pin_Headers:Pin_Header_Straight_1x14","","","1022263" 13 | "R1, R2, ","2","10k","R","Resistors_SMD:R_1206","Resistor","","2057856" 14 | "R3, ","1","68r","R","Resistors_SMD:R_1206","Resistor","","9336800" 15 | "SW1, ","1","SW_PUSH","SW_PUSH","matt:SW_SPST_FSMSM","Push Button","","1867992" 16 | "U1, ","1","AP1117D33","AP1117D33","SMD_Packages:SOT-223","AP1117, Fixed/Adjustable 1A Low Dropout regulator, Positive","","1202826" 17 | "esp8266, ","1","U2","esp8266-12","esp8266-12:esp8266-12","","","" 18 | -------------------------------------------------------------------------------- /libs/matt.pretty/esp8266.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266 (layer F.Cu) (tedit 55A126AC) 2 | (fp_text reference U1 (at 3.175 -5.715) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266 (at 5.715 -8.255) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -4.445 -10.16) (end 17.145 -10.16) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 17.145 -10.16) (end 17.145 3.81) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 17.145 3.81) (end -4.445 3.81) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -4.445 3.81) (end -4.445 -10.16) (layer F.SilkS) (width 0.15)) 12 | (pad 1 thru_hole circle (at 0 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 2 thru_hole circle (at -2.54 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 3 thru_hole circle (at 0 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 4 thru_hole circle (at -2.54 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 5 thru_hole circle (at 0 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 6 thru_hole circle (at -2.54 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 7 thru_hole circle (at 0 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 8 thru_hole circle (at -2.54 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /esp8266/footprints/esp8266.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266 (layer F.Cu) (tedit 55A126AC) 2 | (fp_text reference U1 (at 3.175 -5.715) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266 (at 5.715 -8.255) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -4.445 -10.16) (end 17.145 -10.16) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 17.145 -10.16) (end 17.145 3.81) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 17.145 3.81) (end -4.445 3.81) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -4.445 3.81) (end -4.445 -10.16) (layer F.SilkS) (width 0.15)) 12 | (pad 1 thru_hole circle (at 0 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 2 thru_hole circle (at -2.54 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 3 thru_hole circle (at 0 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 4 thru_hole circle (at -2.54 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 5 thru_hole circle (at 0 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 6 thru_hole circle (at -2.54 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 7 thru_hole circle (at 0 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 8 thru_hole circle (at -2.54 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /esp8266-temp/footprints/esp8266.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266 (layer F.Cu) (tedit 55A126AC) 2 | (fp_text reference U1 (at 3.175 -5.715) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266 (at 5.715 -8.255) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -4.445 -10.16) (end 17.145 -10.16) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 17.145 -10.16) (end 17.145 3.81) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 17.145 3.81) (end -4.445 3.81) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -4.445 3.81) (end -4.445 -10.16) (layer F.SilkS) (width 0.15)) 12 | (pad 1 thru_hole circle (at 0 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 2 thru_hole circle (at -2.54 0.635) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 3 thru_hole circle (at 0 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 4 thru_hole circle (at -2.54 -1.905) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 5 thru_hole circle (at 0 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 6 thru_hole circle (at -2.54 -4.445) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 7 thru_hole circle (at 0 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 8 thru_hole circle (at -2.54 -6.985) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /attiny88/fp.pretty/molex 4way cgrid.kicad_mod: -------------------------------------------------------------------------------- 1 | (module "molex 4way cgrid" (layer F.Cu) (tedit 57FF81AB) 2 | (fp_text reference REF** (at 3.8354 5.5372) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "molex 4way cgrid" (at 3.5306 2.8702) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -1.27 -0.4572) (end -1.2446 8.0518) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -1.2446 8.0518) (end 8.89 8.0518) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 8.89 8.0518) (end 8.89 -0.4572) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 8.89 -0.4572) (end -1.27 -0.4572) (layer F.SilkS) (width 0.15)) 12 | (pad 1 thru_hole circle (at 0 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 2 thru_hole circle (at 2.54 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 3 thru_hole circle (at 5.08 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 4 thru_hole circle (at 7.62 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 1 thru_hole circle (at 0 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 2 thru_hole circle (at 2.54 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 3 thru_hole circle (at 5.08 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 4 thru_hole circle (at 7.62 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/molex 4way cgrid.kicad_mod: -------------------------------------------------------------------------------- 1 | (module "molex 4way cgrid" (layer F.Cu) (tedit 57FF81AB) 2 | (fp_text reference REF** (at 3.8354 5.5372) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "molex 4way cgrid" (at 3.5306 2.8702) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -1.27 -0.4572) (end -1.2446 8.0518) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -1.2446 8.0518) (end 8.89 8.0518) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 8.89 8.0518) (end 8.89 -0.4572) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 8.89 -0.4572) (end -1.27 -0.4572) (layer F.SilkS) (width 0.15)) 12 | (pad 1 thru_hole circle (at 0 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 13 | (pad 2 thru_hole circle (at 2.54 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 14 | (pad 3 thru_hole circle (at 5.08 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 4 thru_hole circle (at 7.62 0) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 1 thru_hole circle (at 0 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 2 thru_hole circle (at 2.54 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 3 thru_hole circle (at 5.08 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 4 thru_hole circle (at 7.62 7.62) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask F.SilkS)) 20 | ) 21 | -------------------------------------------------------------------------------- /esp8266-12-breakout-smt/esp8266-12-breakout.pro: -------------------------------------------------------------------------------- 1 | update=Tue 19 Apr 2016 11:51:57 CEST 2 | version=1 3 | last_client=kicad 4 | [pcbnew] 5 | version=1 6 | PageLayoutDescrFile= 7 | LastNetListRead= 8 | PadDrill=0.6 9 | PadDrillOvalY=0.6 10 | PadSizeH=1.5 11 | PadSizeV=1.5 12 | PcbTextSizeV=1.5 13 | PcbTextSizeH=1.5 14 | PcbTextThickness=0.3 15 | ModuleTextSizeV=1 16 | ModuleTextSizeH=1 17 | ModuleTextSizeThickness=0.15 18 | SolderMaskClearance=0 19 | SolderMaskMinWidth=0 20 | DrawSegmentWidth=0.2 21 | BoardOutlineThickness=0.09999999999999999 22 | ModuleOutlineThickness=0.15 23 | [cvpcb] 24 | version=1 25 | NetIExt=net 26 | [eeschema] 27 | version=1 28 | LibDir=/home/mattvenn/work/kicad/esp8266-12-breakout-smt/libs 29 | [eeschema/libraries] 30 | LibName1=power 31 | LibName2=device 32 | LibName3=transistors 33 | LibName4=conn 34 | LibName5=linear 35 | LibName6=regul 36 | LibName7=74xx 37 | LibName8=cmos4000 38 | LibName9=adc-dac 39 | LibName10=memory 40 | LibName11=xilinx 41 | LibName12=microcontrollers 42 | LibName13=dsp 43 | LibName14=microchip 44 | LibName15=analog_switches 45 | LibName16=motorola 46 | LibName17=texas 47 | LibName18=intel 48 | LibName19=audio 49 | LibName20=interface 50 | LibName21=digital-audio 51 | LibName22=philips 52 | LibName23=display 53 | LibName24=cypress 54 | LibName25=siliconi 55 | LibName26=opto 56 | LibName27=atmel 57 | LibName28=contrib 58 | LibName29=valves 59 | LibName30=/Users/mattvenn/Documents/kicad/libs/matt 60 | LibName31=/home/mattvenn/work/kicad/libs/matt 61 | [general] 62 | version=1 63 | -------------------------------------------------------------------------------- /esp8266-temp/esp8266 temp.pro: -------------------------------------------------------------------------------- 1 | update=Sat 25 Jul 2015 20:35:04 BST 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [pcbnew] 8 | version=1 9 | PageLayoutDescrFile= 10 | LastNetListRead= 11 | PadDrill=0.6 12 | PadDrillOvalY=0.6 13 | PadSizeH=1.5 14 | PadSizeV=1.5 15 | PcbTextSizeV=1.5 16 | PcbTextSizeH=1.5 17 | PcbTextThickness=0.3 18 | ModuleTextSizeV=1 19 | ModuleTextSizeH=1 20 | ModuleTextSizeThickness=0.15 21 | SolderMaskClearance=0 22 | SolderMaskMinWidth=0 23 | DrawSegmentWidth=0.2 24 | BoardOutlineThickness=0.09999999999999999 25 | ModuleOutlineThickness=0.15 26 | [general] 27 | version=1 28 | [eeschema] 29 | version=1 30 | LibDir=/home/mattvenn/work/kicad/libs;/home/mattvenn/work/kicad/libs/matt.pretty 31 | [eeschema/libraries] 32 | LibName1=esp8266 temp-rescue 33 | LibName2=power 34 | LibName3=device 35 | LibName4=transistors 36 | LibName5=conn 37 | LibName6=linear 38 | LibName7=regul 39 | LibName8=74xx 40 | LibName9=cmos4000 41 | LibName10=adc-dac 42 | LibName11=memory 43 | LibName12=xilinx 44 | LibName13=microcontrollers 45 | LibName14=dsp 46 | LibName15=microchip 47 | LibName16=analog_switches 48 | LibName17=motorola 49 | LibName18=texas 50 | LibName19=intel 51 | LibName20=audio 52 | LibName21=interface 53 | LibName22=digital-audio 54 | LibName23=philips 55 | LibName24=display 56 | LibName25=cypress 57 | LibName26=siliconi 58 | LibName27=opto 59 | LibName28=atmel 60 | LibName29=contrib 61 | LibName30=valves 62 | LibName31=libs/esp8266 63 | LibName32=libs/1wire 64 | LibName33=matt 65 | -------------------------------------------------------------------------------- /earth-to-mars/earth-to-mars.pro: -------------------------------------------------------------------------------- 1 | update=Mon 02 Nov 2015 20:09:26 GMT 2 | version=1 3 | last_client=kicad 4 | [pcbnew] 5 | version=1 6 | LastNetListRead= 7 | UseCmpFile=1 8 | PadDrill=0.600000000000 9 | PadDrillOvalY=0.600000000000 10 | PadSizeH=1.500000000000 11 | PadSizeV=1.500000000000 12 | PcbTextSizeV=1.500000000000 13 | PcbTextSizeH=1.500000000000 14 | PcbTextThickness=0.300000000000 15 | ModuleTextSizeV=1.000000000000 16 | ModuleTextSizeH=1.000000000000 17 | ModuleTextSizeThickness=0.150000000000 18 | SolderMaskClearance=0.000000000000 19 | SolderMaskMinWidth=0.000000000000 20 | DrawSegmentWidth=0.200000000000 21 | BoardOutlineThickness=0.100000000000 22 | ModuleOutlineThickness=0.150000000000 23 | [cvpcb] 24 | version=1 25 | NetIExt=net 26 | [eeschema] 27 | version=1 28 | LibDir= 29 | [eeschema/libraries] 30 | LibName1=power 31 | LibName2=device 32 | LibName3=transistors 33 | LibName4=conn 34 | LibName5=linear 35 | LibName6=regul 36 | LibName7=74xx 37 | LibName8=cmos4000 38 | LibName9=adc-dac 39 | LibName10=memory 40 | LibName11=xilinx 41 | LibName12=microcontrollers 42 | LibName13=dsp 43 | LibName14=microchip 44 | LibName15=analog_switches 45 | LibName16=motorola 46 | LibName17=texas 47 | LibName18=intel 48 | LibName19=audio 49 | LibName20=interface 50 | LibName21=digital-audio 51 | LibName22=philips 52 | LibName23=display 53 | LibName24=cypress 54 | LibName25=siliconi 55 | LibName26=opto 56 | LibName27=atmel 57 | LibName28=contrib 58 | LibName29=valves 59 | LibName30=libs/dht11 60 | LibName31=libs/mq8 61 | [general] 62 | version=1 63 | -------------------------------------------------------------------------------- /esp8266-12-breakout/esp8266-12-breakout.pro: -------------------------------------------------------------------------------- 1 | update=Fri 24 Jul 2015 21:12:48 BST 2 | version=1 3 | last_client=kicad 4 | [pcbnew] 5 | version=1 6 | LastNetListRead= 7 | UseCmpFile=1 8 | PadDrill=0.600000000000 9 | PadDrillOvalY=0.600000000000 10 | PadSizeH=1.500000000000 11 | PadSizeV=1.500000000000 12 | PcbTextSizeV=1.500000000000 13 | PcbTextSizeH=1.500000000000 14 | PcbTextThickness=0.300000000000 15 | ModuleTextSizeV=1.000000000000 16 | ModuleTextSizeH=1.000000000000 17 | ModuleTextSizeThickness=0.150000000000 18 | SolderMaskClearance=0.000000000000 19 | SolderMaskMinWidth=0.000000000000 20 | DrawSegmentWidth=0.200000000000 21 | BoardOutlineThickness=0.100000000000 22 | ModuleOutlineThickness=0.150000000000 23 | [cvpcb] 24 | version=1 25 | NetIExt=net 26 | [general] 27 | version=1 28 | [eeschema] 29 | version=1 30 | LibDir= 31 | [eeschema/libraries] 32 | LibName1=esp8266-12-breakout-rescue 33 | LibName2=power 34 | LibName3=device 35 | LibName4=transistors 36 | LibName5=conn 37 | LibName6=linear 38 | LibName7=regul 39 | LibName8=74xx 40 | LibName9=cmos4000 41 | LibName10=adc-dac 42 | LibName11=memory 43 | LibName12=xilinx 44 | LibName13=microcontrollers 45 | LibName14=dsp 46 | LibName15=microchip 47 | LibName16=analog_switches 48 | LibName17=motorola 49 | LibName18=texas 50 | LibName19=intel 51 | LibName20=audio 52 | LibName21=interface 53 | LibName22=digital-audio 54 | LibName23=philips 55 | LibName24=display 56 | LibName25=cypress 57 | LibName26=siliconi 58 | LibName27=opto 59 | LibName28=atmel 60 | LibName29=contrib 61 | LibName30=valves 62 | LibName31=libs/esp8266-12 63 | -------------------------------------------------------------------------------- /earth-to-mars/fp.pretty/SOT-223.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SOT-223 (layer F.Cu) (tedit 5637C205) 2 | (descr "module CMS SOT223 4 pins") 3 | (tags "CMS SOT") 4 | (attr smd) 5 | (fp_text reference Q1 (at 0 -0.762) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value Q_NMOS_DGS (at 0 0.762) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -3.556 1.524) (end -3.556 4.572) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -3.556 4.572) (end 3.556 4.572) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 3.556 4.572) (end 3.556 1.524) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -3.556 -1.524) (end -3.556 -2.286) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -3.556 -2.286) (end -2.032 -4.572) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -2.032 -4.572) (end 2.032 -4.572) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 2.032 -4.572) (end 3.556 -2.286) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start 3.556 -2.286) (end 3.556 -1.524) (layer F.SilkS) (width 0.15)) 19 | (pad 4 smd rect (at 0 -3.302) (size 3.6576 2.032) (layers F.Cu F.Paste F.Mask)) 20 | (pad 1 smd rect (at 0 3.302) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)) 21 | (pad 3 smd rect (at 2.286 3.302) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)) 22 | (pad 2 smd rect (at -2.286 3.302) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)) 23 | (model TO_SOT_Packages_SMD.3dshapes/SOT-223.wrl 24 | (at (xyz 0 0 0)) 25 | (scale (xyz 0.4 0.4 0.4)) 26 | (rotate (xyz 0 0 0)) 27 | ) 28 | ) 29 | -------------------------------------------------------------------------------- /libs/matt.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # esp8266 5 | # 6 | DEF esp8266 U 0 40 Y Y 1 F N 7 | F0 "U" 500 -200 60 H V C CNN 8 | F1 "esp8266" 650 -300 60 H V C CNN 9 | F2 "" 650 -300 60 H V C CNN 10 | F3 "" 650 -300 60 H V C CNN 11 | DRAW 12 | S 50 -100 1100 -950 0 1 0 N 13 | X rxd 1 -150 -200 200 R 50 50 1 1 I 14 | X vcc 2 -150 -300 200 R 50 50 1 1 W 15 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 16 | X rst 4 -150 -500 200 R 50 50 1 1 I 17 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 18 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 19 | X gnd 7 -150 -800 200 R 50 50 1 1 w 20 | X txd 8 -150 -900 200 R 50 50 1 1 O 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | # esp8266-12 25 | # 26 | DEF esp8266-12 U 0 40 Y Y 1 F N 27 | F0 "U" -150 150 60 H V C CNN 28 | F1 "esp8266-12" 150 -750 60 H V C CNN 29 | F2 "" 0 0 60 H V C CNN 30 | F3 "" 0 0 60 H V C CNN 31 | DRAW 32 | S -250 100 450 -700 1 1 0 N 33 | X reset 1 -450 50 200 R 50 50 1 1 B 34 | X adc 2 -450 -50 200 R 50 50 1 1 B 35 | X ch_pd 3 -450 -150 200 R 50 50 1 1 B 36 | X gpio16 4 -450 -250 200 R 50 50 1 1 B 37 | X gpio14 5 -450 -350 200 R 50 50 1 1 B 38 | X gpio12 6 -450 -450 200 R 50 50 1 1 B 39 | X gpio13 7 -450 -550 200 R 50 50 1 1 B 40 | X vcc 8 -450 -650 200 R 50 50 1 1 W 41 | X gnd 9 650 -650 200 L 50 50 1 1 w 42 | X gpio15 10 650 -550 200 L 50 50 1 1 B 43 | X gpio2 11 650 -450 200 L 50 50 1 1 B 44 | X gpio0 12 650 -350 200 L 50 50 1 1 B 45 | X gpio4 13 650 -250 200 L 50 50 1 1 B 46 | X gpio5 14 650 -150 200 L 50 50 1 1 B 47 | X rxd 15 650 -50 200 L 50 50 1 1 B 48 | X txd 16 650 50 200 L 50 50 1 1 B 49 | ENDDRAW 50 | ENDDEF 51 | # 52 | #End Library 53 | -------------------------------------------------------------------------------- /bbb-adc/libs/ads7883.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # ads7883 5 | # 6 | DEF ads7883 U 0 40 Y Y 6 F N 7 | F0 "U" 0 550 60 H V C CNN 8 | F1 "ads7883" 0 -450 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S -400 400 400 -300 0 1 0 N 13 | X vdd 1 -600 250 200 R 50 50 1 1 W 14 | X ground 2 -600 150 200 R 50 50 1 1 W 15 | X vin 3 -600 50 200 R 50 50 1 1 I 16 | X sclk 4 600 50 200 L 50 50 1 1 I 17 | X sdo 5 600 150 200 L 50 50 1 1 O 18 | X !cs 6 600 250 200 L 50 50 1 1 I 19 | X sdo 5 600 150 200 L 50 50 2 1 O 20 | X !cs 6 600 250 200 L 50 50 2 1 I 21 | X ground ~ -600 150 200 R 50 50 2 1 W 22 | X sclk ~ 600 50 200 L 50 50 2 1 I 23 | X vdd ~ -600 250 200 R 50 50 2 1 W 24 | X vin ~ -600 50 200 R 50 50 2 1 I 25 | X sdo 5 600 150 200 L 50 50 3 1 O 26 | X !cs 6 600 250 200 L 50 50 3 1 I 27 | X ground ~ -600 150 200 R 50 50 3 1 W 28 | X sclk ~ 600 50 200 L 50 50 3 1 I 29 | X vdd ~ -600 250 200 R 50 50 3 1 W 30 | X vin ~ -600 50 200 R 50 50 3 1 I 31 | X sdo 5 600 150 200 L 50 50 4 1 O 32 | X !cs 6 600 250 200 L 50 50 4 1 I 33 | X ground ~ -600 150 200 R 50 50 4 1 W 34 | X sclk ~ 600 50 200 L 50 50 4 1 I 35 | X vdd ~ -600 250 200 R 50 50 4 1 W 36 | X vin ~ -600 50 200 R 50 50 4 1 I 37 | X sdo 5 600 150 200 L 50 50 5 1 O 38 | X !cs 6 600 250 200 L 50 50 5 1 I 39 | X ground ~ -600 150 200 R 50 50 5 1 W 40 | X sclk ~ 600 50 200 L 50 50 5 1 I 41 | X vdd ~ -600 250 200 R 50 50 5 1 W 42 | X vin ~ -600 50 200 R 50 50 5 1 I 43 | X sdo 5 600 150 200 L 50 50 6 1 O 44 | X !cs 6 600 250 200 L 50 50 6 1 I 45 | X ground ~ -600 150 200 R 50 50 6 1 W 46 | X sclk ~ 600 50 200 L 50 50 6 1 I 47 | X vdd ~ -600 250 200 R 50 50 6 1 W 48 | X vin ~ -600 50 200 R 50 50 6 1 I 49 | ENDDRAW 50 | ENDDEF 51 | # 52 | #End Library 53 | -------------------------------------------------------------------------------- /dvi-pmod/libs/dvi.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # dvi 5 | # 6 | DEF dvi U 0 40 Y Y 1 F N 7 | F0 "U" 0 -300 60 H V C CNN 8 | F1 "dvi" 0 300 60 H V C CNN 9 | F2 "" 0 0 60 H I C CNN 10 | F3 "" 0 0 60 H I C CNN 11 | DRAW 12 | S -300 450 1050 -2200 0 1 0 N 13 | X link1_red_- 1 -500 250 200 R 50 50 1 1 I 14 | X link1_red_+ 2 -500 150 200 R 50 50 1 1 I 15 | X 2/4_shield 3 -500 50 200 R 50 50 1 1 I 16 | X link2_green_- 4 -500 -50 200 R 50 50 1 1 I 17 | X link2_green_+ 5 -500 -150 200 R 50 50 1 1 I 18 | X ddc_clock 6 -500 -250 200 R 50 50 1 1 I 19 | X ddc_data 7 -500 -350 200 R 50 50 1 1 I 20 | X ana_vert_sync 8 -500 -450 200 R 50 50 1 1 I 21 | X link1_green_- 9 -500 -550 200 R 50 50 1 1 I 22 | X link1_green+ 10 -500 -650 200 R 50 50 1 1 I 23 | X link2_red_- 20 -500 -1650 200 R 50 50 1 1 I 24 | X 1/3_shield 11 -500 -750 200 R 50 50 1 1 I 25 | X link2_red_- 21 -500 -1750 200 R 50 50 1 1 I 26 | X ana_red c1 1250 -550 200 L 50 50 1 1 I 27 | X link2_blue_- 12 -500 -850 200 R 50 50 1 1 I 28 | X shield_clock 22 -500 -1850 200 R 50 50 1 1 I 29 | X ana_green c2 1250 -650 200 L 50 50 1 1 I 30 | X link2_blue_+ 13 -500 -950 200 R 50 50 1 1 I 31 | X clock+ 23 -500 -1950 200 R 50 50 1 1 I 32 | X ana_blue c3 1250 -750 200 L 50 50 1 1 I 33 | X +5v_standby 14 -500 -1050 200 R 50 50 1 1 I 34 | X clock- 24 -500 -2050 200 R 50 50 1 1 I 35 | X ana_horiz_sync c4 1250 -850 200 L 50 50 1 1 I 36 | X gnd_for_sync_and_standby 15 -500 -1150 200 R 50 50 1 1 I 37 | X ana_gnd c5 1250 -950 200 L 50 50 1 1 I 38 | X hotplug_detect 16 -500 -1250 200 R 50 50 1 1 I 39 | X link1_blue_- 17 -500 -1350 200 R 50 50 1 1 I 40 | X link1_blue_+ 18 -500 -1450 200 R 50 50 1 1 I 41 | X shield_0/5 19 -500 -1550 200 R 50 50 1 1 I 42 | ENDDRAW 43 | ENDDEF 44 | # 45 | #End Library 46 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/USB_B_MINI_SMD.kicad_mod: -------------------------------------------------------------------------------- 1 | (module BASIC:USB_B_MINI_SMD (layer F.Cu) (tedit 571E20F6) 2 | (descr "USB B mini SMD connector") 3 | (fp_text reference P2 (at 0.254 0.762) (layer F.SilkS) 4 | (effects (font (size 0.99822 0.99822) (thickness 0.19558))) 5 | ) 6 | (fp_text value MICRO-USB-B (at 0 -6.35) (layer F.SilkS) hide 7 | (effects (font (size 0.99822 0.99822) (thickness 0.19812))) 8 | ) 9 | (fp_line (start -3.8989 5.00126) (end 3.8989 5.00126) (layer F.CrtYd) (width 0.3048)) 10 | (fp_line (start 3.8989 -5.31876) (end -3.8989 -5.31876) (layer F.CrtYd) (width 0.3048)) 11 | (pad 9 smd rect (at 4.42976 -3.6195) (size 2.1971 2.1971) (layers F.Cu F.Paste F.Mask)) 12 | (pad 1 smd rect (at -1.59766 -3.8989) (size 0.49784 2.1971) (layers F.Cu F.Paste F.Mask)) 13 | (pad 2 smd rect (at -0.79756 -3.8989) (size 0.49784 2.1971) (layers F.Cu F.Paste F.Mask)) 14 | (pad 3 smd rect (at 0 -3.8989) (size 0.49784 2.1971) (layers F.Cu F.Paste F.Mask)) 15 | (pad 4 smd rect (at 0.79756 -3.8989) (size 0.49784 2.1971) (layers F.Cu F.Paste F.Mask)) 16 | (pad 5 smd rect (at 1.59766 -3.8989) (size 0.49784 2.1971) (layers F.Cu F.Paste F.Mask)) 17 | (pad "" np_thru_hole circle (at -2.1971 -1.3716) (size 0.89916 0.89916) (drill 0.89916) (layers *.Cu *.Mask F.SilkS)) 18 | (pad "" np_thru_hole circle (at 2.19964 -1.3716) (size 0.89916 0.89916) (drill 0.89916) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 6 smd rect (at -4.42976 -3.6195) (size 2.1971 2.1971) (layers F.Cu F.Paste F.Mask)) 20 | (pad 7 smd rect (at -4.42976 1.8796) (size 2.1971 2.1971) (layers F.Cu F.Paste F.Mask)) 21 | (pad 8 smd rect (at 4.42976 1.8796) (size 2.1971 2.1971) (layers F.Cu F.Paste F.Mask)) 22 | (model walter/conn_pc/usb_B_mini_smd.wrl 23 | (at (xyz 0 0 0)) 24 | (scale (xyz 1 1 1)) 25 | (rotate (xyz 0 0 0)) 26 | ) 27 | ) 28 | -------------------------------------------------------------------------------- /bbb-adc/fp.pretty/SOIC-8-N.kicad_mod: -------------------------------------------------------------------------------- 1 | (module fp:SOIC-8-N (layer F.Cu) (tedit 57CEE050) 2 | (descr "Module Narrow CMS SOJ 8 pins large") 3 | (tags "CMS SOJ") 4 | (attr smd) 5 | (fp_text reference U1 (at 0 1.016) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value ref5050 (at 0.5 5.1) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -2.54 -0.254) (end -2.54 2.286) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 2.54 -0.254) (end 2.54 2.286) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -2.567 -0.251) (end 2.513 -0.251) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 2.54 2.286) (end -2.54 2.286) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -2.44 0.292) (end -1.932 0.292) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -1.932 0.292) (end -1.932 1.562) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start -1.932 1.562) (end -2.44 1.562) (layer F.SilkS) (width 0.15)) 18 | (pad 8 smd rect (at -1.905 -1.143) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 19 | (pad 7 smd rect (at -0.635 -1.143) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 20 | (pad 6 smd rect (at 0.635 -1.143) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 21 | (pad 5 smd rect (at 1.905 -1.143) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 22 | (pad 4 smd rect (at 1.905 3.175) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 23 | (pad 3 smd rect (at 0.635 3.175) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 24 | (pad 2 smd rect (at -0.635 3.175) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 25 | (pad 1 smd rect (at -1.905 3.175) (size 0.508 1.45) (layers F.Cu F.Paste F.Mask)) 26 | (model SMD_Packages.3dshapes/SOIC-8-N.wrl 27 | (at (xyz 0 0 0)) 28 | (scale (xyz 0.5 0.38 0.5)) 29 | (rotate (xyz 0 0 0)) 30 | ) 31 | ) 32 | -------------------------------------------------------------------------------- /libs/matt.pretty/SW_SPST_FSMSM.kicad_mod: -------------------------------------------------------------------------------- 1 | (module Buttons_Switches_SMD:SW_SPST_FSMSM (layer F.Cu) (tedit 55B3776E) 2 | (descr http://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=1437566-3&DocType=Customer+Drawing&DocLang=English) 3 | (tags "SPST button tactile switch") 4 | (attr smd) 5 | (fp_text reference SW1 (at 0.01011 -2.60022) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value SW_PUSH (at 0.2 2.7) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_line (start -1.23989 -0.55022) (end 1.26011 -0.55022) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 1.26011 -0.55022) (end 1.26011 0.54978) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 1.26011 0.54978) (end -1.23989 0.54978) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -1.23989 0.54978) (end -1.23989 -0.55022) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -1.48989 0.79978) (end 1.51011 0.79978) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start -1.48989 -0.80022) (end 1.51011 -0.80022) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 1.51011 -0.80022) (end 1.51011 0.79978) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start -1.48989 -0.80022) (end -1.48989 0.79978) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start -4.3 1.9) (end 4.3 1.9) (layer F.CrtYd) (width 0.05)) 20 | (fp_line (start 4.3 -2) (end 4.3 1.95) (layer F.CrtYd) (width 0.05)) 21 | (fp_line (start -2.98989 1.74978) (end 3.01011 1.74978) (layer F.SilkS) (width 0.15)) 22 | (fp_line (start -3.3 -1.9) (end 2.7 -1.9) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -4.3 -2) (end -4.3 1.95) (layer F.CrtYd) (width 0.05)) 24 | (fp_line (start -4.3 -2) (end 4.3 -2) (layer F.CrtYd) (width 0.05)) 25 | (pad 1 smd rect (at -2.9 -0.00232) (size 2.18 1.6) (layers F.Cu F.Paste F.Mask)) 26 | (pad 2 smd rect (at 2.9 0.00232) (size 2.18 1.6) (layers F.Cu F.Paste F.Mask)) 27 | ) 28 | -------------------------------------------------------------------------------- /notes.md: -------------------------------------------------------------------------------- 1 | # install ppa 2 | 3 | https://code.launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad 4 | 5 | # gotchas 6 | 7 | * copy block choose 'save block' 8 | * paste no shortcut, is a button on the toolbar 9 | * F to move components between layers 10 | * footprint editor libraries can't be relative paths 11 | * search paths don't work in library editor; choose the exact file instead 12 | 13 | ## offline mode 14 | 15 | * download nathan's lib getter 16 | * download all git libraries. 17 | * use the new ~/fp-table-lib (check) instead of ~/.config/kicad/xxx 18 | 19 | ## create a new symbol in a new lib 20 | 21 | Symbol librarys are single files that end in .lib. They can contain 1 or many symbols 22 | 23 | * schematic library editor 24 | * create new component button, add pins, outline etc 25 | * save component to new library button 26 | * quit 27 | 28 | ## create a new symbol in an existing lib 29 | 30 | * schematic lib editor 31 | * file -> current library 32 | * choose the library you want to add to 33 | * draw symbol 34 | * save library 35 | 36 | ### add a library file to preferences 37 | 38 | * open eschema 39 | * prefs -> component libs 40 | * add component library _file_ (not path) 41 | * find lib just created and double click it 42 | * now should be able to search for symbol when adding new symbols 43 | 44 | ## create a new footprint in a new lib 45 | 46 | Footprint librarys are files within a directory. The directory name ends in 47 | .pretty. The files end in .kicad_mod. Each file contains a separate footprint 48 | 49 | * PCB footprint editor 50 | * click new footprint button 51 | * draw pins & outline etc 52 | * file -> save footprint in new library 53 | * make a new directory and ensure has .pretty extension 54 | * quit (ignore warning about losing work) 55 | 56 | ## create a new footprint in an existing lib 57 | 58 | * open pcb footprint editor 59 | * file -> set active library 60 | * choose the library you want to add to 61 | * save footprint in active library button 62 | * quit 63 | 64 | ### add library directory to prefs 65 | 66 | * open pcb editor 67 | * preferences -> footprint library manager 68 | * either project specific or global tab 69 | * add the path to the library directory (ends in .pretty) ensure its type is kicad 70 | * then add .pretty directory in preferences 71 | 72 | This will add lines to either the local fp-lib-table file in the project 73 | directory, or the global fp-lib-table in ~/.config/kicad 74 | 75 | -------------------------------------------------------------------------------- /modbox-brain/README.md: -------------------------------------------------------------------------------- 1 | # schematic 2 | 3 | [pdf](schematic.pdf) 4 | 5 | # power consideration 6 | 7 | ESP8266 uses about 100ma when on with wifi 8 | lcd board will use about 50ma 9 | knobs with all leds will use about 100ma with 5ma led current 10 | guess that buttons will be about half knobs = 50ma (less leds) 11 | 12 | 2 lcds + 2 knobs + button + brain = 450ma max, easy to imagine something twice 13 | as big, so supply should provide 100ma to 1000ma. 14 | 15 | Initial idea was to use an LDO with enable as with lipo this will provide 16 | between 80 & 90% efficiency. However, as unit may run continuously on 5v, 17 | efficiency drops to 70%. Switched to using a [TI LMR10510 buck 18 | regulator](http://www.ti.com/lit/ds/symlink/lmr10510.pdf), which should provide 19 | 90%, though datasheet doesn't show how efficiency varies with changing input 20 | voltage. 21 | 22 | 23 | # states & indicators 24 | 25 | off -> on with vusb -> vusb goes off -> timeout -> off 26 | off -> on with battery -> timeout -> off 27 | 28 | ## off 29 | 30 | lowest power, no indicators 31 | 32 | ## plugged in with usb 33 | 34 | immediate indicator that plugging in has worked, either: 35 | 36 | * red charge led shows charging, or 37 | * green charge complete led shows charge complete 38 | 39 | ## on 40 | 41 | immediate indicator of on-ness via blue status led: 42 | 43 | * comes on asap to show system is working. 44 | * pulses low while wifi connects, goes off when wifi connected 45 | * flashes whenever mqtt messages exchanged 46 | 47 | ## with battery low 48 | 49 | indicator of battery low with separate red led: 50 | 51 | * getting low, flash 52 | * too low, on 53 | 54 | # IO for power management 55 | 56 | inputs: 57 | 58 | * vusb via divider 59 | * vbat adc via enable mosfet 60 | 61 | outputs: 62 | 63 | * enable output for adc enable and reg enable 64 | * low batt led 65 | 66 | # esp8266 flash with nodemcu style gpio control 67 | 68 | * gpio15 must be low, gpio2 must be high 69 | * gpio0 high -> run mode 70 | * gpio0 low -> flash mode 71 | * gpio16 tied to reset for sleep mode wake up 72 | 73 | cp2102 dtr & rts control 2 transistors that control reset and gpio0 74 | 75 | Tested by building transistor circuit copied from nodemcu schematic esp12 v0.9 76 | 20/11/2014. 77 | 78 | boardtype in arduino is nodemcu 0.9 (uses nodemcu for board type with esptool) 79 | 80 | tested with cp1202 chip on breakout 81 | [tests results](esp-prog-test/nodemcu-results) = 18/20 success 82 | 83 | serial output works too 84 | 85 | ## usb current settings 86 | 87 | able to set max current to cp2102 with [this tool] 88 | (https://github.com/Lembed/Usb-Serial-Breakout-Cp2102) 89 | -------------------------------------------------------------------------------- /libs/matt.pretty/esp8266-12.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266-12 (layer F.Cu) (tedit 55ACE67C) 2 | (fp_text reference U2 (at 3.2 3.9) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266-12 (at 6.2 5.9) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 16.2 1.9) (end 21.2 1.9) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 21.2 1.9) (end 21.2 3.9) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 21.2 3.9) (end 16.2 3.9) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 16.2 3.9) (end 16.2 6.9) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 16.2 6.9) (end 21.2 6.9) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 21.2 6.9) (end 21.2 8.9) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 21.2 8.9) (end 16.2 8.9) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 16.2 8.9) (end 16.2 10.9) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start 16.2 10.9) (end 21.2 10.9) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 21.2 10.9) (end 21.2 13.9) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start -1.8 -0.1) (end -1.8 15.9) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start -1.8 15.9) (end 22.2 15.9) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start 22.2 15.9) (end 22.2 -0.1) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start 22.2 -0.1) (end -1.8 -0.1) (layer F.SilkS) (width 0.15)) 22 | (pad 8 smd oval (at 0 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 23 | (pad 7 smd oval (at 2 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 24 | (pad 6 smd oval (at 4 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 25 | (pad 5 smd oval (at 6 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 26 | (pad 4 smd oval (at 8 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 27 | (pad 3 smd oval (at 10 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd oval (at 12 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 29 | (pad 1 smd oval (at 14 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 30 | (pad 9 smd oval (at 0 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 31 | (pad 10 smd oval (at 2 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 32 | (pad 11 smd oval (at 4 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 33 | (pad 12 smd oval (at 6 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 34 | (pad 13 smd oval (at 8 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 35 | (pad 14 smd oval (at 10 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 36 | (pad 15 smd oval (at 12 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 37 | (pad 16 smd oval (at 14 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 38 | ) 39 | -------------------------------------------------------------------------------- /modbox-brain/fp.pretty/esp8266-12.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266-12 (layer F.Cu) (tedit 55ACE67C) 2 | (fp_text reference U2 (at 3.2 3.9) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266-12 (at 6.2 5.9) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 16.2 1.9) (end 21.2 1.9) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 21.2 1.9) (end 21.2 3.9) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 21.2 3.9) (end 16.2 3.9) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 16.2 3.9) (end 16.2 6.9) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 16.2 6.9) (end 21.2 6.9) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 21.2 6.9) (end 21.2 8.9) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 21.2 8.9) (end 16.2 8.9) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 16.2 8.9) (end 16.2 10.9) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start 16.2 10.9) (end 21.2 10.9) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 21.2 10.9) (end 21.2 13.9) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start -1.8 -0.1) (end -1.8 15.9) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start -1.8 15.9) (end 22.2 15.9) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start 22.2 15.9) (end 22.2 -0.1) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start 22.2 -0.1) (end -1.8 -0.1) (layer F.SilkS) (width 0.15)) 22 | (pad 8 smd oval (at 0 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 23 | (pad 7 smd oval (at 2 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 24 | (pad 6 smd oval (at 4 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 25 | (pad 5 smd oval (at 6 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 26 | (pad 4 smd oval (at 8 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 27 | (pad 3 smd oval (at 10 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd oval (at 12 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 29 | (pad 1 smd oval (at 14 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 30 | (pad 9 smd oval (at 0 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 31 | (pad 10 smd oval (at 2 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 32 | (pad 11 smd oval (at 4 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 33 | (pad 12 smd oval (at 6 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 34 | (pad 13 smd oval (at 8 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 35 | (pad 14 smd oval (at 10 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 36 | (pad 15 smd oval (at 12 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 37 | (pad 16 smd oval (at 14 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 38 | ) 39 | -------------------------------------------------------------------------------- /esp8266-12-breakout/libs/esp8266-12.pretty/esp8266-12.kicad_mod: -------------------------------------------------------------------------------- 1 | (module esp8266-12 (layer F.Cu) (tedit 55ACE67C) 2 | (fp_text reference U2 (at 3.2 3.9) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value esp8266-12 (at 6.2 5.9) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 16.2 1.9) (end 21.2 1.9) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 21.2 1.9) (end 21.2 3.9) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 21.2 3.9) (end 16.2 3.9) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 16.2 3.9) (end 16.2 6.9) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 16.2 6.9) (end 21.2 6.9) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 21.2 6.9) (end 21.2 8.9) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 21.2 8.9) (end 16.2 8.9) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 16.2 8.9) (end 16.2 10.9) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start 16.2 10.9) (end 21.2 10.9) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 21.2 10.9) (end 21.2 13.9) (layer F.SilkS) (width 0.15)) 18 | (fp_line (start -1.8 -0.1) (end -1.8 15.9) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start -1.8 15.9) (end 22.2 15.9) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start 22.2 15.9) (end 22.2 -0.1) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start 22.2 -0.1) (end -1.8 -0.1) (layer F.SilkS) (width 0.15)) 22 | (pad 8 smd oval (at 0 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 23 | (pad 7 smd oval (at 2 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 24 | (pad 6 smd oval (at 4 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 25 | (pad 5 smd oval (at 6 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 26 | (pad 4 smd oval (at 8 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 27 | (pad 3 smd oval (at 10 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd oval (at 12 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 29 | (pad 1 smd oval (at 14 -0.1) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 30 | (pad 9 smd oval (at 0 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 31 | (pad 10 smd oval (at 2 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 32 | (pad 11 smd oval (at 4 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 33 | (pad 12 smd oval (at 6 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 34 | (pad 13 smd oval (at 8 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 35 | (pad 14 smd oval (at 10 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 36 | (pad 15 smd oval (at 12 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 37 | (pad 16 smd oval (at 14 15.9) (size 1.524 3) (layers F.Cu F.Paste F.Mask)) 38 | ) 39 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb.pretty/lipo-charger-boost.kicad_mod: -------------------------------------------------------------------------------- 1 | (module lipo-charger-boost (layer F.Cu) (tedit 5D9F26B5) 2 | (fp_text reference U2 (at 16.5 10) (layer F.SilkS) hide 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value lipo-charger-boost (at 16.5 8) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 31 5.25) (end 31 2) (layer F.SilkS) (width 0.2)) 9 | (fp_line (start 24 5.25) (end 31 5.25) (layer F.SilkS) (width 0.2)) 10 | (fp_line (start 24 2) (end 24 5.25) (layer F.SilkS) (width 0.2)) 11 | (fp_line (start 31 2) (end 24 2) (layer F.SilkS) (width 0.2)) 12 | (fp_text user keepout (at 27.25 3.5) (layer F.SilkS) 13 | (effects (font (size 1 1) (thickness 0.15))) 14 | ) 15 | (fp_text user USB (at 9.5 2.5) (layer F.Fab) 16 | (effects (font (size 1 1) (thickness 0.15))) 17 | ) 18 | (fp_line (start 0 11.75) (end 33 11.75) (layer F.Fab) (width 0.2)) 19 | (fp_line (start 16.5 0) (end 16.5 23.5) (layer F.Fab) (width 0.2)) 20 | (fp_line (start 12.5 0) (end 3.5 0) (layer F.Fab) (width 0.2)) 21 | (fp_line (start 14 6) (end 14 0) (layer F.Fab) (width 0.2)) 22 | (fp_line (start 5 6) (end 14 6) (layer F.Fab) (width 0.2)) 23 | (fp_line (start 5 0) (end 5 6) (layer F.Fab) (width 0.2)) 24 | (fp_line (start 0 23.5) (end 0 0) (layer F.SilkS) (width 0.2)) 25 | (fp_line (start 33 23.5) (end 0 23.5) (layer F.SilkS) (width 0.2)) 26 | (fp_line (start 33 0) (end 33 23.5) (layer F.SilkS) (width 0.2)) 27 | (fp_line (start 0 0) (end 33 0) (layer F.SilkS) (width 0.2)) 28 | (fp_text user in- (at 2.25 -3) (layer F.SilkS) 29 | (effects (font (size 1 1) (thickness 0.15))) 30 | ) 31 | (fp_text user in+ (at 17.5 -3) (layer F.SilkS) 32 | (effects (font (size 1 1) (thickness 0.15))) 33 | ) 34 | (fp_text user out+ (at 30.75 -3) (layer F.SilkS) 35 | (effects (font (size 1 1) (thickness 0.15))) 36 | ) 37 | (fp_text user out- (at 24.5 -3) (layer F.SilkS) 38 | (effects (font (size 1 1) (thickness 0.15))) 39 | ) 40 | (fp_text user bat- (at 4.75 26.5) (layer F.SilkS) 41 | (effects (font (size 1 1) (thickness 0.15))) 42 | ) 43 | (fp_text user bat+ (at 14.75 26.5) (layer F.SilkS) 44 | (effects (font (size 1 1) (thickness 0.15))) 45 | ) 46 | (pad 1 smd rect (at 24.25 0) (size 4 4) (layers F.Cu F.Paste F.Mask)) 47 | (pad 1 smd rect (at 4.5 23.5) (size 4 4) (layers F.Cu F.Paste F.Mask)) 48 | (pad 4 smd rect (at 14.5 23.5) (size 4 4) (layers F.Cu F.Paste F.Mask)) 49 | (pad 3 smd rect (at 31 0) (size 4 4) (layers F.Cu F.Paste F.Mask)) 50 | (pad 2 smd rect (at 17.5 0) (size 4 4) (layers F.Cu F.Paste F.Mask)) 51 | (pad 1 smd rect (at 2 0) (size 4 4) (layers F.Cu F.Paste F.Mask)) 52 | ) 53 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb.pretty/Pin_Header_Straight_2x03_Pitch2.54mm.kicad_mod: -------------------------------------------------------------------------------- 1 | (module Pin_Header_Straight_2x03_Pitch2.54mm (layer F.Cu) (tedit 5D962952) 2 | (descr "Through hole straight pin header, 2x03, 2.54mm pitch, double rows") 3 | (tags "Through hole pin header THT 2x03 2.54mm double row") 4 | (fp_text reference J5 (at 1.27 -2.33) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value Conn_02x03_Row_Letter_First (at 1.27 7.41) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start -1.275 -3.77) (end 2.535 -3.77) (layer F.Fab) (width 0.1)) 11 | (fp_line (start 2.535 -3.77) (end 2.535 3.85) (layer F.Fab) (width 0.1)) 12 | (fp_line (start 2.535 3.85) (end -2.545 3.85) (layer F.Fab) (width 0.1)) 13 | (fp_line (start -2.545 3.85) (end -2.545 -2.5) (layer F.Fab) (width 0.1)) 14 | (fp_line (start -2.545 -2.5) (end -1.275 -3.77) (layer F.Fab) (width 0.1)) 15 | (fp_line (start -2.605 3.91) (end 2.595 3.91) (layer F.SilkS) (width 0.12)) 16 | (fp_line (start -2.605 -1.23) (end -2.605 3.91) (layer F.SilkS) (width 0.12)) 17 | (fp_line (start 2.595 -3.83) (end 2.595 3.91) (layer F.SilkS) (width 0.12)) 18 | (fp_line (start -2.605 -1.23) (end -0.005 -1.23) (layer F.SilkS) (width 0.12)) 19 | (fp_line (start -0.005 -1.23) (end -0.005 -3.83) (layer F.SilkS) (width 0.12)) 20 | (fp_line (start -0.005 -3.83) (end 2.595 -3.83) (layer F.SilkS) (width 0.12)) 21 | (fp_line (start -2.605 -2.5) (end -2.605 -3.83) (layer F.SilkS) (width 0.12)) 22 | (fp_line (start -2.605 -3.83) (end -1.275 -3.83) (layer F.SilkS) (width 0.12)) 23 | (fp_line (start -3.075 -4.3) (end -3.075 4.35) (layer F.CrtYd) (width 0.05)) 24 | (fp_line (start -3.075 4.35) (end 3.075 4.35) (layer F.CrtYd) (width 0.05)) 25 | (fp_line (start 3.075 4.35) (end 3.075 -4.3) (layer F.CrtYd) (width 0.05)) 26 | (fp_line (start 3.075 -4.3) (end -3.075 -4.3) (layer F.CrtYd) (width 0.05)) 27 | (fp_text user %R (at -0.005 0.04 90) (layer F.Fab) 28 | (effects (font (size 1 1) (thickness 0.15))) 29 | ) 30 | (pad 1 thru_hole rect (at -1.275 -2.5) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 31 | (pad 2 thru_hole oval (at 1.265 -2.5) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 32 | (pad 3 thru_hole oval (at -1.275 0.04) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 33 | (pad 4 thru_hole oval (at 1.265 0.04) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 34 | (pad 5 thru_hole oval (at -1.275 2.58) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 35 | (pad 6 thru_hole oval (at 1.265 2.58) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)) 36 | (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_2x03_Pitch2.54mm.wrl 37 | (at (xyz -0.05118110236220473 0.1023622047244095 0)) 38 | (scale (xyz 1 1 1)) 39 | (rotate (xyz 0 0 0)) 40 | ) 41 | ) 42 | -------------------------------------------------------------------------------- /scripts/bom_csv_grouped_by_value_all.py: -------------------------------------------------------------------------------- 1 | # 2 | # Example python script to generate a BOM from a KiCad generic netlist 3 | # 4 | # Example: Sorted and Grouped CSV BOM 5 | # 6 | 7 | """ 8 | @package 9 | Generate a Tab delimited list (csv file type). 10 | Components are sorted by ref and grouped by value with same footprint 11 | Fields are (if exist) 12 | 'Ref', 'Qnty', 'Value', 'Cmp name', 'Footprint', 'Description', 'Vendor', 'Farnell #' 13 | """ 14 | 15 | # Import the KiCad python helper module and the csv formatter 16 | import kicad_netlist_reader 17 | import csv 18 | import sys 19 | 20 | # Generate an instance of a generic netlist, and load the netlist tree from 21 | # the command line option. If the file doesn't exist, execution will stop 22 | net = kicad_netlist_reader.netlist(sys.argv[1]) 23 | 24 | # Open a file to write to, if the file cannot be opened output to stdout 25 | # instead 26 | try: 27 | f = open(sys.argv[2] + "-bom.csv", 'w') 28 | except IOError: 29 | e = "Can't open output file for writing: " + sys.argv[2] 30 | print(__file__, ":", e, sys.stderr) 31 | f = sys.stdout 32 | 33 | # Create a new csv writer object to use as the output formatter 34 | out = csv.writer(f, lineterminator='\n', delimiter=',', quotechar='\"', quoting=csv.QUOTE_ALL) 35 | 36 | # Output a set of rows for a header providing general information 37 | #out.writerow(['Source:', net.getSource()]) 38 | #out.writerow(['Date:', net.getDate()]) 39 | #out.writerow(['Tool:', net.getTool()]) 40 | #out.writerow( ['Generator:', sys.argv[0]] ) 41 | #out.writerow(['Component Count:', len(net.components)]) 42 | out.writerow(['Ref', 'Qnty', 'Value', 'Cmp name', 'Footprint', 'Description', 'Vendor', 'Vendor P/N', 'farnell #', 'MOQ', 'Lead Time']) 43 | 44 | # Get all of the components in groups of matching parts + values 45 | # (see ky_generic_netlist_reader.py) 46 | grouped = net.groupComponents() 47 | log_f = open(sys.argv[2] + ".log", 'w') 48 | # Output all of the component information 49 | for group in grouped: 50 | refs = "" 51 | c = None 52 | 53 | # Add the reference of every component in the group and keep a reference 54 | # to the component so that the other data can be filled in once per group 55 | for component in group: 56 | if "dnp" in component.getField("supplier"): 57 | print("skipping DNP component: %s" % (component.getRef())) 58 | else: 59 | refs += component.getRef() + ", " 60 | c = component 61 | 62 | if c is not None: 63 | try: 64 | farn_quant = int(c.getField("quant")) 65 | except ValueError: 66 | farn_quant = 1 67 | # Fill in the component groups common data 68 | out.writerow([refs, len(group) * farn_quant, c.getValue(), c.getPartName(), c.getFootprint(), c.getDescription(), c.getField("supplier"), c.getField("supplier PN"), c.getField("farnell #"), c.getField("MOQ"), c.getField("leadtime")]) 69 | 70 | 71 | -------------------------------------------------------------------------------- /modbox-lcd/fp.pretty/lcd-endconn.kicad_mod: -------------------------------------------------------------------------------- 1 | (module lcd-endconn (layer F.Cu) (tedit 5800D8DE) 2 | (fp_text reference REF** (at -0.6096 4.8514) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value lcd-endconn (at -0.5588 -5.2832) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 2.5 -20.7) (end 73.3 -20.7) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start 73.3 -20.7) (end 73.3 5.6) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 73.3 5.6) (end 2.5 5.6) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 2.5 5.6) (end 2.5 -20.7) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -4.6 8.7) (end 80.4 8.7) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start 80.4 -23.9) (end -4.6 -23.9) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start 80.4 8.7) (end 80.4 -23.9) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start -4.6 8.7) (end -4.6 -23.9) (layer F.SilkS) (width 0.15)) 16 | (pad 1 thru_hole circle (at 0 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 2 thru_hole circle (at -2.54 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 3 thru_hole circle (at 0 -2.54) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 4 thru_hole circle (at -2.54 -2.54) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 20 | (pad 5 thru_hole circle (at 0 -5.08) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 21 | (pad 6 thru_hole circle (at -2.54 -5.08) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 22 | (pad 7 thru_hole circle (at 0 -7.62) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 23 | (pad 8 thru_hole circle (at -2.54 -7.62) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 24 | (pad 9 thru_hole circle (at 0 -10.16) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 25 | (pad 10 thru_hole circle (at -2.54 -10.16) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 26 | (pad 11 thru_hole circle (at 0 -12.7) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 27 | (pad 12 thru_hole circle (at -2.54 -12.7) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 28 | (pad 13 thru_hole circle (at 0 -15.24) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 29 | (pad 14 thru_hole circle (at -2.54 -15.24) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 30 | (pad 15 thru_hole circle (at 0 -17.78) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 31 | (pad 16 thru_hole circle (at -2.54 -17.78) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS)) 32 | (pad 17 thru_hole circle (at -1.3 -22.2) (size 3 3) (drill 2.7) (layers *.Cu *.Mask F.SilkS)) 33 | (pad 20 thru_hole circle (at -1.3 7) (size 3 3) (drill 2.7) (layers *.Cu *.Mask F.SilkS)) 34 | (pad 18 thru_hole circle (at 77.7 -22.2) (size 3 3) (drill 2.7) (layers *.Cu *.Mask F.SilkS)) 35 | (pad 19 thru_hole circle (at 77.7 7) (size 3 3) (drill 2.7) (layers *.Cu *.Mask F.SilkS)) 36 | ) 37 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/fp.pretty/icestick.kicad_mod: -------------------------------------------------------------------------------- 1 | (module icestick (layer F.Cu) (tedit 5B6085B5) 2 | (fp_text reference U1 (at 0 -3.175) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value icestick (at 0 -1.27) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start -12.7 0) (end 12.7 0) (layer F.Fab) (width 0.1)) 9 | (fp_line (start 12.7 0) (end 12.7 -88.9) (layer F.Fab) (width 0.1)) 10 | (fp_line (start 12.7 -88.9) (end -12.7 -88.9) (layer F.Fab) (width 0.1)) 11 | (fp_line (start -12.7 -88.9) (end -12.7 0) (layer F.Fab) (width 0.1)) 12 | (fp_line (start -7.62 -88.9) (end -7.62 -99.06) (layer F.Fab) (width 0.1)) 13 | (fp_line (start -7.62 -99.06) (end 7.62 -99.06) (layer F.Fab) (width 0.1)) 14 | (fp_line (start 7.62 -99.06) (end 7.62 -88.9) (layer F.Fab) (width 0.1)) 15 | (fp_text user GND (at -7.62 -4.445) (layer F.SilkS) 16 | (effects (font (size 1 1) (thickness 0.15))) 17 | ) 18 | (fp_text user 3.3V (at -7.62 -1.905) (layer F.SilkS) 19 | (effects (font (size 1 1) (thickness 0.15))) 20 | ) 21 | (fp_text user 3.3V (at 8.255 -1.905) (layer F.SilkS) 22 | (effects (font (size 1 1) (thickness 0.15))) 23 | ) 24 | (fp_text user GND (at 8.255 -4.445) (layer F.SilkS) 25 | (effects (font (size 1 1) (thickness 0.15))) 26 | ) 27 | (pad 1 thru_hole circle (at -10.795 -24.765) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 28 | (pad 11 thru_hole circle (at 10.795 -24.765) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 29 | (pad 2 thru_hole circle (at -10.795 -22.225) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 30 | (pad 3 thru_hole circle (at -10.795 -19.685) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 31 | (pad 4 thru_hole circle (at -10.795 -17.145) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 32 | (pad 5 thru_hole circle (at -10.795 -14.605) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 33 | (pad 6 thru_hole circle (at -10.795 -12.065) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 34 | (pad 7 thru_hole circle (at -10.795 -9.525) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 35 | (pad 8 thru_hole circle (at -10.795 -6.985) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 36 | (pad 9 thru_hole circle (at -10.795 -4.445) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 37 | (pad 10 thru_hole circle (at -10.795 -1.905) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 38 | (pad 12 thru_hole circle (at 10.795 -22.225) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 39 | (pad 13 thru_hole circle (at 10.795 -19.685) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 40 | (pad 14 thru_hole circle (at 10.795 -17.145) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 41 | (pad 15 thru_hole circle (at 10.795 -14.605) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 42 | (pad 16 thru_hole circle (at 10.795 -12.065) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 43 | (pad 17 thru_hole circle (at 10.795 -9.525) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 44 | (pad 18 thru_hole circle (at 10.795 -6.985) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 45 | (pad 19 thru_hole circle (at 10.795 -4.445) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 46 | (pad 20 thru_hole circle (at 10.795 -1.905) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask)) 47 | ) 48 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb-namebadge.pro: -------------------------------------------------------------------------------- 1 | update=Thu 10 Oct 2019 19:09:26 CEST 2 | version=1 3 | last_client=kicad 4 | [general] 5 | version=1 6 | RootSch= 7 | BoardNm= 8 | [pcbnew] 9 | version=1 10 | LastNetListRead= 11 | UseCmpFile=1 12 | PadDrill=0.600000000000 13 | PadDrillOvalY=0.600000000000 14 | PadSizeH=1.500000000000 15 | PadSizeV=1.500000000000 16 | PcbTextSizeV=1.500000000000 17 | PcbTextSizeH=1.500000000000 18 | PcbTextThickness=0.300000000000 19 | ModuleTextSizeV=1.000000000000 20 | ModuleTextSizeH=1.000000000000 21 | ModuleTextSizeThickness=0.150000000000 22 | SolderMaskClearance=0.000000000000 23 | SolderMaskMinWidth=0.000000000000 24 | DrawSegmentWidth=0.200000000000 25 | BoardOutlineThickness=0.100000000000 26 | ModuleOutlineThickness=0.150000000000 27 | [cvpcb] 28 | version=1 29 | NetIExt=net 30 | [eeschema] 31 | version=1 32 | LibDir= 33 | [eeschema/libraries] 34 | LibName1=74xgxx 35 | LibName2=74xx 36 | LibName3=ac-dc 37 | LibName4=actel 38 | LibName5=adc-dac 39 | LibName6=allegro 40 | LibName7=Altera 41 | LibName8=analog_devices 42 | LibName9=analog_switches 43 | LibName10=atmel 44 | LibName11=audio 45 | LibName12=battery_management 46 | LibName13=bbd 47 | LibName14=bosch 48 | LibName15=brooktre 49 | LibName16=cmos4000 50 | LibName17=cmos_ieee 51 | LibName18=conn 52 | LibName19=contrib 53 | LibName20=cypress 54 | LibName21=dc-dc 55 | LibName22=device 56 | LibName23=digital-audio 57 | LibName24=diode 58 | LibName25=display 59 | LibName26=dsp 60 | LibName27=elec-unifil 61 | LibName28=ESD_Protection 62 | LibName29=ftdi 63 | LibName30=gennum 64 | LibName31=graphic_symbols 65 | LibName32=hc11 66 | LibName33=infineon 67 | LibName34=intel 68 | LibName35=interface 69 | LibName36=intersil 70 | LibName37=ir 71 | LibName38=Lattice 72 | LibName39=leds 73 | LibName40=LEM 74 | LibName41=linear 75 | LibName42=logic_programmable 76 | LibName43=maxim 77 | LibName44=mechanical 78 | LibName45=memory 79 | LibName46=microchip 80 | LibName47=microchip_dspic33dsc 81 | LibName48=microchip_pic10mcu 82 | LibName49=microchip_pic12mcu 83 | LibName50=microchip_pic16mcu 84 | LibName51=microchip_pic18mcu 85 | LibName52=microchip_pic24mcu 86 | LibName53=microchip_pic32mcu 87 | LibName54=microcontrollers 88 | LibName55=modules 89 | LibName56=motor_drivers 90 | LibName57=motorola 91 | LibName58=motors 92 | LibName59=msp430 93 | LibName60=nordicsemi 94 | LibName61=nxp 95 | LibName62=nxp_armmcu 96 | LibName63=onsemi 97 | LibName64=opto 98 | LibName65=Oscillators 99 | LibName66=philips 100 | LibName67=power 101 | LibName68=powerint 102 | LibName69=Power_Management 103 | LibName70=pspice 104 | LibName71=references 105 | LibName72=regul 106 | LibName73=relays 107 | LibName74=rfcom 108 | LibName75=RFSolutions 109 | LibName76=sensors 110 | LibName77=silabs 111 | LibName78=siliconi 112 | LibName79=stm8 113 | LibName80=stm32 114 | LibName81=supertex 115 | LibName82=switches 116 | LibName83=texas 117 | LibName84=transf 118 | LibName85=transistors 119 | LibName86=triac_thyristor 120 | LibName87=ttl_ieee 121 | LibName88=valves 122 | LibName89=video 123 | LibName90=wiznet 124 | LibName91=Worldsemi 125 | LibName92=Xicor 126 | LibName93=xilinx 127 | LibName94=zetex 128 | LibName95=Zilog 129 | LibName96=oobb-namebadge 130 | [schematic_editor] 131 | version=1 132 | PageLayoutDescrFile= 133 | PlotDirectoryName= 134 | SubpartIdSeparator=0 135 | SubpartFirstId=65 136 | NetFmtName= 137 | SpiceAjustPassiveValues=0 138 | LabSize=118 139 | ERC_TestSimilarLabels=1 140 | -------------------------------------------------------------------------------- /wiimote-fpga/fp.pretty/wiimote.kicad_mod: -------------------------------------------------------------------------------- 1 | (module wiimote (layer F.Cu) (tedit 592C5290) 2 | (fp_text reference U2 (at 0.05 -3.05) (layer B.SilkS) hide 3 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 4 | ) 5 | (fp_text value wiimote-camera (at 0 -4.8) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 6.5 4.9) (end 6.5 4.9) (layer B.SilkS) (width 0.15)) 9 | (fp_line (start 6.5 1.9) (end 6.5 4.9) (layer B.SilkS) (width 0.15)) 10 | (fp_line (start 6 -2.1) (end 6 -2.1) (layer B.SilkS) (width 0.15)) 11 | (fp_line (start -6 -2.1) (end 6 -2.1) (layer B.SilkS) (width 0.15)) 12 | (fp_line (start -6.5 1.9) (end -6.5 1.9) (layer B.SilkS) (width 0.15)) 13 | (fp_line (start -6.5 4.9) (end -6.5 1.9) (layer B.SilkS) (width 0.15)) 14 | (fp_line (start -6 5.9) (end -6 5.9) (layer B.SilkS) (width 0.15)) 15 | (fp_line (start 6 5.9) (end -6 5.9) (layer B.SilkS) (width 0.15)) 16 | (fp_line (start 6 -2.1) (end 6 -2.1) (layer B.SilkS) (width 0.15)) 17 | (fp_line (start 6 1.9) (end 6 -2.1) (layer B.SilkS) (width 0.15)) 18 | (fp_line (start 6.5 1.9) (end 6 1.9) (layer B.SilkS) (width 0.15)) 19 | (fp_line (start 6 5.9) (end 6 5.9) (layer B.SilkS) (width 0.15)) 20 | (fp_line (start 6 4.9) (end 6 5.9) (layer B.SilkS) (width 0.15)) 21 | (fp_line (start 6.5 4.9) (end 6 4.9) (layer B.SilkS) (width 0.15)) 22 | (fp_line (start -6 5.9) (end -6 5.9) (layer B.SilkS) (width 0.15)) 23 | (fp_line (start -6 4.9) (end -6 5.9) (layer B.SilkS) (width 0.15)) 24 | (fp_line (start -6.5 4.9) (end -6 4.9) (layer B.SilkS) (width 0.15)) 25 | (fp_line (start -6 -2.1) (end -6 -2.1) (layer B.SilkS) (width 0.15)) 26 | (fp_line (start -6 1.9) (end -6 -2.1) (layer B.SilkS) (width 0.15)) 27 | (fp_line (start -6.5 1.9) (end -6 1.9) (layer B.SilkS) (width 0.15)) 28 | (fp_line (start -6.5 3.4) (end -6.5 3.4) (layer B.SilkS) (width 0.15)) 29 | (fp_text user 1 (at 3.8 3.8) (layer B.SilkS) 30 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 31 | ) 32 | (fp_text user 7 (at -2.65 3.75) (layer B.SilkS) 33 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 34 | ) 35 | (fp_text user 2 (at 3.55 -0.1) (layer B.SilkS) 36 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 37 | ) 38 | (fp_text user 8 (at -4.2 -0.1) (layer B.SilkS) 39 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 40 | ) 41 | (pad 1 thru_hole circle (at 3.1 2.3) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 42 | (pad "" np_thru_hole circle (at -5.5 3.4) (size 2.5 2.5) (drill 1.8) (layers *.Cu *.Mask)) 43 | (pad "" np_thru_hole circle (at 5.5 3.4) (size 2.5 2.5) (drill 1.8) (layers *.Cu *.Mask)) 44 | (pad "" np_thru_hole circle (at 2.7 4.5) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask)) 45 | (pad "" np_thru_hole circle (at -1.1 4.5) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask)) 46 | (pad 2 thru_hole circle (at 2.2 0.742) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 47 | (pad 3 thru_hole circle (at 1.3 2.3) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 48 | (pad 4 thru_hole circle (at 0.4 0.742) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 49 | (pad 5 thru_hole circle (at -0.5 2.3) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 50 | (pad 6 thru_hole circle (at -1.4 0.742) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 51 | (pad 7 thru_hole circle (at -2.3 2.3) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 52 | (pad 8 thru_hole circle (at -3.2 0.742) (size 1.5 1.5) (drill 0.6) (layers *.Cu *.Mask)) 53 | ) 54 | -------------------------------------------------------------------------------- /attiny88/fp.pretty/AB2_ROTARY_ENCODER_W_SWITCH.kicad_mod: -------------------------------------------------------------------------------- 1 | (module AB2_ROTARY_ENCODER_W_SWITCH (layer F.Cu) (tedit 52DB6591) 2 | (fp_text reference ROT_ENC1 (at 0 -8.89) (layer F.SilkS) hide 3 | (effects (font (size 0.8128 0.8128) (thickness 0.0762))) 4 | ) 5 | (fp_text value AB2_ROT_ENC_W_SW (at 0 0 90) (layer F.SilkS) 6 | (effects (font (size 0.8128 0.8128) (thickness 0.0762))) 7 | ) 8 | (fp_arc (start 0 0) (end 0 4.6) (angle 60) (layer F.SilkS) (width 0.127)) 9 | (fp_arc (start 0 0) (end 0 4.6) (angle -60) (layer F.SilkS) (width 0.127)) 10 | (fp_arc (start 0 0) (end 0 -4.6) (angle 60) (layer F.SilkS) (width 0.127)) 11 | (fp_arc (start 0 0) (end 0 -4.6) (angle -60) (layer F.SilkS) (width 0.127)) 12 | (fp_circle (center 4 5) (end 4 4.5) (layer F.SilkS) (width 0.127)) 13 | (fp_circle (center -4 5) (end -4 4.5) (layer F.SilkS) (width 0.127)) 14 | (fp_circle (center 4 -5) (end 4 -5.5) (layer F.SilkS) (width 0.127)) 15 | (fp_circle (center -4 -5) (end -4 -5.5) (layer F.SilkS) (width 0.127)) 16 | (fp_line (start 5.75 -2.25) (end 4 -2.25) (layer F.SilkS) (width 0.127)) 17 | (fp_line (start -5.75 -2.25) (end -4 -2.25) (layer F.SilkS) (width 0.127)) 18 | (fp_line (start 5.75 2.25) (end 4 2.25) (layer F.SilkS) (width 0.127)) 19 | (fp_line (start -5.75 2.25) (end -4 2.25) (layer F.SilkS) (width 0.127)) 20 | (fp_arc (start 4.15 5.5) (end 5.25 5.5) (angle 90) (layer F.SilkS) (width 0.127)) 21 | (fp_arc (start -4.15 5.5) (end -4.15 6.6) (angle 90) (layer F.SilkS) (width 0.127)) 22 | (fp_arc (start -4.15 -5.5) (end -5.25 -5.5) (angle 90) (layer F.SilkS) (width 0.127)) 23 | (fp_arc (start 4.15 -5.5) (end 4.15 -6.6) (angle 90) (layer F.SilkS) (width 0.127)) 24 | (fp_line (start 5.75 -5.5) (end 5.25 -5.5) (layer F.SilkS) (width 0.127)) 25 | (fp_line (start -5.75 -5.5) (end -5.25 -5.5) (layer F.SilkS) (width 0.127)) 26 | (fp_line (start -5.75 5.5) (end -5.25 5.5) (layer F.SilkS) (width 0.127)) 27 | (fp_line (start 5.75 5.5) (end 5.25 5.5) (layer F.SilkS) (width 0.127)) 28 | (fp_line (start -4.15 6.6) (end 4.15 6.6) (layer F.SilkS) (width 0.127)) 29 | (fp_line (start -4.15 -6.6) (end 4.15 -6.6) (layer F.SilkS) (width 0.127)) 30 | (fp_line (start 5.75 -5.5) (end 5.75 5.5) (layer F.SilkS) (width 0.127)) 31 | (fp_line (start -5.75 -5.5) (end -5.75 5.5) (layer F.SilkS) (width 0.127)) 32 | (fp_line (start -2.3 1) (end 2.3 1) (layer F.SilkS) (width 0.127)) 33 | (fp_circle (center 0 0) (end 0 -3) (layer F.SilkS) (width 0.127)) 34 | (fp_circle (center 0 0) (end 0 -2.5) (layer F.SilkS) (width 0.127)) 35 | (fp_arc (start 0 0) (end 1.8 1) (angle -120) (layer F.SilkS) (width 0.127)) 36 | (fp_arc (start 0 0) (end -1.8 1) (angle 120) (layer F.SilkS) (width 0.127)) 37 | (pad 1 thru_hole circle (at -2.5 7.5) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 38 | (pad 2 thru_hole circle (at 0 7.5) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 39 | (pad 3 thru_hole circle (at 2.5 7.5) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 40 | (pad 4 thru_hole circle (at 2.5 -7) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 41 | (pad 6 thru_hole circle (at -2.5 -7) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) 42 | (pad 7 thru_hole rect (at -5.7 0) (size 3.2 3.2) (drill 2.6) (layers *.Cu *.Mask F.SilkS)) 43 | (pad 7 thru_hole rect (at 5.7 0) (size 3.2 3.2) (drill 2.6) (layers *.Cu *.Mask F.SilkS)) 44 | (model ab2_input_devices/AB2_ROT_ENC_W_SW.x3d 45 | (at (xyz 0 0 0)) 46 | (scale (xyz 0.01573 0.01573 0.01573)) 47 | (rotate (xyz 0 0 180)) 48 | ) 49 | ) 50 | -------------------------------------------------------------------------------- /dvi-pmod/fp.pretty/molex dvi ra.kicad_mod: -------------------------------------------------------------------------------- 1 | (module "molex dvi ra" (layer F.Cu) (tedit 58930F3A) 2 | (fp_text reference REF** (at 10.668 7.239) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value "molex dvi ra" (at 10.795 -7.239) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 27.94 -5.715) (end 27.94 5.207) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -8.89 -5.715) (end 27.94 -5.715) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start -8.89 5.207) (end -8.89 -5.715) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -8.89 5.207) (end 27.94 5.207) (layer F.SilkS) (width 0.15)) 12 | (pad "" np_thru_hole circle (at 0 3.302) (size 2.54 2.54) (drill 1.9304) (layers *.Cu *.Mask)) 13 | (pad "" np_thru_hole circle (at 19.05 3.302) (size 2.54 2.54) (drill 1.9304) (layers *.Cu *.Mask)) 14 | (pad "" np_thru_hole circle (at -5.842 0) (size 2.54 2.54) (drill 1.9304) (layers *.Cu *.Mask)) 15 | (pad "" np_thru_hole circle (at 24.892 0) (size 2.54 2.54) (drill 1.9304) (layers *.Cu *.Mask)) 16 | (pad 1 thru_hole circle (at 0 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 17 | (pad 2 thru_hole circle (at 1.905 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 18 | (pad 3 thru_hole circle (at 3.81 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 19 | (pad 4 thru_hole circle (at 5.715 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 20 | (pad 5 thru_hole circle (at 7.62 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 21 | (pad 6 thru_hole circle (at 9.525 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 22 | (pad 7 thru_hole circle (at 11.43 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 23 | (pad 8 thru_hole circle (at 13.335 -3.81) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 24 | (pad 9 thru_hole circle (at 0 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 25 | (pad 10 thru_hole circle (at 1.905 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 26 | (pad 11 thru_hole circle (at 3.81 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 27 | (pad 12 thru_hole circle (at 5.715 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 28 | (pad 13 thru_hole circle (at 7.62 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 29 | (pad 14 thru_hole circle (at 9.525 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 30 | (pad 15 thru_hole circle (at 11.43 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 31 | (pad 16 thru_hole circle (at 13.335 -1.905) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 32 | (pad 17 thru_hole circle (at 0 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 33 | (pad 18 thru_hole circle (at 1.905 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 34 | (pad 19 thru_hole circle (at 3.81 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 35 | (pad 20 thru_hole circle (at 5.715 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 36 | (pad 21 thru_hole circle (at 7.62 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 37 | (pad 22 thru_hole circle (at 9.525 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 38 | (pad 23 thru_hole circle (at 11.43 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 39 | (pad 24 thru_hole circle (at 13.335 0) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 40 | (pad c4 thru_hole circle (at 19.05 -0.635) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 41 | (pad c2 thru_hole circle (at 19.05 -3.175) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 42 | (pad c3 thru_hole circle (at 16.51 -0.635) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 43 | (pad c1 thru_hole circle (at 16.51 -3.175) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 44 | (pad c5 thru_hole circle (at 17.78 0.635) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 45 | (pad c5 thru_hole circle (at 17.78 -4.445) (size 1.27 1.27) (drill 0.889) (layers *.Cu *.Mask)) 46 | ) 47 | -------------------------------------------------------------------------------- /breadboard-psu/README.md: -------------------------------------------------------------------------------- 1 | # KiCad workshop handout 2 | 3 | Shortlink to this page: ven.nz/kicad-ws 4 | 5 | The documentation for this workshop mostly consists of [youtube 6 | screencasts](https://www.youtube.com/playlist?list=PLmcDgdDpcaPjIBy60y22XzG036ckQI7bC). The 7 | screencasts are deliberately fast, if you need them slower then click the video's settings button and choose a slower speed. 8 | 9 | You are advised to watch the screencasts all the way through before starting, 10 | then reference them as needed. 11 | 12 | Each screencast has a clickable table of contents. Click the video's 'show more' link to expose it. 13 | 14 | The screencasts show the creation of a simple LED board as a way of showing the 15 | process. Don't just follow along - you will be making a breadboard power supply to supply either 3.3v or 5v. 16 | 17 | ![photo](pcb-psu.jpg) 18 | 19 | # Drawing the Schematic 20 | 21 | [Watch the schematic creation screencast](https://www.youtube.com/watch?v=v-qCI8wv72w&list=PLmcDgdDpcaPjIBy60y22XzG036ckQI7bC&index=1) 22 | 23 | Your first task is to produce the schematic below. 24 | If you want a 3.3v output use part AP1117D33. If you want 5v then use LM7805CT. 25 | 26 | ![schematic](schematic.png) 27 | 28 | ## Tips 29 | 30 | * Don't bother naming components, that will happen automatically when you 31 | 'annotate components' 32 | * The regulator footprint is in the power_integrations library 33 | * Use the hot keys below! 34 | 35 | ## Hot Keys 36 | 37 | * ? - show hotkeys 38 | * e - edit component 39 | * m - move component (without wires) 40 | * g - drag component (with wires) 41 | * r - rotate 42 | * a - add component 43 | * del - delete component 44 | * w - start a wire 45 | * c - copy 46 | * l - lable a wire (wires with the same label are joined) 47 | 48 | ## Adding a library 49 | 50 | The barrel jack's PCB footprint will not be fabricated properly because 51 | OSHPark's fab don't allow thin slots. You'll use a different footprint that uses 52 | large holes instead. 53 | 54 | Download the [barrel jack's modified footprint library](https://github.com/mattvenn/kicad/raw/master/breadboard-psu/barrel.zip) 55 | 56 | Footprint libraries are a directory containing 1 or more footprint 57 | files. The directory name ends in .pretty. The footprint files end in 58 | .kicad_mod. 59 | 60 | * open Eschema, run CvPCB to associate footprints 61 | * preferences -> footprint libraries 62 | * either project specific or global tab 63 | * add the path to the library directory (ends in .pretty) ensure its type is kicad 64 | * scroll down the list of libraries and click the new barrel library 65 | * highlight the barrel jack component in the middle column and double click the 66 | new footprint on the right column. 67 | 68 | # Create the PCB 69 | 70 | [Watch the PCB creation screencast](https://www.youtube.com/watch?v=g9wKArt-YmE&index=2&list=PLmcDgdDpcaPjIBy60y22XzG036ckQI7bC) 71 | 72 | Example layout of the PCB: 73 | 74 | ![layout](layout.png) 75 | 76 | ## Tips 77 | 78 | * Some operations are easier in default canvas (F9), others in OpenGL (F11) 79 | * Use the hot keys below! 80 | 81 | ## Kot Keys 82 | 83 | * ? - show hotkeys 84 | * space - reset local co-ordinates 85 | * F1 - zoom in 86 | * F2 - zoom out 87 | * m - move component (without wires) 88 | * g - drag component (with wires) 89 | * del - delete an object 90 | * F11 - switch to openGL view (necessary for push'n'shove routing) 91 | * e - routing options (only in openGL) 92 | * x - start routing 93 | * pg up - route on top layer 94 | * pg down - route on bottom layer 95 | * v - create via 96 | * f - flip a component between top & bottom layers 97 | 98 | # Fabrication 99 | 100 | [Watch the fabrication screencast](https://www.youtube.com/watch?v=VwQu3Ap_2rI&list=PLmcDgdDpcaPjIBy60y22XzG036ckQI7bC&index=5) 101 | 102 | ## Description of layers 103 | 104 | * F.Cu - top copper layer used for electrical connections 105 | * B.Cu - bottom copper layer (as above) 106 | * F.SilkS - top silk screen used for component markings and orientation 107 | * B.SilkS - bottom silk screen (as above) 108 | * F.Mask - top mask used to cover the electrical connections with a nonconductive coloured layer 109 | * B.Mask - bottom mask (as above) 110 | * Edge.Cuts - where the board should be cut out 111 | 112 | Each of these layers is exported as a separate file called a gerber. 113 | 114 | You also need a drill file that specifies where all the holes are. 115 | 116 | Zip all the files together and then upload to [OSHPark.com](http://oshpark.com) 117 | -------------------------------------------------------------------------------- /python_api/test.py: -------------------------------------------------------------------------------- 1 | import pcbnew 2 | from pcbnew import TEXTE_MODULE, TEXTE_PCB, EDA_TEXT 3 | 4 | """ 5 | good resources: 6 | 7 | * http://ci.kicad-pcb.org/job/kicad-doxygen/ws/build/pcbnew/doxygen-python/html/index.html 8 | * https://kicad.mmccoo.com/2017/02/01/the-basics-of-scripting-in-pcbnew/ 9 | """ 10 | # most queries start with a board 11 | SCALE = 1000000 12 | 13 | def add_tracks(): 14 | layertable = get_layertable() 15 | board = pcbnew.GetBoard() 16 | for i in range(100): 17 | track = pcbnew.TRACK(board) 18 | track.SetStart(pcbnew.wxPoint(0, SCALE*i)) 19 | track.SetEnd(pcbnew.wxPoint(SCALE*200, SCALE*i)) 20 | track.SetWidth(int(SCALE*0.7)) 21 | track.SetLayer(layertable["B.Cu"]) 22 | board.Add(track) 23 | pcbnew.Refresh() 24 | 25 | 26 | def edge_cuts(): 27 | layertable = get_layertable() 28 | board = pcbnew.GetBoard() 29 | #edge cuts 30 | edgecut = layertable['F.Mask'] 31 | 32 | seg1 = pcbnew.DRAWSEGMENT(board) 33 | board.Add(seg1) 34 | seg1.SetStart(pcbnew.wxPoint(0, 0)) 35 | seg1.SetEnd( pcbnew.wxPoint(100*SCALE, 0)) 36 | seg1.SetLayer(edgecut) 37 | 38 | seg1 = pcbnew.DRAWSEGMENT(board) 39 | board.Add(seg1) 40 | seg1.SetStart(pcbnew.wxPoint(100*SCALE,0)) 41 | seg1.SetEnd( pcbnew.wxPoint(100*SCALE, 100*SCALE)) 42 | seg1.SetLayer(edgecut) 43 | 44 | seg1 = pcbnew.DRAWSEGMENT(board) 45 | board.Add(seg1) 46 | seg1.SetStart( pcbnew.wxPoint(100*SCALE, 100*SCALE)) 47 | seg1.SetEnd( pcbnew.wxPoint(0, 100*SCALE)) 48 | seg1.SetLayer(edgecut) 49 | 50 | seg1 = pcbnew.DRAWSEGMENT(board) 51 | board.Add(seg1) 52 | seg1.SetStart( pcbnew.wxPoint(0, 100*SCALE)) 53 | seg1.SetEnd( pcbnew.wxPoint(0, 0)) 54 | seg1.SetLayer(edgecut) 55 | pcbnew.Refresh() 56 | 57 | def get_layertable(): 58 | layertable = {} 59 | board = pcbnew.GetBoard() 60 | 61 | numlayers = pcbnew.PCB_LAYER_ID_COUNT 62 | for i in range(numlayers): 63 | layertable[board.GetLayerName(i)] = i 64 | # print("{} {}".format(i, board.GetLayerName(i))) 65 | return layertable 66 | 67 | def get_drawings(): 68 | board = pcbnew.GetBoard() 69 | drawings = board.GetDrawings() 70 | for item in drawings: 71 | if type(item) is TEXTE_MODULE or type(item) is TEXTE_PCB or type(item) is EDA_TEXT: 72 | print(item.GetWidth()) 73 | 74 | def write_text(): 75 | 76 | board = pcbnew.GetBoard() 77 | layertable = get_layertable() 78 | x = 0 79 | for y in range(0, 100 * SCALE, SCALE*10): 80 | text = pcbnew.TEXTE_PCB(board) 81 | text.SetText("HOLA: %d, %d" % (x, y)) 82 | text.SetPosition(pcbnew.wxPoint(x,y)) 83 | text.SetTextSize(pcbnew.wxSize(SCALE*8,SCALE*8)) 84 | text.SetThickness(SCALE*1) 85 | text.SetLayer(layertable["F.SilkS"]) 86 | board.Add(text) 87 | pcbnew.Refresh() 88 | 89 | 90 | def add_vias(): 91 | board = pcbnew.GetBoard() 92 | layertable = get_layertable() 93 | 94 | layertable = get_layertable() 95 | for x in range(0, 10 * SCALE, SCALE*2): 96 | for y in range(0, 10 * SCALE, SCALE*2): 97 | newvia = pcbnew.VIA(board) 98 | board.Add(newvia) 99 | newvia.SetLayerPair(layertable["F.Cu"], layertable["B.Cu"]) 100 | newvia.SetPosition(pcbnew.wxPoint(x,y)) 101 | newvia.SetViaType(pcbnew.VIA_THROUGH) 102 | newvia.SetWidth(1*SCALE) 103 | 104 | pcbnew.Refresh() 105 | 106 | # add a filled poly to f mask 107 | def get_area(): 108 | board = pcbnew.GetBoard() 109 | layertable = get_layertable() 110 | 111 | newarea = board.InsertArea(0, 0, layertable["F.Mask"], 0, 0, pcbnew.CPolyLine.DIAGONAL_EDGE) 112 | 113 | newoutline = newarea.Outline() 114 | newoutline.Append(SCALE*100,0) 115 | newoutline.Append(SCALE*100,SCALE*100) 116 | newoutline.Append(0,SCALE*100) 117 | #http://ci.kicad-pcb.org/job/kicad-doxygen/ws/build/pcbnew/doxygen-python/html/classpcbnew_1_1SHAPE__POLY__SET.html 118 | poly_set = pcbnew.SHAPE_POLY_SET() 119 | #http://ci.kicad-pcb.org/job/kicad-doxygen/ws/build/pcbnew/doxygen-python/html/classpcbnew_1_1CPolyLine.html 120 | poly_set.NewOutline() 121 | poly_set.Append(0,0) 122 | poly_set.Append(SCALE*100,0) 123 | poly_set.Append(SCALE*100, SCALE*100) 124 | poly_set.Append(0,SCALE*100) 125 | poly_set.Append(0,0) 126 | newarea.AddFilledPolygon(poly_set) 127 | 128 | #newarea.AddFilledPolygon() # ? 129 | pcbnew.Refresh() 130 | return newarea 131 | 132 | def add_module(x, y): 133 | 134 | io = pcbnew.PCB_IO() 135 | board = pcbnew.GetBoard() 136 | layertable = get_layertable() 137 | 138 | footprint_lib = "/home/mattvenn/work/nfc-ring/python/fp.pretty" 139 | 140 | mod = io.FootprintLoad(footprint_lib, "matt") 141 | pt = pcbnew.wxPoint(x,y) 142 | mod.SetPosition(pt) 143 | board.Add(mod) 144 | 145 | pcbnew.Refresh() 146 | 147 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb-namebadge-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # +3V3 5 | # 6 | DEF +3V3 #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 -150 50 H I C CNN 8 | F1 "+3V3" 0 140 50 H V C CNN 9 | F2 "" 0 0 50 H I C CNN 10 | F3 "" 0 0 50 H I C CNN 11 | ALIAS +3.3V 12 | DRAW 13 | P 2 0 1 0 -30 50 0 100 N 14 | P 2 0 1 0 0 0 0 100 N 15 | P 2 0 1 0 0 100 30 50 N 16 | X +3V3 1 0 0 0 U 50 50 1 1 W N 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | # AP1117-15 21 | # 22 | DEF AP1117-15 U 0 10 Y Y 1 F N 23 | F0 "U" -150 125 50 H V C CNN 24 | F1 "AP1117-15" 0 125 50 H V L CNN 25 | F2 "TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2" 0 200 50 H I C CNN 26 | F3 "" 100 -250 50 H I C CNN 27 | ALIAS AP1117-18 AP1117-25 AP1117-33 AP1117-50 LD1117S33TR_SOT223 LD1117S12TR_SOT223 LD1117S18TR_SOT223 LD1117S25TR_SOT223 LD1117S50TR_SOT223 NCP1117-12_SOT223 NCP1117-1.5_SOT223 NCP1117-1.8_SOT223 NCP1117-2.0_SOT223 NCP1117-2.5_SOT223 NCP1117-2.85_SOT223 NCP1117-3.3_SOT223 NCP1117-5.0_SOT223 28 | $FPLIST 29 | SOT?223*TabPin2* 30 | $ENDFPLIST 31 | DRAW 32 | S -200 -200 200 75 0 1 10 f 33 | X GND 1 0 -300 100 U 50 50 1 1 W 34 | X VO 2 300 0 100 L 50 50 1 1 P 35 | X VI 3 -300 0 100 R 50 50 1 1 W 36 | ENDDRAW 37 | ENDDEF 38 | # 39 | # Conn_01x01 40 | # 41 | DEF Conn_01x01 J 0 40 Y N 1 F N 42 | F0 "J" 0 100 50 H V C CNN 43 | F1 "Conn_01x01" 0 -100 50 H V C CNN 44 | F2 "" 0 0 50 H I C CNN 45 | F3 "" 0 0 50 H I C CNN 46 | $FPLIST 47 | Connector*:*_??x*mm* 48 | Connector*:*1x??x*mm* 49 | Pin?Header?Straight?1X* 50 | Pin?Header?Angled?1X* 51 | Socket?Strip?Straight?1X* 52 | Socket?Strip?Angled?1X* 53 | $ENDFPLIST 54 | DRAW 55 | S -50 5 0 -5 1 1 6 N 56 | S -50 50 50 -50 1 1 10 f 57 | X Pin_1 1 -200 0 150 R 50 50 1 1 P 58 | ENDDRAW 59 | ENDDEF 60 | # 61 | # Conn_01x06 62 | # 63 | DEF Conn_01x06 J 0 40 Y N 1 F N 64 | F0 "J" 0 300 50 H V C CNN 65 | F1 "Conn_01x06" 0 -400 50 H V C CNN 66 | F2 "" 0 0 50 H I C CNN 67 | F3 "" 0 0 50 H I C CNN 68 | $FPLIST 69 | Connector*:*_??x*mm* 70 | Connector*:*1x??x*mm* 71 | Pin?Header?Straight?1X* 72 | Pin?Header?Angled?1X* 73 | Socket?Strip?Straight?1X* 74 | Socket?Strip?Angled?1X* 75 | $ENDFPLIST 76 | DRAW 77 | S -50 -295 0 -305 1 1 6 N 78 | S -50 -195 0 -205 1 1 6 N 79 | S -50 -95 0 -105 1 1 6 N 80 | S -50 5 0 -5 1 1 6 N 81 | S -50 105 0 95 1 1 6 N 82 | S -50 205 0 195 1 1 6 N 83 | S -50 250 50 -350 1 1 10 f 84 | X Pin_1 1 -200 200 150 R 50 50 1 1 P 85 | X Pin_2 2 -200 100 150 R 50 50 1 1 P 86 | X Pin_3 3 -200 0 150 R 50 50 1 1 P 87 | X Pin_4 4 -200 -100 150 R 50 50 1 1 P 88 | X Pin_5 5 -200 -200 150 R 50 50 1 1 P 89 | X Pin_6 6 -200 -300 150 R 50 50 1 1 P 90 | ENDDRAW 91 | ENDDEF 92 | # 93 | # Conn_02x03_Odd_Even 94 | # 95 | DEF Conn_02x03_Odd_Even J 0 40 Y N 1 F N 96 | F0 "J" 50 200 50 H V C CNN 97 | F1 "Conn_02x03_Odd_Even" 50 -200 50 H V C CNN 98 | F2 "" 0 0 50 H I C CNN 99 | F3 "" 0 0 50 H I C CNN 100 | $FPLIST 101 | Connector*:*2x??x*mm* 102 | Connector*:*2x???Pitch* 103 | Pin_Header_Straight_2X* 104 | Pin_Header_Angled_2X* 105 | Socket_Strip_Straight_2X* 106 | Socket_Strip_Angled_2X* 107 | $ENDFPLIST 108 | DRAW 109 | S -50 -95 0 -105 1 1 6 N 110 | S -50 5 0 -5 1 1 6 N 111 | S -50 105 0 95 1 1 6 N 112 | S -50 150 150 -150 1 1 10 f 113 | S 150 -95 100 -105 1 1 6 N 114 | S 150 5 100 -5 1 1 6 N 115 | S 150 105 100 95 1 1 6 N 116 | X Pin_1 1 -200 100 150 R 50 50 1 1 P 117 | X Pin_2 2 300 100 150 L 50 50 1 1 P 118 | X Pin_3 3 -200 0 150 R 50 50 1 1 P 119 | X Pin_4 4 300 0 150 L 50 50 1 1 P 120 | X Pin_5 5 -200 -100 150 R 50 50 1 1 P 121 | X Pin_6 6 300 -100 150 L 50 50 1 1 P 122 | ENDDRAW 123 | ENDDEF 124 | # 125 | # GND 126 | # 127 | DEF GND #PWR 0 0 Y Y 1 F P 128 | F0 "#PWR" 0 -250 50 H I C CNN 129 | F1 "GND" 0 -150 50 H V C CNN 130 | F2 "" 0 0 50 H I C CNN 131 | F3 "" 0 0 50 H I C CNN 132 | DRAW 133 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 134 | X GND 1 0 0 0 D 50 50 1 1 W N 135 | ENDDRAW 136 | ENDDEF 137 | # 138 | # R 139 | # 140 | DEF R R 0 0 N Y 1 F N 141 | F0 "R" 80 0 50 V V C CNN 142 | F1 "R" 0 0 50 V V C CNN 143 | F2 "" -70 0 50 V I C CNN 144 | F3 "" 0 0 50 H I C CNN 145 | $FPLIST 146 | R_* 147 | R_* 148 | $ENDFPLIST 149 | DRAW 150 | S -40 -100 40 100 0 1 10 N 151 | X ~ 1 0 150 50 D 50 50 1 1 P 152 | X ~ 2 0 -150 50 U 50 50 1 1 P 153 | ENDDRAW 154 | ENDDEF 155 | # 156 | # SW_SPDT 157 | # 158 | DEF SW_SPDT SW 0 0 Y N 1 F N 159 | F0 "SW" 0 170 50 H V C CNN 160 | F1 "SW_SPDT" 0 -200 50 H V C CNN 161 | F2 "" 0 0 50 H I C CNN 162 | F3 "" 0 0 50 H I C CNN 163 | DRAW 164 | C -80 0 20 0 0 0 N 165 | C 80 -100 20 0 0 0 N 166 | C 80 100 20 0 1 0 N 167 | P 2 0 1 0 -60 10 65 90 N 168 | X A 1 200 100 100 L 50 50 1 1 P 169 | X B 2 -200 0 100 R 50 50 1 1 P 170 | X C 3 200 -100 100 L 50 50 1 1 P 171 | ENDDRAW 172 | ENDDEF 173 | # 174 | # lipo-charger-boost 175 | # 176 | DEF lipo-charger-boost U 0 40 Y Y 1 F N 177 | F0 "U" 550 450 60 H V C CNN 178 | F1 "lipo-charger-boost" 0 450 60 H V C CNN 179 | F2 "" 0 0 60 H I C CNN 180 | F3 "" 0 0 60 H I C CNN 181 | DRAW 182 | S -200 350 200 -350 0 1 0 N 183 | X gnd 1 -300 250 100 R 50 50 1 1 I 184 | X charge 2 -300 150 100 R 50 50 1 1 I 185 | X out 3 -300 50 100 R 50 50 1 1 I 186 | X batt+ 4 -300 -200 100 R 50 50 1 1 I 187 | ENDDRAW 188 | ENDDEF 189 | # 190 | #End Library 191 | -------------------------------------------------------------------------------- /oobb-namebadge/oobb.pretty/icebreaker.kicad_mod: -------------------------------------------------------------------------------- 1 | (module icebreaker (layer F.Cu) (tedit 5D9F2BE1) 2 | (fp_text reference J5 (at 0 0.5) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value Conn_01x06 (at 0 -0.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 45.4 29.95) (end 45.4 28.9) (layer F.Fab) (width 0.2)) 9 | (fp_line (start 45.4 29.95) (end 45.4 31.2) (layer F.Fab) (width 0.2)) 10 | (fp_line (start 47.95 29.95) (end 47.95 28.85) (layer F.Fab) (width 0.2)) 11 | (fp_line (start 47.95 28.9) (end 47.95 31.55) (layer F.Fab) (width 0.2)) 12 | (fp_line (start 12.4 32.45) (end 16.2 32.45) (layer F.Fab) (width 0.2)) 13 | (fp_line (start 12.45 32.45) (end 11.2 32.45) (layer F.Fab) (width 0.2)) 14 | (fp_line (start 12.4 35.05) (end 10.05 35.05) (layer F.Fab) (width 0.2)) 15 | (fp_line (start 14.95 32.45) (end 14.95 30.85) (layer F.Fab) (width 0.2)) 16 | (fp_line (start 12.4 35) (end 12.4 36.45) (layer F.Fab) (width 0.2)) 17 | (fp_line (start 25.1 4.55) (end 26.1 4.55) (layer F.Fab) (width 0.2)) 18 | (fp_line (start 25.1 4.55) (end 23.9 4.55) (layer F.Fab) (width 0.2)) 19 | (fp_line (start 45.4 29.95) (end 49.65 29.95) (layer F.Fab) (width 0.2)) 20 | (fp_line (start 45.4 29.95) (end 42.7 29.95) (layer F.Fab) (width 0.2)) 21 | (fp_line (start 10.05 35.05) (end 13.9 35.05) (layer F.Fab) (width 0.2)) 22 | (fp_line (start 13.9 35.05) (end 12.4 35.05) (layer F.Fab) (width 0.2)) 23 | (fp_line (start 12.4 35.05) (end 12.4 31.2) (layer F.Fab) (width 0.2)) 24 | (fp_line (start 14.95 30.85) (end 14.95 34.1) (layer F.Fab) (width 0.2)) 25 | (fp_line (start 25.1 2) (end 25.1 5.8) (layer F.Fab) (width 0.2)) 26 | (fp_line (start 25.1 5.8) (end 25.1 0.2) (layer F.Fab) (width 0.2)) 27 | (fp_line (start 25.1 2) (end 26.5 2) (layer F.Fab) (width 0.2)) 28 | (fp_line (start 25.1 2) (end 23.9 2) (layer F.Fab) (width 0.2)) 29 | (fp_line (start 0 3) (end 0 34) (layer F.Fab) (width 0.2)) 30 | (fp_line (start 3 37) (end 47 37) (layer F.Fab) (width 0.2)) 31 | (fp_line (start 0 3) (end 0 34) (layer F.Fab) (width 0.2)) 32 | (fp_line (start 47 0) (end 3 0) (layer F.Fab) (width 0.2)) 33 | (fp_arc (start 3 34) (end 0 34) (angle -90) (layer F.Fab) (width 0.2)) 34 | (fp_arc (start 47 34) (end 47 37) (angle -90) (layer F.Fab) (width 0.2)) 35 | (fp_line (start 3 37) (end 47 37) (layer F.Fab) (width 0.2)) 36 | (fp_arc (start 3 3) (end 3 0) (angle -90) (layer F.Fab) (width 0.2)) 37 | (fp_arc (start 47 3) (end 50 3) (angle -90) (layer F.Fab) (width 0.2)) 38 | (fp_line (start 50 34) (end 50 3) (layer F.Fab) (width 0.2)) 39 | (fp_circle (center 45.4 24.85) (end 45.4 25.25) (layer F.Fab) (width 0.2)) 40 | (fp_circle (center 42.9 4.55) (end 42.9 4.95) (layer F.Fab) (width 0.2)) 41 | (fp_circle (center 20.2 4.55) (end 20.2 4.95) (layer F.Fab) (width 0.2)) 42 | (fp_line (start 51.5 26) (end 51.5 10) (layer F.Fab) (width 0.2)) 43 | (fp_line (start 51.5 10) (end 44.5 10) (layer F.Fab) (width 0.2)) 44 | (fp_line (start 44.5 26) (end 51.5 26) (layer F.Fab) (width 0.2)) 45 | (fp_text user pmod (at 47.5 18 90) (layer F.Fab) 46 | (effects (font (size 1 1) (thickness 0.15))) 47 | ) 48 | (fp_line (start 44.5 10) (end 44.5 26) (layer F.Fab) (width 0.2)) 49 | (fp_line (start 44 -1.5) (end 28 -1.5) (layer F.Fab) (width 0.2)) 50 | (fp_line (start 28 5.5) (end 44 5.5) (layer F.Fab) (width 0.2)) 51 | (fp_line (start 28 -1.5) (end 28 5.5) (layer F.Fab) (width 0.2)) 52 | (fp_line (start 44 5.5) (end 44 -1.5) (layer F.Fab) (width 0.2)) 53 | (fp_text user pmod (at 36 1.5) (layer F.Fab) 54 | (effects (font (size 1 1) (thickness 0.15))) 55 | ) 56 | (fp_text user pmod (at 14 1.5) (layer F.Fab) 57 | (effects (font (size 1 1) (thickness 0.15))) 58 | ) 59 | (fp_line (start 6 -1.5) (end 6 5.5) (layer F.Fab) (width 0.2)) 60 | (fp_line (start 22 -1.5) (end 6 -1.5) (layer F.Fab) (width 0.2)) 61 | (fp_line (start 22 5.5) (end 22 -1.5) (layer F.Fab) (width 0.2)) 62 | (fp_line (start 6 5.5) (end 22 5.5) (layer F.Fab) (width 0.2)) 63 | (fp_text user led_g (at 8.95 34.74) (layer F.Fab) 64 | (effects (font (size 1 1) (thickness 0.15))) 65 | ) 66 | (fp_text user led_r (at 8.96 32.29) (layer F.Fab) 67 | (effects (font (size 1 1) (thickness 0.15))) 68 | ) 69 | (fp_text user +5 (at 45.5 27) (layer F.Fab) 70 | (effects (font (size 1 1) (thickness 0.15))) 71 | ) 72 | (fp_text user +5 (at 27 4.5) (layer F.Fab) 73 | (effects (font (size 1 1) (thickness 0.15))) 74 | ) 75 | (pad 6 thru_hole circle (at 45.39 29.94) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 76 | (pad 5 thru_hole circle (at 47.96 29.97 90) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 77 | (pad 4 thru_hole circle (at 25.08 4.55) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 78 | (pad 3 thru_hole circle (at 25.1 2.01) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 79 | (pad 2 thru_hole circle (at 12.4 35.05) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 80 | (pad 1 thru_hole circle (at 12.4 32.45) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)) 81 | (pad "" np_thru_hole circle (at 3 3) (size 3 3) (drill 3) (layers *.Cu *.Mask)) 82 | (pad "" np_thru_hole circle (at 3 34) (size 3 3) (drill 3) (layers *.Cu *.Mask)) 83 | (pad "" np_thru_hole circle (at 47 3) (size 3 3) (drill 3) (layers *.Cu *.Mask)) 84 | (pad "" np_thru_hole circle (at 47 34) (size 3 3) (drill 3) (layers *.Cu *.Mask)) 85 | ) 86 | -------------------------------------------------------------------------------- /modbox-brain/cp2102.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:modbox-brain-rescue 3 | LIBS:power 4 | LIBS:device 5 | LIBS:transistors 6 | LIBS:conn 7 | LIBS:linear 8 | LIBS:regul 9 | LIBS:74xx 10 | LIBS:cmos4000 11 | LIBS:adc-dac 12 | LIBS:memory 13 | LIBS:xilinx 14 | LIBS:microcontrollers 15 | LIBS:dsp 16 | LIBS:microchip 17 | LIBS:analog_switches 18 | LIBS:motorola 19 | LIBS:texas 20 | LIBS:intel 21 | LIBS:audio 22 | LIBS:interface 23 | LIBS:digital-audio 24 | LIBS:philips 25 | LIBS:display 26 | LIBS:cypress 27 | LIBS:siliconi 28 | LIBS:opto 29 | LIBS:atmel 30 | LIBS:contrib 31 | LIBS:valves 32 | LIBS:esp8266-12 33 | LIBS:mcp73831t 34 | LIBS:cp2102 35 | LIBS:testpoint 36 | LIBS:ncp694 37 | LIBS:lmr1501 38 | LIBS:modbox-brain-cache 39 | EELAYER 25 0 40 | EELAYER END 41 | $Descr A4 11693 8268 42 | encoding utf-8 43 | Sheet 2 3 44 | Title "cp2102" 45 | Date "2015-05-26" 46 | Rev "0.1" 47 | Comp "http://www.lembed.org" 48 | Comment1 "" 49 | Comment2 "" 50 | Comment3 "" 51 | Comment4 "" 52 | $EndDescr 53 | $Comp 54 | L CP2102 U2 55 | U 1 1 555DDC91 56 | P 5150 2000 57 | F 0 "U2" H 5150 2200 50 0000 C CNN 58 | F 1 "CP2102" H 5150 2000 50 0000 C CNN 59 | F 2 "Housings_DFN_QFN:QFN-28-1EP_5x5mm_Pitch0.5mm" H 5150 2000 60 0001 C CNN 60 | F 3 "" H 5150 2000 60 0000 C CNN 61 | 1 5150 2000 62 | 1 0 0 -1 63 | $EndComp 64 | $Comp 65 | L GND #PWR17 66 | U 1 1 555DE2B2 67 | P 4300 2550 68 | F 0 "#PWR17" H 4300 2300 60 0001 C CNN 69 | F 1 "GND" H 4300 2400 60 0000 C CNN 70 | F 2 "" H 4300 2550 60 0000 C CNN 71 | F 3 "" H 4300 2550 60 0000 C CNN 72 | 1 4300 2550 73 | 1 0 0 -1 74 | $EndComp 75 | Wire Wire Line 76 | 3100 2100 4300 2100 77 | Wire Wire Line 78 | 3100 2200 4300 2200 79 | Wire Wire Line 80 | 4300 2300 4300 2550 81 | Wire Wire Line 82 | 3100 1750 4300 1750 83 | Wire Wire Line 84 | 3900 1750 3900 1850 85 | Wire Wire Line 86 | 3900 1850 4300 1850 87 | Wire Wire Line 88 | 3900 1950 4300 1950 89 | $Comp 90 | L CAP C5 91 | U 1 1 555DEE55 92 | P 3700 1950 93 | F 0 "C5" H 3750 2050 50 0000 L CNN 94 | F 1 "0.1uf" H 3750 1850 50 0000 L CNN 95 | F 2 "SMD_Packages:SMD-1206_Pol" H 3700 1950 60 0001 C CNN 96 | F 3 "" H 3700 1950 60 0000 C CNN 97 | 1 3700 1950 98 | 0 -1 -1 0 99 | $EndComp 100 | $Comp 101 | L GND #PWR16 102 | U 1 1 555DEFF9 103 | P 3500 1950 104 | F 0 "#PWR16" H 3500 1700 60 0001 C CNN 105 | F 1 "GND" H 3500 1800 60 0000 C CNN 106 | F 2 "" H 3500 1950 60 0000 C CNN 107 | F 3 "" H 3500 1950 60 0000 C CNN 108 | 1 3500 1950 109 | 0 1 1 0 110 | $EndComp 111 | Wire Wire Line 112 | 3450 1300 3450 1750 113 | Connection ~ 3450 1750 114 | Connection ~ 3900 1750 115 | NoConn ~ 5950 1550 116 | NoConn ~ 5950 1750 117 | NoConn ~ 5950 2150 118 | NoConn ~ 5950 2250 119 | NoConn ~ 5950 2350 120 | NoConn ~ 5950 2450 121 | NoConn ~ 5950 2550 122 | $Comp 123 | L MICRO-USB-B P1 124 | U 1 1 571E1AE5 125 | P 7950 2450 126 | F 0 "P1" H 7925 2750 50 0000 C CNN 127 | F 1 "MICRO-USB-B" H 7950 2050 50 0000 C CNN 128 | F 2 "fp:USB_B_MINI_SMD" H 8225 2300 50 0001 C CNN 129 | F 3 "" H 8225 2300 50 0000 C CNN 130 | 1 7950 2450 131 | -1 0 0 1 132 | $EndComp 133 | Text Label 3200 1750 0 39 ~ 0 134 | VBUS 135 | Text Label 3200 2200 0 39 ~ 0 136 | D+ 137 | Text Label 3200 2100 0 39 ~ 0 138 | D- 139 | Wire Wire Line 140 | 8175 2600 8550 2600 141 | Wire Wire Line 142 | 8175 2500 8550 2500 143 | Wire Wire Line 144 | 8175 2400 8550 2400 145 | Wire Wire Line 146 | 8175 2200 8550 2200 147 | Text Label 8350 2200 0 39 ~ 0 148 | GND 149 | Text Label 8350 2400 0 39 ~ 0 150 | D+ 151 | Text Label 8350 2500 0 39 ~ 0 152 | D- 153 | Text Label 8350 2600 0 39 ~ 0 154 | VBUS 155 | Wire Wire Line 156 | 4300 2300 3100 2300 157 | Text Label 3200 2300 0 39 ~ 0 158 | GND 159 | Text GLabel 6850 1850 2 60 Input ~ 0 160 | tx 161 | Text GLabel 6400 1950 2 60 Input ~ 0 162 | rx 163 | Text GLabel 6400 1650 2 60 Input ~ 0 164 | dtr 165 | Text GLabel 6400 2050 2 60 Input ~ 0 166 | rts 167 | Wire Wire Line 168 | 5950 1850 6500 1850 169 | Wire Wire Line 170 | 5950 1950 6400 1950 171 | Wire Wire Line 172 | 5950 2050 6400 2050 173 | Wire Wire Line 174 | 5950 1650 6400 1650 175 | $Comp 176 | L R r1 177 | U 1 1 580B87F1 178 | P 6650 1850 179 | F 0 "r1" V 6730 1850 50 0000 C CNN 180 | F 1 "470r" V 6650 1850 50 0000 C CNN 181 | F 2 "Resistors_SMD:R_1206" V 6580 1850 50 0001 C CNN 182 | F 3 "" H 6650 1850 50 0000 C CNN 183 | 1 6650 1850 184 | 0 1 1 0 185 | $EndComp 186 | Wire Wire Line 187 | 6800 1850 6850 1850 188 | Connection ~ 4300 2300 189 | $Comp 190 | L +5V #PWR15 191 | U 1 1 580F556A 192 | P 3450 1300 193 | F 0 "#PWR15" H 3450 1150 50 0001 C CNN 194 | F 1 "+5V" H 3450 1440 50 0000 C CNN 195 | F 2 "" H 3450 1300 60 0000 C CNN 196 | F 3 "" H 3450 1300 60 0000 C CNN 197 | 1 3450 1300 198 | 1 0 0 -1 199 | $EndComp 200 | $Comp 201 | L PWR_FLAG #FLG1 202 | U 1 1 580F57A9 203 | P 3650 1750 204 | F 0 "#FLG1" H 3650 1845 50 0001 C CNN 205 | F 1 "PWR_FLAG" H 3650 1930 50 0000 C CNN 206 | F 2 "" H 3650 1750 60 0000 C CNN 207 | F 3 "" H 3650 1750 60 0000 C CNN 208 | 1 3650 1750 209 | 1 0 0 -1 210 | $EndComp 211 | Connection ~ 3650 1750 212 | NoConn ~ 8175 2300 213 | $Comp 214 | L GND #PWR18 215 | U 1 1 580F5DD7 216 | P 8550 2200 217 | F 0 "#PWR18" H 8550 1950 60 0001 C CNN 218 | F 1 "GND" H 8550 2050 60 0000 C CNN 219 | F 2 "" H 8550 2200 60 0000 C CNN 220 | F 3 "" H 8550 2200 60 0000 C CNN 221 | 1 8550 2200 222 | 0 -1 -1 0 223 | $EndComp 224 | $EndSCHEMATC 225 | -------------------------------------------------------------------------------- /oobb-namebadge/icebreaker.pro: -------------------------------------------------------------------------------- 1 | update=22/05/2015 07:44:53 2 | version=1 3 | last_client=kicad 4 | [general] 5 | version=1 6 | RootSch= 7 | BoardNm= 8 | [pcbnew] 9 | version=1 10 | LastNetListRead= 11 | UseCmpFile=1 12 | PadDrill=0.600000000000 13 | PadDrillOvalY=0.600000000000 14 | PadSizeH=1.500000000000 15 | PadSizeV=1.500000000000 16 | PcbTextSizeV=1.500000000000 17 | PcbTextSizeH=1.500000000000 18 | PcbTextThickness=0.300000000000 19 | ModuleTextSizeV=1.000000000000 20 | ModuleTextSizeH=1.000000000000 21 | ModuleTextSizeThickness=0.150000000000 22 | SolderMaskClearance=0.000000000000 23 | SolderMaskMinWidth=0.000000000000 24 | DrawSegmentWidth=0.200000000000 25 | BoardOutlineThickness=0.100000000000 26 | ModuleOutlineThickness=0.150000000000 27 | [cvpcb] 28 | version=1 29 | NetIExt=net 30 | [eeschema] 31 | version=1 32 | LibDir= 33 | [eeschema/libraries] 34 | LibName1=MCU_ST_STM32F0 35 | LibName2=Switch 36 | LibName3=Sensor_Voltage 37 | LibName4=DSP_Microchip_DSPIC33 38 | LibName5=RF_Amplifier 39 | LibName6=FPGA_Microsemi 40 | LibName7=MCU_Microchip_PIC24 41 | LibName8=Relay_SolidState 42 | LibName9=Display_Graphic 43 | LibName10=MCU_ST_STM32F7 44 | LibName11=Oscillator 45 | LibName12=MCU_NXP_S08 46 | LibName13=MCU_NXP_MCore 47 | LibName14=power 48 | LibName15=MCU_Microchip_PIC18 49 | LibName16=MCU_ST_STM32F3 50 | LibName17=RF_Switch 51 | LibName18=RF_ZigBee 52 | LibName19=FPGA_Xilinx_Virtex6 53 | LibName20=Analog_DAC 54 | LibName21=Amplifier_Current 55 | LibName22=Sensor_Current 56 | LibName23=FPGA_Xilinx_Spartan6 57 | LibName24=Analog_ADC 58 | LibName25=Logic_Programmable 59 | LibName26=Timer_RTC 60 | LibName27=Potentiometer_Digital 61 | LibName28=Diode 62 | LibName29=Driver_FET 63 | LibName30=DSP_Motorola 64 | LibName31=Valve 65 | LibName32=Interface_Telecom 66 | LibName33=MCU_Microchip_AVR 67 | LibName34=MCU_NXP_LPC 68 | LibName35=pspice 69 | LibName36=Isolator_Analog 70 | LibName37=Device 71 | LibName38=MCU_Microchip_SAML 72 | LibName39=Sensor_Temperature 73 | LibName40=Interface_CurrentLoop 74 | LibName41=Connector_Generic 75 | LibName42=CPLD_Altera 76 | LibName43=74xx_IEEE 77 | LibName44=Transformer 78 | LibName45=MCU_NXP_HCS12 79 | LibName46=Analog_Switch 80 | LibName47=Interface_CAN_LIN 81 | LibName48=Connector_Generic_Shielded 82 | LibName49=MCU_Microchip_8051 83 | LibName50=Interface_Ethernet 84 | LibName51=MCU_ST_STM8 85 | LibName52=MCU_Microchip_ATmega 86 | LibName53=Audio 87 | LibName54=RF 88 | LibName55=Transistor_FET 89 | LibName56=Amplifier_Instrumentation 90 | LibName57=Amplifier_Video 91 | LibName58=Sensor_Gas 92 | LibName59=Memory_ROM 93 | LibName60=FPGA_Xilinx_Virtex7 94 | LibName61=MCU_ST_STM32L4+ 95 | LibName62=Driver_Motor 96 | LibName63=MCU_AnalogDevices 97 | LibName64=FPGA_Xilinx_Kintex7 98 | LibName65=MCU_Microchip_PIC12 99 | LibName66=CPU 100 | LibName67=MCU_NXP_Kinetis 101 | LibName68=Memory_EEPROM 102 | LibName69=Transistor_Array 103 | LibName70=Video 104 | LibName71=MCU_ST_STM32F4 105 | LibName72=Transistor_BJT 106 | LibName73=Regulator_Current 107 | LibName74=MCU_ST_STM32F2 108 | LibName75=Motor 109 | LibName76=Regulator_Switching 110 | LibName77=Connector 111 | LibName78=FPGA_Xilinx 112 | LibName79=CPU_NXP_68000 113 | LibName80=Driver_Relay 114 | LibName81=4xxx_IEEE 115 | LibName82=Power_Protection 116 | LibName83=Sensor_Optical 117 | LibName84=MCU_Microchip_ATtiny 118 | LibName85=Sensor_Motion 119 | LibName86=MCU_ST_STM32H7 120 | LibName87=RF_AM_FM 121 | LibName88=Interface 122 | LibName89=Converter_DCDC 123 | LibName90=MCU_Microchip_SAME 124 | LibName91=Interface_LineDriver 125 | LibName92=Amplifier_Difference 126 | LibName93=Sensor_Proximity 127 | LibName94=Amplifier_Operational 128 | LibName95=MCU_ST_STM32F1 129 | LibName96=Timer_PLL 130 | LibName97=Isolator 131 | LibName98=MCU_ST_STM32L1 132 | LibName99=MCU_Espressif 133 | LibName100=MCU_Intel 134 | LibName101=RF_Bluetooth 135 | LibName102=CPLD_Xilinx 136 | LibName103=MCU_Cypress 137 | LibName104=Converter_ACDC 138 | LibName105=Regulator_Controller 139 | LibName106=Driver_LED 140 | LibName107=FPGA_Xilinx_Artix7 141 | LibName108=Diode_Bridge 142 | LibName109=MCU_NXP_MAC7100 143 | LibName110=Filter 144 | LibName111=Interface_Expansion 145 | LibName112=RF_Mixer 146 | LibName113=Sensor_Audio 147 | LibName114=Interface_UART 148 | LibName115=MCU_ST_STM32L0 149 | LibName116=Analog 150 | LibName117=Sensor_Magnetic 151 | LibName118=Relay 152 | LibName119=Display_Character 153 | LibName120=Comparator 154 | LibName121=Diode_Laser 155 | LibName122=DSP_Freescale 156 | LibName123=Memory_Flash 157 | LibName124=DSP_Texas 158 | LibName125=Memory_EPROM 159 | LibName126=MCU_ST_STM32L4 160 | LibName127=Amplifier_Buffer 161 | LibName128=Timer 162 | LibName129=MCU_Nordic 163 | LibName130=MCU_NXP_ColdFire 164 | LibName131=Regulator_SwitchedCapacitor 165 | LibName132=74xGxx 166 | LibName133=Reference_Current 167 | LibName134=CPU_NXP_6800 168 | LibName135=MCU_Texas_MSP430 169 | LibName136=MCU_Microchip_PIC32 170 | LibName137=RF_GPS 171 | LibName138=MCU_Microchip_PIC16 172 | LibName139=MCU_SiFive 173 | LibName140=Logic_LevelTranslator 174 | LibName141=Driver_Display 175 | LibName142=Interface_Optical 176 | LibName143=MCU_NXP_HC12 177 | LibName144=MCU_SiliconLabs 178 | LibName145=Power_Management 179 | LibName146=Memory_UniqueID 180 | LibName147=4xxx 181 | LibName148=74xx 182 | LibName149=MCU_Texas 183 | LibName150=Amplifier_Audio 184 | LibName151=Memory_Controller 185 | LibName152=GPU 186 | LibName153=Transistor_IGBT 187 | LibName154=MCU_Microchip_PIC10 188 | LibName155=Interface_USB 189 | LibName156=FPGA_Xilinx_Virtex5 190 | LibName157=Jumper 191 | LibName158=CPU_PowerPC 192 | LibName159=Sensor_Humidity 193 | LibName160=Interface_HID 194 | LibName161=MCU_Module 195 | LibName162=Memory_NVRAM 196 | LibName163=Memory_RAM 197 | LibName164=Sensor 198 | LibName165=RF_Module 199 | LibName166=Mechanical 200 | LibName167=MCU_Parallax 201 | LibName168=Graphic 202 | LibName169=RF_WiFi 203 | LibName170=Reference_Voltage 204 | LibName171=Battery_Management 205 | LibName172=RF_RFID 206 | LibName173=Regulator_Linear 207 | LibName174=LED 208 | LibName175=Connector_Generic_MountingPin 209 | LibName176=MCU_NXP_HC11 210 | LibName177=Sensor_Pressure 211 | LibName178=Triac_Thyristor 212 | LibName179=Power_Supervisor 213 | LibName180=Sensor_Touch 214 | -------------------------------------------------------------------------------- /icestick-pmod-adapter/icestick-pmod-adapter.pro: -------------------------------------------------------------------------------- 1 | update=Tue 31 Jul 2018 17:04:58 CEST 2 | version=1 3 | last_client=kicad 4 | [general] 5 | version=1 6 | RootSch= 7 | BoardNm= 8 | [pcbnew] 9 | version=1 10 | LastNetListRead= 11 | UseCmpFile=1 12 | PadDrill=0.600000000000 13 | PadDrillOvalY=0.600000000000 14 | PadSizeH=1.500000000000 15 | PadSizeV=1.500000000000 16 | PcbTextSizeV=1.500000000000 17 | PcbTextSizeH=1.500000000000 18 | PcbTextThickness=0.300000000000 19 | ModuleTextSizeV=1.000000000000 20 | ModuleTextSizeH=1.000000000000 21 | ModuleTextSizeThickness=0.150000000000 22 | SolderMaskClearance=0.000000000000 23 | SolderMaskMinWidth=0.000000000000 24 | DrawSegmentWidth=0.200000000000 25 | BoardOutlineThickness=0.100000000000 26 | ModuleOutlineThickness=0.150000000000 27 | [cvpcb] 28 | version=1 29 | NetIExt=net 30 | [eeschema] 31 | version=1 32 | LibDir= 33 | [eeschema/libraries] 34 | LibName1=libs/icestick 35 | LibName2=4xxx 36 | LibName3=4xxx_IEEE 37 | LibName4=74xGxx 38 | LibName5=74xx 39 | LibName6=74xx_IEEE 40 | LibName7=Amplifier_Audio 41 | LibName8=Amplifier_Buffer 42 | LibName9=Amplifier_Current 43 | LibName10=Amplifier_Difference 44 | LibName11=Amplifier_Instrumentation 45 | LibName12=Amplifier_Operational 46 | LibName13=Amplifier_Video 47 | LibName14=Analog 48 | LibName15=Analog_ADC 49 | LibName16=Analog_DAC 50 | LibName17=Analog_Switch 51 | LibName18=Audio 52 | LibName19=Battery_Management 53 | LibName20=Comparator 54 | LibName21=Connector 55 | LibName22=Connector_Generic 56 | LibName23=Connector_Generic_MountingPin 57 | LibName24=Connector_Generic_Shielded 58 | LibName25=Converter_ACDC 59 | LibName26=Converter_DCDC 60 | LibName27=CPLD_Altera 61 | LibName28=CPLD_Xilinx 62 | LibName29=CPU 63 | LibName30=CPU_NXP_6800 64 | LibName31=CPU_NXP_68000 65 | LibName32=CPU_PowerPC 66 | LibName33=Device 67 | LibName34=Diode 68 | LibName35=Diode_Bridge 69 | LibName36=Diode_Laser 70 | LibName37=Display_Character 71 | LibName38=Display_Graphic 72 | LibName39=Driver_Display 73 | LibName40=Driver_FET 74 | LibName41=Driver_LED 75 | LibName42=Driver_Motor 76 | LibName43=Driver_Relay 77 | LibName44=DSP_Freescale 78 | LibName45=DSP_Microchip_DSPIC33 79 | LibName46=DSP_Motorola 80 | LibName47=DSP_Texas 81 | LibName48=Filter 82 | LibName49=FPGA_Microsemi 83 | LibName50=FPGA_Xilinx 84 | LibName51=FPGA_Xilinx_Artix7 85 | LibName52=FPGA_Xilinx_Kintex7 86 | LibName53=FPGA_Xilinx_Spartan6 87 | LibName54=FPGA_Xilinx_Virtex5 88 | LibName55=FPGA_Xilinx_Virtex6 89 | LibName56=FPGA_Xilinx_Virtex7 90 | LibName57=GPU 91 | LibName58=Graphic 92 | LibName59=Interface 93 | LibName60=Interface_CAN_LIN 94 | LibName61=Interface_CurrentLoop 95 | LibName62=Interface_Ethernet 96 | LibName63=Interface_Expansion 97 | LibName64=Interface_HID 98 | LibName65=Interface_LineDriver 99 | LibName66=Interface_Optical 100 | LibName67=Interface_Telecom 101 | LibName68=Interface_UART 102 | LibName69=Interface_USB 103 | LibName70=Isolator 104 | LibName71=Isolator_Analog 105 | LibName72=Jumper 106 | LibName73=LED 107 | LibName74=Logic_LevelTranslator 108 | LibName75=Logic_Programmable 109 | LibName76=MCU_AnalogDevices 110 | LibName77=MCU_Cypress 111 | LibName78=MCU_Espressif 112 | LibName79=MCU_Intel 113 | LibName80=MCU_Microchip_8051 114 | LibName81=MCU_Microchip_ATmega 115 | LibName82=MCU_Microchip_ATtiny 116 | LibName83=MCU_Microchip_AVR 117 | LibName84=MCU_Microchip_PIC10 118 | LibName85=MCU_Microchip_PIC12 119 | LibName86=MCU_Microchip_PIC16 120 | LibName87=MCU_Microchip_PIC18 121 | LibName88=MCU_Microchip_PIC24 122 | LibName89=MCU_Microchip_PIC32 123 | LibName90=MCU_Microchip_SAME 124 | LibName91=MCU_Microchip_SAML 125 | LibName92=MCU_Module 126 | LibName93=MCU_Nordic 127 | LibName94=MCU_NXP_ColdFire 128 | LibName95=MCU_NXP_HC11 129 | LibName96=MCU_NXP_HC12 130 | LibName97=MCU_NXP_HCS12 131 | LibName98=MCU_NXP_Kinetis 132 | LibName99=MCU_NXP_LPC 133 | LibName100=MCU_NXP_MAC7100 134 | LibName101=MCU_NXP_MCore 135 | LibName102=MCU_NXP_S08 136 | LibName103=MCU_Parallax 137 | LibName104=MCU_SiFive 138 | LibName105=MCU_SiliconLabs 139 | LibName106=MCU_ST_STM8 140 | LibName107=MCU_ST_STM32F0 141 | LibName108=MCU_ST_STM32F1 142 | LibName109=MCU_ST_STM32F2 143 | LibName110=MCU_ST_STM32F3 144 | LibName111=MCU_ST_STM32F4 145 | LibName112=MCU_ST_STM32F7 146 | LibName113=MCU_ST_STM32H7 147 | LibName114=MCU_ST_STM32L0 148 | LibName115=MCU_ST_STM32L1 149 | LibName116=MCU_ST_STM32L4 150 | LibName117=MCU_ST_STM32L4+ 151 | LibName118=MCU_Texas 152 | LibName119=MCU_Texas_MSP430 153 | LibName120=Mechanical 154 | LibName121=Memory_Controller 155 | LibName122=Memory_EEPROM 156 | LibName123=Memory_EPROM 157 | LibName124=Memory_Flash 158 | LibName125=Memory_NVRAM 159 | LibName126=Memory_RAM 160 | LibName127=Memory_ROM 161 | LibName128=Memory_UniqueID 162 | LibName129=Motor 163 | LibName130=Oscillator 164 | LibName131=Potentiometer_Digital 165 | LibName132=power 166 | LibName133=Power_Management 167 | LibName134=Power_Protection 168 | LibName135=Power_Supervisor 169 | LibName136=pspice 170 | LibName137=Reference_Current 171 | LibName138=Reference_Voltage 172 | LibName139=Regulator_Controller 173 | LibName140=Regulator_Current 174 | LibName141=Regulator_Linear 175 | LibName142=Regulator_SwitchedCapacitor 176 | LibName143=Regulator_Switching 177 | LibName144=Relay 178 | LibName145=Relay_SolidState 179 | LibName146=RF 180 | LibName147=RF_AM_FM 181 | LibName148=RF_Amplifier 182 | LibName149=RF_Bluetooth 183 | LibName150=RF_GPS 184 | LibName151=RF_Mixer 185 | LibName152=RF_Module 186 | LibName153=RF_RFID 187 | LibName154=RF_Switch 188 | LibName155=RF_WiFi 189 | LibName156=RF_ZigBee 190 | LibName157=Sensor 191 | LibName158=Sensor_Audio 192 | LibName159=Sensor_Current 193 | LibName160=Sensor_Gas 194 | LibName161=Sensor_Humidity 195 | LibName162=Sensor_Magnetic 196 | LibName163=Sensor_Motion 197 | LibName164=Sensor_Optical 198 | LibName165=Sensor_Pressure 199 | LibName166=Sensor_Proximity 200 | LibName167=Sensor_Temperature 201 | LibName168=Sensor_Touch 202 | LibName169=Sensor_Voltage 203 | LibName170=Switch 204 | LibName171=Timer 205 | LibName172=Timer_PLL 206 | LibName173=Timer_RTC 207 | LibName174=Transformer 208 | LibName175=Transistor_Array 209 | LibName176=Transistor_BJT 210 | LibName177=Transistor_FET 211 | LibName178=Transistor_IGBT 212 | LibName179=Triac_Thyristor 213 | LibName180=Valve 214 | LibName181=Video 215 | -------------------------------------------------------------------------------- /attiny88/libs/ab2_input_devices.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 Date: 3/6/2014 11:06:59 PM 2 | #encoding utf-8 3 | # 4 | # AB2_DIP_SW_04 5 | # 6 | DEF AB2_DIP_SW_04 S 0 0 Y N 1 F N 7 | F0 "S" 0 -500 60 H V C CNN 8 | F1 "AB2_DIP_SW_04" 0 100 60 H V C CNN 9 | F2 "~" 0 0 60 H V C CNN 10 | F3 "~" 0 0 60 H V C CNN 11 | DRAW 12 | A -50 -385 10 -1799 -1 0 1 0 N -60 -385 -40 -385 13 | A -50 -235 10 -1799 -1 0 1 0 N -60 -235 -40 -235 14 | A -50 -85 10 -1799 -1 0 1 0 N -60 -85 -40 -85 15 | A -50 65 10 -1799 -1 0 1 0 N -60 65 -40 65 16 | C -50 -450 5 0 1 0 N 17 | C -50 -300 5 0 1 0 N 18 | C -50 -150 5 0 1 0 N 19 | C -50 0 5 0 1 0 N 20 | C 50 -450 5 0 1 0 N 21 | C 50 -300 5 0 1 0 N 22 | C 50 -150 5 0 1 0 N 23 | C 50 0 5 0 1 0 N 24 | S -75 -385 -75 -410 0 1 0 N 25 | S -75 -235 -75 -260 0 1 0 N 26 | S -75 -85 -75 -110 0 1 0 N 27 | S -75 65 -75 40 0 1 0 N 28 | S -25 -410 -25 -385 0 1 0 F 29 | S -25 -260 -25 -235 0 1 0 F 30 | S -25 -110 -25 -85 0 1 0 F 31 | S -25 40 -25 65 0 1 0 F 32 | S 0 -435 -100 -410 0 1 0 F 33 | S 0 -285 -100 -260 0 1 0 F 34 | S 0 -135 -100 -110 0 1 0 F 35 | S 0 15 -100 40 0 1 0 F 36 | S 25 -420 50 -425 0 1 0 N 37 | S 25 -270 50 -275 0 1 0 N 38 | S 25 -120 50 -125 0 1 0 N 39 | S 25 30 50 25 0 1 0 N 40 | P 2 0 1 0 -75 -410 -25 -410 N 41 | P 2 0 1 0 -75 -385 -60 -385 N 42 | P 2 0 1 0 -75 -260 -25 -260 N 43 | P 2 0 1 0 -75 -235 -60 -235 N 44 | P 2 0 1 0 -75 -110 -25 -110 N 45 | P 2 0 1 0 -75 -85 -60 -85 N 46 | P 2 0 1 0 -75 65 -60 65 N 47 | P 2 0 1 0 -40 -385 -25 -385 N 48 | P 2 0 1 0 -40 -235 -25 -235 N 49 | P 2 0 1 0 -40 -85 -25 -85 N 50 | P 2 0 1 0 -40 65 -25 65 N 51 | P 5 0 1 0 50 -410 50 -435 75 -425 75 -420 50 -410 F 52 | P 5 0 1 0 50 -260 50 -285 75 -275 75 -270 50 -260 F 53 | P 5 0 1 0 50 -110 50 -135 75 -125 75 -120 50 -110 F 54 | P 5 0 1 0 50 40 50 15 75 25 75 30 50 40 F 55 | X ~ 1 -150 0 100 R 50 50 1 1 P 56 | X ~ 2 -150 -150 100 R 50 50 1 1 P 57 | X ~ 3 -150 -300 100 R 50 50 1 1 P 58 | X ~ 4 -150 -450 100 R 50 50 1 1 P 59 | X ~ 5 150 -450 100 L 50 50 1 1 P 60 | X ~ 6 150 -300 100 L 50 50 1 1 P 61 | X ~ 7 150 -150 100 L 50 50 1 1 P 62 | X ~ 8 150 0 100 L 50 50 1 1 P 63 | ENDDRAW 64 | ENDDEF 65 | # 66 | # AB2_ROTARY_ENCODER_W_SW 67 | # 68 | DEF ~AB2_ROTARY_ENCODER_W_SW ROT_ENC 0 0 N Y 1 F N 69 | F0 "ROT_ENC" 0 -400 60 H V C CNN 70 | F1 "AB2_ROTARY_ENCODER_W_SW" 0 350 60 H I C CNN 71 | F2 "~" 0 -300 60 H V C CNN 72 | F3 "~" 0 -300 60 H V C CNN 73 | DRAW 74 | C -50 -300 5 0 1 0 N 75 | C 50 -300 5 0 1 0 N 76 | S -50 300 50 -150 0 1 0 N 77 | P 2 0 1 0 -50 -300 25 -250 N 78 | P 2 0 1 0 -50 -200 -50 -225 N 79 | P 2 0 1 0 -50 -200 50 -200 N 80 | P 2 0 1 0 0 -250 0 -275 N 81 | P 2 0 1 0 0 -200 0 -225 N 82 | P 2 0 1 0 50 -200 50 -225 N 83 | X A 1 0 200 0 L 50 50 1 1 P 84 | X C 2 0 -100 0 L 50 50 1 1 P 85 | X B 3 0 100 0 L 50 50 1 1 P 86 | X ~ 4 -150 -300 100 R 50 50 1 1 P 87 | X ~ 6 150 -300 100 L 50 50 1 1 P 88 | X SH 7 0 0 0 L 50 50 1 1 P 89 | ENDDRAW 90 | ENDDEF 91 | # 92 | # AB2_SWITCH_LIMIT 93 | # 94 | DEF ~AB2_SWITCH_LIMIT LIM 0 0 N Y 1 F N 95 | F0 "LIM" 0 -150 60 H V C CNN 96 | F1 "AB2_SWITCH_LIMIT" 0 200 60 H I C CNN 97 | F2 "~" 0 0 60 H V C CNN 98 | F3 "~" 0 0 60 H V C CNN 99 | DRAW 100 | A 0 0 35 450 -450 0 1 0 N 25 25 25 -25 101 | C -50 0 5 0 1 0 N 102 | C 50 -50 5 0 1 0 N 103 | C 50 50 5 0 1 0 N 104 | P 2 0 1 0 -50 0 -35 -10 N 105 | P 2 0 1 0 -50 0 25 50 N 106 | P 2 0 1 0 -50 150 -50 125 N 107 | P 2 0 1 0 -50 150 50 150 N 108 | P 2 0 1 0 -5 -30 -20 -20 N 109 | P 2 0 1 0 0 50 0 25 N 110 | P 2 0 1 0 0 100 0 75 N 111 | P 2 0 1 0 0 150 0 125 N 112 | P 2 0 1 0 15 -15 20 -30 N 113 | P 2 0 1 0 20 -30 35 -30 N 114 | P 2 0 1 0 25 -50 10 -40 N 115 | P 2 0 1 0 25 -25 15 -15 N 116 | P 2 0 1 0 25 -25 35 -30 N 117 | P 2 0 1 0 50 150 50 125 N 118 | X C C -150 0 100 R 50 50 1 1 P 119 | X NC NC 150 50 100 L 50 50 1 1 P 120 | X NO NO 150 -50 100 L 50 50 1 1 P 121 | ENDDRAW 122 | ENDDEF 123 | # 124 | # AB2_SWITCH_LOCK 125 | # 126 | DEF ~AB2_SWITCH_LOCK S 0 0 Y N 1 F N 127 | F0 "S" 0 -150 60 H V C CNN 128 | F1 "AB2_SWITCH_LOCK" 0 200 60 H I C CNN 129 | F2 "~" 0 0 60 H V C CNN 130 | F3 "~" 0 0 60 H V C CNN 131 | DRAW 132 | A 0 0 35 450 -450 0 1 0 N 25 25 25 -25 133 | C -50 0 5 0 1 0 N 134 | C 50 -50 5 0 1 0 N 135 | C 50 50 5 0 1 0 N 136 | P 2 0 1 0 -50 0 -35 -10 N 137 | P 2 0 1 0 -50 0 25 50 N 138 | P 2 0 1 0 -50 150 -50 125 N 139 | P 2 0 1 0 -50 150 50 150 N 140 | P 2 0 1 0 -5 -30 -20 -20 N 141 | P 2 0 1 0 0 50 0 25 N 142 | P 2 0 1 0 0 100 0 75 N 143 | P 2 0 1 0 0 150 0 125 N 144 | P 2 0 1 0 15 -15 20 -30 N 145 | P 2 0 1 0 20 -30 35 -30 N 146 | P 2 0 1 0 25 -50 10 -40 N 147 | P 2 0 1 0 25 -25 15 -15 N 148 | P 2 0 1 0 25 -25 35 -30 N 149 | P 2 0 1 0 50 150 50 125 N 150 | X ~ 1 150 50 100 L 50 50 1 1 P 151 | X ~ 2 150 -50 100 L 50 50 1 1 P 152 | X ~ C -150 0 100 R 50 50 1 1 P 153 | ENDDRAW 154 | ENDDEF 155 | # 156 | # AB2_SWITCH_MOMENTARY 157 | # 158 | DEF ~AB2_SWITCH_MOMENTARY S 0 0 N N 1 F N 159 | F0 "S" 0 -50 60 H V C CNN 160 | F1 "AB2_SWITCH_MOMENTARY" 0 150 60 H I C CNN 161 | F2 "~" 0 0 60 H V C CNN 162 | F3 "~" 0 0 60 H V C CNN 163 | DRAW 164 | C -50 0 5 0 1 0 N 165 | C 50 0 5 0 1 0 N 166 | P 2 0 1 0 -50 0 25 50 N 167 | P 2 0 1 0 -50 100 -50 75 N 168 | P 2 0 1 0 -50 100 50 100 N 169 | P 2 0 1 0 0 50 0 25 N 170 | P 2 0 1 0 0 100 0 75 N 171 | P 2 0 1 0 50 100 50 75 N 172 | X ~ 1 -150 0 100 R 50 50 1 1 P 173 | X ~ 2 150 0 100 L 50 50 1 1 P 174 | ENDDRAW 175 | ENDDEF 176 | # 177 | # AB2_SWITCH_SLIDE 178 | # 179 | DEF AB2_SWITCH_SLIDE S 0 50 Y N 1 F N 180 | F0 "S" 150 50 60 H V C CNN 181 | F1 "AB2_SWITCH_SLIDE" 0 200 60 H V C CNN 182 | F2 "~" 0 0 60 H V C CNN 183 | F3 "~" 0 0 60 H V C CNN 184 | DRAW 185 | P 2 0 1 0 50 75 100 110 N 186 | P 2 0 1 0 50 100 50 75 N 187 | P 2 0 1 0 50 150 100 115 N 188 | P 4 0 1 0 -50 75 -50 150 -100 150 -100 75 N 189 | P 5 0 1 0 50 100 -25 100 -25 125 50 125 50 150 N 190 | P 9 0 1 0 25 25 -25 25 -25 50 -125 50 -125 25 -175 25 -175 75 25 75 25 25 N 191 | X ~ 1 -150 -100 100 U 50 50 1 1 P 192 | X ~ 2 150 -100 100 U 50 50 1 1 P 193 | X ~ C 0 -100 100 U 50 50 1 1 P 194 | ENDDRAW 195 | ENDDEF 196 | # 197 | #End Library 198 | -------------------------------------------------------------------------------- /esp8266/esp8266 breakout-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # +3V3 5 | # 6 | DEF +3V3 #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 -150 50 H I C CNN 8 | F1 "+3V3" 0 140 50 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | ALIAS +3.3V 12 | DRAW 13 | P 2 0 1 0 -30 50 0 100 N 14 | P 2 0 1 0 0 0 0 100 N 15 | P 2 0 1 0 0 100 30 50 N 16 | X +3V3 1 0 0 0 U 50 50 1 1 W N 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | # +5V 21 | # 22 | DEF +5V #PWR 0 0 Y Y 1 F P 23 | F0 "#PWR" 0 -150 50 H I C CNN 24 | F1 "+5V" 0 140 50 H V C CNN 25 | F2 "" 0 0 60 H V C CNN 26 | F3 "" 0 0 60 H V C CNN 27 | DRAW 28 | P 2 0 1 0 -30 50 0 100 N 29 | P 2 0 1 0 0 0 0 100 N 30 | P 2 0 1 0 0 100 30 50 N 31 | X +5V 1 0 0 0 U 50 50 1 1 W N 32 | ENDDRAW 33 | ENDDEF 34 | # 35 | # AP1117 36 | # 37 | DEF AP1117 U 0 30 Y Y 1 F N 38 | F0 "U" 100 -250 50 H V C CNN 39 | F1 "AP1117" 0 250 50 H V C CNN 40 | F2 "" 0 0 60 H V C CNN 41 | F3 "" 0 0 60 H V C CNN 42 | ALIAS AP1117D15 AP1117D18 AP1117D25 AP1117D33 AP1117D50 AP1117E15 AP1117E18 AP1117E25 AP1117E33 AP1117E50 AP1117K15 AP1117K18 AP1117K25 AP1117K33 AP1117K50 AP1117T15 AP1117T18 AP1117T25 AP1117T33 AP1117T50 AP1117Y15 AP1117Y18 AP1117Y25 AP1117Y33 AP1117Y50 43 | $FPLIST 44 | SOT223 45 | SOT89-3 46 | TO220-3 47 | TO252 48 | TO263 49 | $ENDFPLIST 50 | DRAW 51 | S -200 -200 200 200 0 1 10 f 52 | X GND/ADJ 1 0 -300 100 U 50 50 1 1 W 53 | X VO 2 300 0 100 L 50 50 1 1 w 54 | X VI 3 -300 0 100 R 50 50 1 1 W 55 | ENDDRAW 56 | ENDDEF 57 | # 58 | # CONN_01X02 59 | # 60 | DEF CONN_01X02 P 0 40 Y N 1 F N 61 | F0 "P" 0 150 50 H V C CNN 62 | F1 "CONN_01X02" 100 0 50 V V C CNN 63 | F2 "" 0 0 60 H V C CNN 64 | F3 "" 0 0 60 H V C CNN 65 | $FPLIST 66 | Pin_Header_Straight_1X02 67 | Pin_Header_Angled_1X02 68 | Socket_Strip_Straight_1X02 69 | Socket_Strip_Angled_1X02 70 | $ENDFPLIST 71 | DRAW 72 | S -50 -45 10 -55 0 1 0 N 73 | S -50 55 10 45 0 1 0 N 74 | S -50 100 50 -100 0 1 0 N 75 | X P1 1 -200 50 150 R 50 50 1 1 P 76 | X P2 2 -200 -50 150 R 50 50 1 1 P 77 | ENDDRAW 78 | ENDDEF 79 | # 80 | # CONN_01X03 81 | # 82 | DEF CONN_01X03 P 0 40 Y N 1 F N 83 | F0 "P" 0 200 50 H V C CNN 84 | F1 "CONN_01X03" 100 0 50 V V C CNN 85 | F2 "" 0 0 60 H V C CNN 86 | F3 "" 0 0 60 H V C CNN 87 | $FPLIST 88 | Pin_Header_Straight_1X03 89 | Pin_Header_Angled_1X03 90 | Socket_Strip_Straight_1X03 91 | Socket_Strip_Angled_1X03 92 | $ENDFPLIST 93 | DRAW 94 | S -50 -95 10 -105 0 1 0 N 95 | S -50 5 10 -5 0 1 0 N 96 | S -50 105 10 95 0 1 0 N 97 | S -50 150 50 -150 0 1 0 N 98 | X P1 1 -200 100 150 R 50 50 1 1 P 99 | X P2 2 -200 0 150 R 50 50 1 1 P 100 | X P3 3 -200 -100 150 R 50 50 1 1 P 101 | ENDDRAW 102 | ENDDEF 103 | # 104 | # CONN_01X06 105 | # 106 | DEF CONN_01X06 P 0 40 Y N 1 F N 107 | F0 "P" 0 350 50 H V C CNN 108 | F1 "CONN_01X06" 100 0 50 V V C CNN 109 | F2 "" 0 0 60 H V C CNN 110 | F3 "" 0 0 60 H V C CNN 111 | $FPLIST 112 | Pin_Header_Straight_1X06 113 | Pin_Header_Angled_1X06 114 | Socket_Strip_Straight_1X06 115 | Socket_Strip_Angled_1X06 116 | $ENDFPLIST 117 | DRAW 118 | S -50 -245 10 -255 0 1 0 N 119 | S -50 -145 10 -155 0 1 0 N 120 | S -50 -45 10 -55 0 1 0 N 121 | S -50 55 10 45 0 1 0 N 122 | S -50 155 10 145 0 1 0 N 123 | S -50 255 10 245 0 1 0 N 124 | S -50 300 50 -300 0 1 0 N 125 | X P1 1 -200 250 150 R 50 50 1 1 P 126 | X P2 2 -200 150 150 R 50 50 1 1 P 127 | X P3 3 -200 50 150 R 50 50 1 1 P 128 | X P4 4 -200 -50 150 R 50 50 1 1 P 129 | X P5 5 -200 -150 150 R 50 50 1 1 P 130 | X P6 6 -200 -250 150 R 50 50 1 1 P 131 | ENDDRAW 132 | ENDDEF 133 | # 134 | # DS18B20 135 | # 136 | DEF DS18B20 IC 0 40 Y Y 3 L N 137 | F0 "IC" 225 25 50 H V L BNN 138 | F1 "DS18B20" 225 -75 50 H V L BNN 139 | F2 "1wire-TO92-" 0 150 50 H I C CNN 140 | F3 "" 0 0 60 H V C CNN 141 | DRAW 142 | T 0 50 0 150 0 1 0 IC Normal 0 C C 143 | P 2 1 0 0 -200 -100 -200 100 N 144 | P 2 1 0 0 -200 100 200 100 N 145 | P 2 1 0 0 200 -100 -200 -100 N 146 | P 2 1 0 0 200 100 200 -100 N 147 | T 1 100 -175 50 0 2 0 GND Normal 0 C C 148 | T 1 50 175 50 0 2 0 VDD Normal 0 C C 149 | X GND 1 0 -300 200 U 40 40 2 1 W 150 | X VDD 3 0 300 200 D 40 40 2 1 W 151 | X 1W 2 -200 0 200 R 40 40 3 1 W 152 | ENDDRAW 153 | ENDDEF 154 | # 155 | # GND 156 | # 157 | DEF GND #PWR 0 0 Y Y 1 F P 158 | F0 "#PWR" 0 -250 50 H I C CNN 159 | F1 "GND" 0 -150 50 H V C CNN 160 | F2 "" 0 0 60 H V C CNN 161 | F3 "" 0 0 60 H V C CNN 162 | DRAW 163 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 164 | X GND 1 0 0 0 D 50 50 1 1 W N 165 | ENDDRAW 166 | ENDDEF 167 | # 168 | # LED 169 | # 170 | DEF LED D 0 40 Y N 1 F N 171 | F0 "D" 0 100 50 H V C CNN 172 | F1 "LED" 0 -100 50 H V C CNN 173 | F2 "" 0 0 60 H V C CNN 174 | F3 "" 0 0 60 H V C CNN 175 | $FPLIST 176 | LED-3MM 177 | LED-5MM 178 | LED-10MM 179 | LED-0603 180 | LED-0805 181 | LED-1206 182 | LEDV 183 | $ENDFPLIST 184 | DRAW 185 | P 2 0 1 0 -50 50 -50 -50 N 186 | P 3 0 1 0 -80 -25 -125 -65 -120 -40 N 187 | P 3 0 1 0 -65 -40 -110 -80 -105 -55 N 188 | P 3 0 1 0 50 50 -50 0 50 -50 F 189 | X K 1 -200 0 150 R 40 40 1 1 P 190 | X A 2 200 0 150 L 40 40 1 1 P 191 | ENDDRAW 192 | ENDDEF 193 | # 194 | # PWR_FLAG 195 | # 196 | DEF PWR_FLAG #FLG 0 0 N N 1 F P 197 | F0 "#FLG" 0 95 50 H I C CNN 198 | F1 "PWR_FLAG" 0 180 50 H V C CNN 199 | F2 "" 0 0 60 H V C CNN 200 | F3 "" 0 0 60 H V C CNN 201 | DRAW 202 | X pwr 1 0 0 0 U 20 20 0 0 w 203 | P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N 204 | ENDDRAW 205 | ENDDEF 206 | # 207 | # R 208 | # 209 | DEF R R 0 0 N Y 1 F N 210 | F0 "R" 80 0 50 V V C CNN 211 | F1 "R" 0 0 50 V V C CNN 212 | F2 "" -70 0 30 V V C CNN 213 | F3 "" 0 0 30 H V C CNN 214 | $FPLIST 215 | R_* 216 | Resistor_* 217 | $ENDFPLIST 218 | DRAW 219 | S -40 -100 40 100 0 1 10 N 220 | X ~ 1 0 150 50 D 60 60 1 1 P 221 | X ~ 2 0 -150 50 U 60 60 1 1 P 222 | ENDDRAW 223 | ENDDEF 224 | # 225 | # SW_PUSH 226 | # 227 | DEF SW_PUSH SW 0 40 N N 1 F N 228 | F0 "SW" 150 110 50 H V C CNN 229 | F1 "SW_PUSH" 0 -80 50 H V C CNN 230 | F2 "" 0 0 60 H V C CNN 231 | F3 "" 0 0 60 H V C CNN 232 | DRAW 233 | S -170 50 170 60 0 1 0 N 234 | P 4 0 1 0 -40 60 -30 90 30 90 40 60 N 235 | X 1 1 -300 0 200 R 60 60 0 1 P I 236 | X 2 2 300 0 200 L 60 60 0 1 P I 237 | ENDDRAW 238 | ENDDEF 239 | # 240 | # ZENER 241 | # 242 | DEF ZENER D 0 40 N N 1 F N 243 | F0 "D" 0 100 50 H V C CNN 244 | F1 "ZENER" 0 -100 50 H V C CNN 245 | F2 "" 0 0 60 H V C CNN 246 | F3 "" 0 0 60 H V C CNN 247 | $FPLIST 248 | D? 249 | SO* 250 | SM* 251 | $ENDFPLIST 252 | DRAW 253 | P 5 0 1 8 -70 50 -50 30 -50 -30 -30 -50 -30 -50 N 254 | P 5 0 1 0 -50 0 50 50 50 -50 -50 0 -50 0 F 255 | X K 1 -200 0 150 R 50 50 1 1 P 256 | X A 2 200 0 150 L 50 50 1 1 P 257 | ENDDRAW 258 | ENDDEF 259 | # 260 | # esp8266 261 | # 262 | DEF esp8266 U 0 40 Y Y 1 F N 263 | F0 "U" 500 -200 60 H V C CNN 264 | F1 "esp8266" 650 -300 60 H V C CNN 265 | F2 "" 650 -300 60 H V C CNN 266 | F3 "" 650 -300 60 H V C CNN 267 | DRAW 268 | S 50 -100 1100 -950 0 1 0 N 269 | X rxd 1 -150 -200 200 R 50 50 1 1 I 270 | X vcc 2 -150 -300 200 R 50 50 1 1 W 271 | X gpio0 3 -150 -400 200 R 50 50 1 1 T 272 | X rst 4 -150 -500 200 R 50 50 1 1 I 273 | X gpio2 5 -150 -600 200 R 50 50 1 1 T 274 | X ch_pd 6 -150 -700 200 R 50 50 1 1 T 275 | X gnd 7 -150 -800 200 R 50 50 1 1 w 276 | X txd 8 -150 -900 200 R 50 50 1 1 O 277 | ENDDRAW 278 | ENDDEF 279 | # 280 | #End Library 281 | -------------------------------------------------------------------------------- /modbox-brain/libs/cp2102.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # +3V3 5 | # 6 | DEF +3V3 #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 -150 50 H I C CNN 8 | F1 "+3V3" 0 140 50 H V C CNN 9 | F2 "" 0 0 50 H V C CNN 10 | F3 "" 0 0 50 H V C CNN 11 | ALIAS +3.3V 12 | DRAW 13 | P 2 0 1 0 -30 50 0 100 N 14 | P 2 0 1 0 0 0 0 100 N 15 | P 2 0 1 0 0 100 30 50 N 16 | X +3V3 1 0 0 0 U 50 50 1 1 W N 17 | ENDDRAW 18 | ENDDEF 19 | # 20 | # CAP 21 | # 22 | DEF CAP C 0 10 N Y 1 F N 23 | F0 "C" 50 100 50 H V L CNN 24 | F1 "CAP" 50 -100 50 H V L CNN 25 | F2 "" 0 0 60 H V C CNN 26 | F3 "" 0 0 60 H V C CNN 27 | $FPLIST 28 | *_CAP 29 | CAP_* 30 | SM* 31 | $ENDFPLIST 32 | DRAW 33 | P 2 0 1 20 -100 -30 100 -30 N 34 | P 2 0 1 20 -100 30 100 30 N 35 | X ~ 1 0 200 170 D 40 40 1 1 P 36 | X ~ 2 0 -200 170 U 40 40 1 1 P 37 | ENDDRAW 38 | ENDDEF 39 | # 40 | # CONN_01X05 41 | # 42 | DEF CONN_01X05 P 0 40 Y N 1 F N 43 | F0 "P" 0 300 50 H V C CNN 44 | F1 "CONN_01X05" 100 0 50 V V C CNN 45 | F2 "" 0 0 50 H V C CNN 46 | F3 "" 0 0 50 H V C CNN 47 | $FPLIST 48 | Pin_Header_Straight_1X05 49 | Pin_Header_Angled_1X05 50 | Socket_Strip_Straight_1X05 51 | Socket_Strip_Angled_1X05 52 | $ENDFPLIST 53 | DRAW 54 | S -50 -195 10 -205 0 1 0 N 55 | S -50 -95 10 -105 0 1 0 N 56 | S -50 5 10 -5 0 1 0 N 57 | S -50 105 10 95 0 1 0 N 58 | S -50 205 10 195 0 1 0 N 59 | S -50 250 50 -250 0 1 0 N 60 | X P1 1 -200 200 150 R 50 50 1 1 P 61 | X P2 2 -200 100 150 R 50 50 1 1 P 62 | X P3 3 -200 0 150 R 50 50 1 1 P 63 | X P4 4 -200 -100 150 R 50 50 1 1 P 64 | X P5 5 -200 -200 150 R 50 50 1 1 P 65 | ENDDRAW 66 | ENDDEF 67 | # 68 | # CP2102 69 | # 70 | DEF CP2102 U 0 40 Y Y 1 F N 71 | F0 "U" 0 200 50 H V C CNN 72 | F1 "CP2102" 0 0 50 H V C CNN 73 | F2 "" 0 0 60 H V C CNN 74 | F3 "" 0 0 60 H V C CNN 75 | DRAW 76 | S -550 600 500 -700 0 1 0 N 77 | X DCD 1 800 -550 300 L 50 50 1 1 I 78 | X RI 2 800 -450 300 L 50 50 1 1 I 79 | X GND 3 -850 -300 300 R 50 50 1 1 I 80 | X D+ 4 -850 -200 300 R 50 50 1 1 I 81 | X D- 5 -850 -100 300 R 50 50 1 1 I 82 | X Vdd 6 -850 50 300 R 50 50 1 1 I 83 | X REGIN 7 -850 250 300 R 50 50 1 1 I 84 | X VBUS 8 -850 150 300 R 50 50 1 1 I 85 | X /RST 9 800 450 300 L 50 50 1 1 I 86 | X /SUSPEND 11 800 -350 300 L 50 50 1 1 I 87 | X SUSPEND 12 800 -250 300 L 50 50 1 1 I 88 | X CTS 23 800 -150 300 L 50 50 1 1 I 89 | X RTS 24 800 -50 300 L 50 50 1 1 I 90 | X RXD 25 800 50 300 L 50 50 1 1 I 91 | X TXD 26 800 150 300 L 50 50 1 1 I 92 | X DSR 27 800 250 300 L 50 50 1 1 I 93 | X DTR 28 800 350 300 L 50 50 1 1 I 94 | ENDDRAW 95 | ENDDEF 96 | # 97 | # GND 98 | # 99 | DEF GND #PWR 0 0 Y Y 1 F P 100 | F0 "#PWR" 0 -250 50 H I C CNN 101 | F1 "GND" 0 -150 50 H V C CNN 102 | F2 "" 0 0 50 H V C CNN 103 | F3 "" 0 0 50 H V C CNN 104 | DRAW 105 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 106 | X GND 1 0 0 0 D 50 50 1 1 W N 107 | ENDDRAW 108 | ENDDEF 109 | # 110 | # LED-RESCUE-cp2102 111 | # 112 | DEF LED-RESCUE-cp2102 D 0 40 Y N 1 F N 113 | F0 "D" 0 100 50 H V C CNN 114 | F1 "LED-RESCUE-cp2102" 0 -100 50 H V C CNN 115 | F2 "" 0 0 60 H V C CNN 116 | F3 "" 0 0 60 H V C CNN 117 | $FPLIST 118 | LED-3MM 119 | LED-5MM 120 | LED-10MM 121 | LED-0603 122 | LED-0805 123 | LED-1206 124 | LEDV 125 | $ENDFPLIST 126 | DRAW 127 | P 2 0 1 0 50 50 50 -50 N 128 | P 3 0 1 0 -50 50 50 0 -50 -50 F 129 | P 3 0 1 0 65 -40 110 -80 105 -55 N 130 | P 3 0 1 0 80 -25 125 -65 120 -40 N 131 | X A 1 -200 0 150 R 40 40 1 1 P 132 | X K 2 200 0 150 L 40 40 1 1 P 133 | ENDDRAW 134 | ENDDEF 135 | # 136 | # LEMBED-LOGO 137 | # 138 | DEF LEMBED-LOGO LOGO 0 40 Y Y 1 F N 139 | F0 "LOGO" 0 275 60 H V C CNN 140 | F1 "LEMBED-LOGO" 0 -275 60 H V C CNN 141 | F2 "" 0 0 60 H V C CNN 142 | F3 "" 0 0 60 H V C CNN 143 | DRAW 144 | A -1 0 225 -897 -265 0 1 0 F 0 -225 200 -100 145 | A 0 0 225 900 -266 0 1 0 N 0 225 200 -100 146 | A 0 0 225 901 -901 0 1 0 F 0 225 0 -225 147 | P 3 0 1 0 0 225 0 0 200 -100 N 148 | ENDDRAW 149 | ENDDEF 150 | # 151 | # MICRO-USB-B 152 | # 153 | DEF MICRO-USB-B CON 0 50 Y Y 1 F N 154 | F0 "CON" -25 300 50 H V C CNN 155 | F1 "MICRO-USB-B" 0 -400 50 H V C CNN 156 | F2 "" 275 -150 50 H V C CNN 157 | F3 "" 275 -150 50 H V C CNN 158 | DRAW 159 | S -125 225 150 -325 0 1 0 N 160 | X VBUS 1 -225 150 100 R 50 50 1 1 W 161 | X D- 2 -225 50 100 R 50 50 1 1 B 162 | X D+ 3 -225 -50 100 R 50 50 1 1 B 163 | X ID 4 -225 -150 100 R 50 50 1 1 B 164 | X GND 5 -225 -250 100 R 50 50 1 1 W 165 | ENDDRAW 166 | ENDDEF 167 | # 168 | # OPEN_HARDWARE_1 169 | # 170 | DEF OPEN_HARDWARE_1 LOGO 0 40 Y Y 1 F N 171 | F0 "LOGO" 0 275 60 H V C CNN 172 | F1 "OPEN_HARDWARE_1" 0 -275 60 H V C CNN 173 | F2 "" 0 0 60 H V C CNN 174 | F3 "" 0 0 60 H V C CNN 175 | DRAW 176 | P 277 0 1 0 132 -171 130 -170 125 -167 118 -162 109 -156 100 -150 93 -146 88 -142 86 -141 85 -142 81 -144 75 -147 71 -149 66 -151 63 -151 63 -151 61 -147 58 -139 53 -130 49 -119 44 -107 38 -95 34 -83 29 -72 26 -64 24 -58 23 -55 23 -55 26 -52 31 -49 41 -40 51 -27 57 -13 60 3 58 18 52 32 42 45 30 54 16 60 0 62 -15 61 -29 55 -42 45 -48 39 -55 26 -60 12 -60 9 -59 -7 -55 -21 -47 -34 -36 -45 -34 -46 -29 -50 -25 -53 -23 -55 -42 -102 -45 -110 -51 -123 -55 -134 -59 -143 -62 -149 -63 -151 -63 -151 -65 -151 -68 -150 -75 -147 -79 -145 -84 -142 -87 -141 -89 -142 -93 -145 -100 -150 -109 -156 -117 -161 -124 -166 -130 -170 -132 -171 -133 -171 -135 -170 -139 -166 -146 -160 -155 -151 -156 -150 -164 -142 -170 -136 -174 -131 -175 -129 -175 -129 -174 -127 -170 -121 -166 -114 -160 -105 -144 -82 -153 -61 -155 -54 -159 -46 -161 -41 -162 -38 -165 -37 -170 -36 -179 -34 -189 -32 -199 -31 -207 -29 -214 -28 -217 -27 -217 -27 -218 -25 -218 -22 -218 -17 -219 -9 -219 3 -219 5 -218 16 -218 25 -218 30 -218 33 -218 33 -215 33 -209 35 -200 36 -190 38 -189 39 -179 41 -170 42 -164 44 -161 45 -161 45 -159 49 -156 56 -152 64 -149 72 -146 79 -144 85 -143 87 -143 87 -145 90 -148 95 -153 102 -160 111 -160 112 -166 121 -171 128 -174 133 -175 136 -175 136 -173 138 -169 143 -162 150 -155 158 -152 160 -144 169 -138 174 -134 177 -132 178 -132 178 -130 176 -124 172 -117 167 -108 161 -107 161 -98 155 -91 150 -86 146 -84 145 -83 145 -80 146 -73 148 -66 151 -58 155 -50 158 -45 160 -42 162 -42 162 -41 165 -40 171 -38 180 -36 191 -35 193 -33 203 -32 212 -31 218 -30 220 -28 221 -23 221 -16 221 -6 221 3 221 13 221 21 221 27 220 29 220 29 220 30 217 32 210 33 201 36 190 36 188 38 178 40 169 41 163 42 161 42 161 47 159 54 156 62 152 82 144 107 161 109 163 118 169 125 174 130 177 133 178 133 178 135 176 140 171 147 165 154 157 160 151 167 144 171 140 174 137 174 135 174 134 173 131 169 126 164 118 158 110 153 102 148 94 144 88 143 85 143 84 145 79 148 72 152 63 160 44 173 41 181 40 192 38 202 36 218 33 219 -26 216 -27 214 -27 208 -29 199 -30 189 -32 181 -34 172 -36 166 -37 163 -37 162 -38 160 -42 157 -49 154 -57 150 -65 147 -73 145 -79 144 -82 145 -84 149 -89 153 -97 159 -105 165 -114 170 -121 173 -126 175 -129 174 -131 171 -135 164 -141 155 -151 153 -152 145 -160 139 -166 134 -170 132 -171 F 177 | ENDDRAW 178 | ENDDEF 179 | # 180 | # R-RESCUE-cp2102 181 | # 182 | DEF R-RESCUE-cp2102 R 0 0 N Y 1 F N 183 | F0 "R" 80 0 50 V V C CNN 184 | F1 "R-RESCUE-cp2102" 7 1 50 V V C CNN 185 | F2 "" -70 0 30 V V C CNN 186 | F3 "" 0 0 30 H V C CNN 187 | $FPLIST 188 | R? 189 | SM0603 190 | SM0805 191 | R?-* 192 | SM1206 193 | $ENDFPLIST 194 | DRAW 195 | S -40 150 40 -150 0 1 12 N 196 | X ~ 1 0 250 100 D 60 60 1 1 P 197 | X ~ 2 0 -250 100 U 60 60 1 1 P 198 | ENDDRAW 199 | ENDDEF 200 | # 201 | # VCC 202 | # 203 | DEF VCC #PWR 0 0 Y Y 1 F P 204 | F0 "#PWR" 0 -150 50 H I C CNN 205 | F1 "VCC" 0 150 50 H V C CNN 206 | F2 "" 0 0 50 H V C CNN 207 | F3 "" 0 0 50 H V C CNN 208 | DRAW 209 | C 0 75 25 0 1 0 N 210 | P 2 0 1 0 0 0 0 50 N 211 | X VCC 1 0 0 0 U 50 50 1 1 W N 212 | ENDDRAW 213 | ENDDEF 214 | # 215 | #End Library 216 | -------------------------------------------------------------------------------- /oobb-namebadge/docs/hello.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 39 | 41 | 42 | 44 | image/svg+xml 45 | 47 | 48 | 49 | 50 | 51 | 55 | 58 | 62 | 66 | 70 | 74 | 78 | 82 | 86 | 90 | 91 | 94 | 98 | 102 | 106 | 110 | 114 | 115 | 126 | 127 | -------------------------------------------------------------------------------- /earth-to-mars/earth-to-mars.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:power 3 | LIBS:device 4 | LIBS:transistors 5 | LIBS:conn 6 | LIBS:linear 7 | LIBS:regul 8 | LIBS:74xx 9 | LIBS:cmos4000 10 | LIBS:adc-dac 11 | LIBS:memory 12 | LIBS:xilinx 13 | LIBS:microcontrollers 14 | LIBS:dsp 15 | LIBS:microchip 16 | LIBS:analog_switches 17 | LIBS:motorola 18 | LIBS:texas 19 | LIBS:intel 20 | LIBS:audio 21 | LIBS:interface 22 | LIBS:digital-audio 23 | LIBS:philips 24 | LIBS:display 25 | LIBS:cypress 26 | LIBS:siliconi 27 | LIBS:opto 28 | LIBS:atmel 29 | LIBS:contrib 30 | LIBS:valves 31 | LIBS:dht11 32 | LIBS:mq8 33 | LIBS:earth-to-mars-cache 34 | EELAYER 25 0 35 | EELAYER END 36 | $Descr A4 11693 8268 37 | encoding utf-8 38 | Sheet 1 1 39 | Title "" 40 | Date "" 41 | Rev "" 42 | Comp "" 43 | Comment1 "" 44 | Comment2 "" 45 | Comment3 "" 46 | Comment4 "" 47 | $EndDescr 48 | $Comp 49 | L CONN_01X06 P10 50 | U 1 1 563780B4 51 | P 2700 3500 52 | F 0 "P10" H 2700 3850 50 0000 C CNN 53 | F 1 "CONN_01X06" V 2800 3500 50 0000 C CNN 54 | F 2 "Pin_Headers:Pin_Header_Straight_1x06" H 2700 3500 60 0001 C CNN 55 | F 3 "" H 2700 3500 60 0000 C CNN 56 | 1 2700 3500 57 | 1 0 0 -1 58 | $EndComp 59 | $Comp 60 | L CONN_01X06 P7 61 | U 1 1 5637813C 62 | P 4100 3500 63 | F 0 "P7" H 4100 3850 50 0000 C CNN 64 | F 1 "CONN_01X06" V 4200 3500 50 0000 C CNN 65 | F 2 "Pin_Headers:Pin_Header_Straight_1x06" H 4100 3500 60 0001 C CNN 66 | F 3 "" H 4100 3500 60 0000 C CNN 67 | 1 4100 3500 68 | 1 0 0 -1 69 | $EndComp 70 | $Comp 71 | L CONN_01X04 P8 72 | U 1 1 5637818C 73 | P 4100 4250 74 | F 0 "P8" H 4100 4500 50 0000 C CNN 75 | F 1 "CONN_01X04" V 4200 4250 50 0000 C CNN 76 | F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 4100 4250 60 0001 C CNN 77 | F 3 "" H 4100 4250 60 0000 C CNN 78 | 1 4100 4250 79 | 1 0 0 -1 80 | $EndComp 81 | $Comp 82 | L CONN_01X04 P6 83 | U 1 1 56378227 84 | P 2700 4400 85 | F 0 "P6" H 2700 4650 50 0000 C CNN 86 | F 1 "CONN_01X04" V 2800 4400 50 0000 C CNN 87 | F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 2700 4400 60 0001 C CNN 88 | F 3 "" H 2700 4400 60 0000 C CNN 89 | 1 2700 4400 90 | 1 0 0 -1 91 | $EndComp 92 | Text GLabel 2500 4250 0 60 Input ~ 0 93 | pi_10_mosi 94 | Text GLabel 2500 4350 0 60 Input ~ 0 95 | pi_09_miso 96 | Text GLabel 2500 4450 0 60 Input ~ 0 97 | pi_11_sclk 98 | Text GLabel 2500 4550 0 60 Input ~ 0 99 | pi_08_ce0 100 | Text GLabel 3900 4100 0 60 Input ~ 0 101 | mega_adc4_sda 102 | Text GLabel 3900 4200 0 60 Input ~ 0 103 | mega_adc5_scl 104 | Text GLabel 3900 4300 0 60 Input ~ 0 105 | mega_adc6 106 | Text GLabel 3900 4400 0 60 Input ~ 0 107 | mega_adc7 108 | Text GLabel 2500 3550 0 60 Input ~ 0 109 | pi_02_sda 110 | Text GLabel 2500 3650 0 60 Input ~ 0 111 | pi_03_scl 112 | Text GLabel 3900 3250 0 60 Input ~ 0 113 | mega_io12_miso 114 | Text GLabel 3900 3450 0 60 Input ~ 0 115 | mega_io13_sck 116 | Text GLabel 3900 3550 0 60 Input ~ 0 117 | mega_io11_mosi 118 | Text GLabel 3900 3650 0 60 Input ~ 0 119 | mega_rst 120 | $Comp 121 | L Earth #PWR01 122 | U 1 1 56378584 123 | P 3900 3750 124 | F 0 "#PWR01" H 3900 3500 50 0001 C CNN 125 | F 1 "Earth" H 3900 3600 50 0001 C CNN 126 | F 2 "" H 3900 3750 60 0000 C CNN 127 | F 3 "" H 3900 3750 60 0000 C CNN 128 | 1 3900 3750 129 | 1 0 0 -1 130 | $EndComp 131 | $Comp 132 | L Earth #PWR02 133 | U 1 1 563785AA 134 | P 2500 3450 135 | F 0 "#PWR02" H 2500 3200 50 0001 C CNN 136 | F 1 "Earth" H 2500 3300 50 0001 C CNN 137 | F 2 "" H 2500 3450 60 0000 C CNN 138 | F 3 "" H 2500 3450 60 0000 C CNN 139 | 1 2500 3450 140 | 0 1 1 0 141 | $EndComp 142 | $Comp 143 | L +5V #PWR03 144 | U 1 1 563785BF 145 | P 3900 3350 146 | F 0 "#PWR03" H 3900 3200 50 0001 C CNN 147 | F 1 "+5V" H 3900 3490 50 0000 C CNN 148 | F 2 "" H 3900 3350 60 0000 C CNN 149 | F 3 "" H 3900 3350 60 0000 C CNN 150 | 1 3900 3350 151 | 0 -1 -1 0 152 | $EndComp 153 | $Comp 154 | L +5V #PWR04 155 | U 1 1 56378615 156 | P 2500 3250 157 | F 0 "#PWR04" H 2500 3100 50 0001 C CNN 158 | F 1 "+5V" H 2500 3390 50 0000 C CNN 159 | F 2 "" H 2500 3250 60 0000 C CNN 160 | F 3 "" H 2500 3250 60 0000 C CNN 161 | 1 2500 3250 162 | 0 -1 -1 0 163 | $EndComp 164 | $Comp 165 | L +3.3V #PWR05 166 | U 1 1 5637862A 167 | P 2300 3350 168 | F 0 "#PWR05" H 2300 3200 50 0001 C CNN 169 | F 1 "+3.3V" H 2300 3490 50 0000 C CNN 170 | F 2 "" H 2300 3350 60 0000 C CNN 171 | F 3 "" H 2300 3350 60 0000 C CNN 172 | 1 2300 3350 173 | 0 -1 -1 0 174 | $EndComp 175 | Wire Wire Line 176 | 2300 3350 2500 3350 177 | $Comp 178 | L +BATT #PWR06 179 | U 1 1 56378650 180 | P 1950 3750 181 | F 0 "#PWR06" H 1950 3600 50 0001 C CNN 182 | F 1 "+BATT" H 1950 3890 50 0000 C CNN 183 | F 2 "" H 1950 3750 60 0000 C CNN 184 | F 3 "" H 1950 3750 60 0000 C CNN 185 | 1 1950 3750 186 | 0 -1 -1 0 187 | $EndComp 188 | Wire Wire Line 189 | 1950 3750 2500 3750 190 | $Comp 191 | L dht11 U2 192 | U 1 1 56378B00 193 | P 6300 4350 194 | F 0 "U2" H 6250 4000 60 0000 C CNN 195 | F 1 "dht11" H 6250 4600 60 0000 C CNN 196 | F 2 "fp:dht11" H 6300 4350 60 0001 C CNN 197 | F 3 "" H 6300 4350 60 0000 C CNN 198 | 1 6300 4350 199 | 1 0 0 -1 200 | $EndComp 201 | $Comp 202 | L Earth #PWR07 203 | U 1 1 56378D33 204 | P 5900 4550 205 | F 0 "#PWR07" H 5900 4300 50 0001 C CNN 206 | F 1 "Earth" H 5900 4400 50 0001 C CNN 207 | F 2 "" H 5900 4550 60 0000 C CNN 208 | F 3 "" H 5900 4550 60 0000 C CNN 209 | 1 5900 4550 210 | 1 0 0 -1 211 | $EndComp 212 | $Comp 213 | L Earth #PWR08 214 | U 1 1 56378D50 215 | P 6400 3300 216 | F 0 "#PWR08" H 6400 3050 50 0001 C CNN 217 | F 1 "Earth" H 6400 3150 50 0001 C CNN 218 | F 2 "" H 6400 3300 60 0000 C CNN 219 | F 3 "" H 6400 3300 60 0000 C CNN 220 | 1 6400 3300 221 | 1 0 0 -1 222 | $EndComp 223 | $Comp 224 | L +5V #PWR09 225 | U 1 1 56378D6D 226 | P 5900 4250 227 | F 0 "#PWR09" H 5900 4100 50 0001 C CNN 228 | F 1 "+5V" H 5900 4390 50 0000 C CNN 229 | F 2 "" H 5900 4250 60 0000 C CNN 230 | F 3 "" H 5900 4250 60 0000 C CNN 231 | 1 5900 4250 232 | 0 -1 -1 0 233 | $EndComp 234 | $Comp 235 | L R R1 236 | U 1 1 563790C8 237 | P 5950 3350 238 | F 0 "R1" V 6030 3350 50 0000 C CNN 239 | F 1 "4k7" V 5950 3350 50 0000 C CNN 240 | F 2 "Resistors_SMD:R_1206_HandSoldering" V 5880 3350 30 0001 C CNN 241 | F 3 "" H 5950 3350 30 0000 C CNN 242 | 1 5950 3350 243 | 1 0 0 -1 244 | $EndComp 245 | $Comp 246 | L Earth #PWR010 247 | U 1 1 56379129 248 | P 5950 3500 249 | F 0 "#PWR010" H 5950 3250 50 0001 C CNN 250 | F 1 "Earth" H 5950 3350 50 0001 C CNN 251 | F 2 "" H 5950 3500 60 0000 C CNN 252 | F 3 "" H 5950 3500 60 0000 C CNN 253 | 1 5950 3500 254 | 1 0 0 -1 255 | $EndComp 256 | Wire Wire Line 257 | 5650 3100 6100 3100 258 | Connection ~ 5950 3100 259 | Text GLabel 5600 4350 0 60 Input ~ 0 260 | mega_io12_miso 261 | Text GLabel 5650 3100 0 60 Input ~ 0 262 | mega_io11_mosi 263 | $Comp 264 | L Q_NMOS_DGS Q1 265 | U 1 1 563796E1 266 | P 6300 3100 267 | F 0 "Q1" H 6600 3150 50 0000 R CNN 268 | F 1 "Q_NMOS_DGS" H 6950 3050 50 0000 R CNN 269 | F 2 "TO_SOT_Packages_SMD:SOT-223" H 6500 3200 29 0001 C CNN 270 | F 3 "" H 6300 3100 60 0000 C CNN 271 | 1 6300 3100 272 | 1 0 0 -1 273 | $EndComp 274 | NoConn ~ 5900 4450 275 | Wire Wire Line 276 | 5950 3200 5950 3100 277 | Wire Wire Line 278 | 5600 4350 5900 4350 279 | $Comp 280 | L R R4 281 | U 1 1 5638B618 282 | P 5650 4050 283 | F 0 "R4" V 5730 4050 50 0000 C CNN 284 | F 1 "4.7k" V 5650 4050 50 0000 C CNN 285 | F 2 "Resistors_SMD:R_1206_HandSoldering" V 5580 4050 30 0001 C CNN 286 | F 3 "" H 5650 4050 30 0000 C CNN 287 | 1 5650 4050 288 | 1 0 0 -1 289 | $EndComp 290 | Wire Wire Line 291 | 5650 4350 5650 4200 292 | Connection ~ 5650 4350 293 | $Comp 294 | L +5V #PWR011 295 | U 1 1 5638B696 296 | P 5650 3900 297 | F 0 "#PWR011" H 5650 3750 50 0001 C CNN 298 | F 1 "+5V" H 5650 4040 50 0000 C CNN 299 | F 2 "" H 5650 3900 60 0000 C CNN 300 | F 3 "" H 5650 3900 60 0000 C CNN 301 | 1 5650 3900 302 | 1 0 0 -1 303 | $EndComp 304 | $Comp 305 | L CP C1 306 | U 1 1 5638CC3D 307 | P 4100 2200 308 | F 0 "C1" H 4125 2300 50 0000 L CNN 309 | F 1 "4.7uf" H 4125 2100 50 0000 L CNN 310 | F 2 "Capacitors_SMD:c_elec_4x4.5" H 4138 2050 30 0001 C CNN 311 | F 3 "" H 4100 2200 60 0000 C CNN 312 | 1 4100 2200 313 | 1 0 0 -1 314 | $EndComp 315 | $Comp 316 | L +5V #PWR012 317 | U 1 1 5638CD4D 318 | P 4100 2050 319 | F 0 "#PWR012" H 4100 1900 50 0001 C CNN 320 | F 1 "+5V" H 4100 2190 50 0000 C CNN 321 | F 2 "" H 4100 2050 60 0000 C CNN 322 | F 3 "" H 4100 2050 60 0000 C CNN 323 | 1 4100 2050 324 | 1 0 0 -1 325 | $EndComp 326 | $Comp 327 | L Earth #PWR013 328 | U 1 1 5638CD7C 329 | P 4100 2350 330 | F 0 "#PWR013" H 4100 2100 50 0001 C CNN 331 | F 1 "Earth" H 4100 2200 50 0001 C CNN 332 | F 2 "" H 4100 2350 60 0000 C CNN 333 | F 3 "" H 4100 2350 60 0000 C CNN 334 | 1 4100 2350 335 | 1 0 0 -1 336 | $EndComp 337 | $Comp 338 | L CONN_01X04 P1 339 | U 1 1 5666EC7E 340 | P 8000 2300 341 | F 0 "P1" H 8000 2550 50 0000 C CNN 342 | F 1 "CONN_01X04" V 8100 2300 50 0000 C CNN 343 | F 2 "Pin_Headers:Pin_Header_Straight_1x04" H 8000 2300 60 0001 C CNN 344 | F 3 "" H 8000 2300 60 0000 C CNN 345 | 1 8000 2300 346 | 1 0 0 -1 347 | $EndComp 348 | Text GLabel 7700 2150 0 60 Input ~ 0 349 | mega_adc6 350 | Wire Wire Line 351 | 6400 2350 7800 2350 352 | Wire Wire Line 353 | 7700 2150 7800 2150 354 | NoConn ~ 7800 2250 355 | Wire Wire Line 356 | 6400 2350 6400 2900 357 | $Comp 358 | L +5V #PWR014 359 | U 1 1 5666EF98 360 | P 7800 2450 361 | F 0 "#PWR014" H 7800 2300 50 0001 C CNN 362 | F 1 "+5V" H 7800 2590 50 0000 C CNN 363 | F 2 "" H 7800 2450 60 0000 C CNN 364 | F 3 "" H 7800 2450 60 0000 C CNN 365 | 1 7800 2450 366 | 0 -1 -1 0 367 | $EndComp 368 | $EndSCHEMATC 369 | -------------------------------------------------------------------------------- /breadboard-psu/breadboard-psu.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:breadboard-psu-rescue 3 | LIBS:power 4 | LIBS:device 5 | LIBS:transistors 6 | LIBS:conn 7 | LIBS:linear 8 | LIBS:regul 9 | LIBS:74xx 10 | LIBS:cmos4000 11 | LIBS:adc-dac 12 | LIBS:memory 13 | LIBS:xilinx 14 | LIBS:microcontrollers 15 | LIBS:dsp 16 | LIBS:microchip 17 | LIBS:analog_switches 18 | LIBS:motorola 19 | LIBS:texas 20 | LIBS:intel 21 | LIBS:audio 22 | LIBS:interface 23 | LIBS:digital-audio 24 | LIBS:philips 25 | LIBS:display 26 | LIBS:cypress 27 | LIBS:siliconi 28 | LIBS:opto 29 | LIBS:atmel 30 | LIBS:contrib 31 | LIBS:valves 32 | LIBS:breadboard-psu-cache 33 | EELAYER 25 0 34 | EELAYER END 35 | $Descr A4 11693 8268 36 | encoding utf-8 37 | Sheet 1 1 38 | Title "" 39 | Date "" 40 | Rev "" 41 | Comp "" 42 | Comment1 "" 43 | Comment2 "" 44 | Comment3 "" 45 | Comment4 "" 46 | $EndDescr 47 | $Comp 48 | L AP1117D33 U1 49 | U 1 1 55FA9D64 50 | P 4550 2650 51 | F 0 "U1" H 4650 2400 50 0000 C CNN 52 | F 1 "AP1117D33" H 4550 2900 50 0000 C CNN 53 | F 2 "Power_Integrations:TO-220" H 4550 2650 60 0001 C CNN 54 | F 3 "" H 4550 2650 60 0000 C CNN 55 | 1 4550 2650 56 | 1 0 0 -1 57 | $EndComp 58 | $Comp 59 | L GND #PWR01 60 | U 1 1 55FA9D6B 61 | P 4550 3250 62 | F 0 "#PWR01" H 4550 3000 50 0001 C CNN 63 | F 1 "GND" H 4550 3100 50 0000 C CNN 64 | F 2 "" H 4550 3250 60 0000 C CNN 65 | F 3 "" H 4550 3250 60 0000 C CNN 66 | 1 4550 3250 67 | 1 0 0 -1 68 | $EndComp 69 | $Comp 70 | L +3.3V #PWR02 71 | U 1 1 55FA9D71 72 | P 6600 2650 73 | F 0 "#PWR02" H 6600 2500 50 0001 C CNN 74 | F 1 "+3.3V" H 6600 2790 50 0000 C CNN 75 | F 2 "" H 6600 2650 60 0000 C CNN 76 | F 3 "" H 6600 2650 60 0000 C CNN 77 | 1 6600 2650 78 | 0 1 1 0 79 | $EndComp 80 | $Comp 81 | L +5V #PWR03 82 | U 1 1 55FA9D77 83 | P 3800 2650 84 | F 0 "#PWR03" H 3800 2500 50 0001 C CNN 85 | F 1 "+5V" H 3800 2790 50 0000 C CNN 86 | F 2 "" H 3800 2650 60 0000 C CNN 87 | F 3 "" H 3800 2650 60 0000 C CNN 88 | 1 3800 2650 89 | 0 -1 -1 0 90 | $EndComp 91 | Wire Wire Line 92 | 4850 2650 6600 2650 93 | Wire Wire Line 94 | 4550 2950 4550 3250 95 | Wire Wire Line 96 | 3800 2650 4250 2650 97 | $Comp 98 | L PWR_FLAG #FLG04 99 | U 1 1 55FA9D86 100 | P 4900 3400 101 | F 0 "#FLG04" H 4900 3495 50 0001 C CNN 102 | F 1 "PWR_FLAG" H 4900 3580 50 0000 C CNN 103 | F 2 "" H 4900 3400 60 0000 C CNN 104 | F 3 "" H 4900 3400 60 0000 C CNN 105 | 1 4900 3400 106 | 0 1 1 0 107 | $EndComp 108 | Wire Wire Line 109 | 4900 2950 4900 3400 110 | Wire Wire Line 111 | 4900 2950 4550 2950 112 | Connection ~ 4550 2950 113 | Connection ~ 5300 2650 114 | Connection ~ 4100 2650 115 | $Comp 116 | L CP C1 117 | U 1 1 55FA9D91 118 | P 3950 2800 119 | F 0 "C1" H 3975 2900 50 0000 L CNN 120 | F 1 "10uf" H 3975 2700 50 0000 L CNN 121 | F 2 "Capacitors_Elko_ThroughHole:Elko_vert_11.2x6.3mm_RM2.5" H 3988 2650 30 0001 C CNN 122 | F 3 "" H 3950 2800 60 0000 C CNN 123 | 1 3950 2800 124 | 1 0 0 -1 125 | $EndComp 126 | $Comp 127 | L CP C2 128 | U 1 1 55FA9D98 129 | P 5300 2800 130 | F 0 "C2" H 5325 2900 50 0000 L CNN 131 | F 1 "10uf" H 5325 2700 50 0000 L CNN 132 | F 2 "Capacitors_Elko_ThroughHole:Elko_vert_11.2x6.3mm_RM2.5" H 5338 2650 30 0001 C CNN 133 | F 3 "" H 5300 2800 60 0000 C CNN 134 | 1 5300 2800 135 | 1 0 0 -1 136 | $EndComp 137 | $Comp 138 | L GND #PWR05 139 | U 1 1 55FA9D9F 140 | P 3950 2950 141 | F 0 "#PWR05" H 3950 2700 50 0001 C CNN 142 | F 1 "GND" H 3950 2800 50 0000 C CNN 143 | F 2 "" H 3950 2950 60 0000 C CNN 144 | F 3 "" H 3950 2950 60 0000 C CNN 145 | 1 3950 2950 146 | 1 0 0 -1 147 | $EndComp 148 | $Comp 149 | L GND #PWR06 150 | U 1 1 55FA9DA5 151 | P 5300 2950 152 | F 0 "#PWR06" H 5300 2700 50 0001 C CNN 153 | F 1 "GND" H 5300 2800 50 0000 C CNN 154 | F 2 "" H 5300 2950 60 0000 C CNN 155 | F 3 "" H 5300 2950 60 0000 C CNN 156 | 1 5300 2950 157 | 1 0 0 -1 158 | $EndComp 159 | $Comp 160 | L C C3 161 | U 1 1 55FA9DAB 162 | P 5700 2800 163 | F 0 "C3" H 5725 2900 50 0000 L CNN 164 | F 1 "0.1uf" H 5725 2700 50 0000 L CNN 165 | F 2 "Capacitors_ThroughHole:C_Rect_L4_W2.5_P2.5" H 5738 2650 30 0001 C CNN 166 | F 3 "" H 5700 2800 60 0000 C CNN 167 | 1 5700 2800 168 | 1 0 0 -1 169 | $EndComp 170 | $Comp 171 | L GND #PWR07 172 | U 1 1 55FA9DB2 173 | P 5700 2950 174 | F 0 "#PWR07" H 5700 2700 50 0001 C CNN 175 | F 1 "GND" H 5700 2800 50 0000 C CNN 176 | F 2 "" H 5700 2950 60 0000 C CNN 177 | F 3 "" H 5700 2950 60 0000 C CNN 178 | 1 5700 2950 179 | 1 0 0 -1 180 | $EndComp 181 | Connection ~ 3950 2650 182 | Connection ~ 5700 2650 183 | $Comp 184 | L BARREL_JACK CON1 185 | U 1 1 55FAA4F6 186 | P 3800 4150 187 | F 0 "CON1" H 3800 4400 60 0000 C CNN 188 | F 1 "BARREL_JACK" H 3800 3950 60 0000 C CNN 189 | F 2 "matt:BARREL_JACK" H 3800 4150 60 0001 C CNN 190 | F 3 "" H 3800 4150 60 0000 C CNN 191 | 1 3800 4150 192 | 1 0 0 -1 193 | $EndComp 194 | $Comp 195 | L GND #PWR08 196 | U 1 1 55FAA56E 197 | P 4300 4250 198 | F 0 "#PWR08" H 4300 4000 50 0001 C CNN 199 | F 1 "GND" H 4300 4100 50 0000 C CNN 200 | F 2 "" H 4300 4250 60 0000 C CNN 201 | F 3 "" H 4300 4250 60 0000 C CNN 202 | 1 4300 4250 203 | 1 0 0 -1 204 | $EndComp 205 | $Comp 206 | L +5V #PWR09 207 | U 1 1 55FAA5D9 208 | P 4450 4050 209 | F 0 "#PWR09" H 4450 3900 50 0001 C CNN 210 | F 1 "+5V" H 4450 4190 50 0000 C CNN 211 | F 2 "" H 4450 4050 60 0000 C CNN 212 | F 3 "" H 4450 4050 60 0000 C CNN 213 | 1 4450 4050 214 | 1 0 0 -1 215 | $EndComp 216 | Wire Wire Line 217 | 4100 4050 4450 4050 218 | Wire Wire Line 219 | 4100 4250 4300 4250 220 | $Comp 221 | L CONN_01X02 P4 222 | U 1 1 55FAA618 223 | P 6800 4000 224 | F 0 "P4" H 6800 4150 50 0000 C CNN 225 | F 1 "+" V 6900 4000 50 0000 C CNN 226 | F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 6800 4000 60 0001 C CNN 227 | F 3 "" H 6800 4000 60 0000 C CNN 228 | 1 6800 4000 229 | 1 0 0 -1 230 | $EndComp 231 | $Comp 232 | L +3.3V #PWR010 233 | U 1 1 55FAA6BE 234 | P 6450 3950 235 | F 0 "#PWR010" H 6450 3800 50 0001 C CNN 236 | F 1 "+3.3V" H 6450 4090 50 0000 C CNN 237 | F 2 "" H 6450 3950 60 0000 C CNN 238 | F 3 "" H 6450 3950 60 0000 C CNN 239 | 1 6450 3950 240 | 1 0 0 -1 241 | $EndComp 242 | Wire Wire Line 243 | 6450 3950 6600 3950 244 | Wire Wire Line 245 | 6450 4050 6600 4050 246 | $Comp 247 | L CONN_01X02 P1 248 | U 1 1 55FAA8C5 249 | P 5550 4000 250 | F 0 "P1" H 5550 4150 50 0000 C CNN 251 | F 1 "+" V 5650 4000 50 0000 C CNN 252 | F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 5550 4000 60 0001 C CNN 253 | F 3 "" H 5550 4000 60 0000 C CNN 254 | 1 5550 4000 255 | 1 0 0 -1 256 | $EndComp 257 | $Comp 258 | L +3.3V #PWR011 259 | U 1 1 55FAA8D1 260 | P 5200 3950 261 | F 0 "#PWR011" H 5200 3800 50 0001 C CNN 262 | F 1 "+3.3V" H 5200 4090 50 0000 C CNN 263 | F 2 "" H 5200 3950 60 0000 C CNN 264 | F 3 "" H 5200 3950 60 0000 C CNN 265 | 1 5200 3950 266 | 1 0 0 -1 267 | $EndComp 268 | Wire Wire Line 269 | 5200 3950 5350 3950 270 | $Comp 271 | L CONN_01X02 P3 272 | U 1 1 55FAA9C6 273 | P 6750 4850 274 | F 0 "P3" H 6750 5000 50 0000 C CNN 275 | F 1 "-" V 6850 4850 50 0000 C CNN 276 | F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 6750 4850 60 0001 C CNN 277 | F 3 "" H 6750 4850 60 0000 C CNN 278 | 1 6750 4850 279 | 1 0 0 -1 280 | $EndComp 281 | $Comp 282 | L GND #PWR012 283 | U 1 1 55FAA9CC 284 | P 6400 4900 285 | F 0 "#PWR012" H 6400 4650 50 0001 C CNN 286 | F 1 "GND" H 6400 4750 50 0000 C CNN 287 | F 2 "" H 6400 4900 60 0000 C CNN 288 | F 3 "" H 6400 4900 60 0000 C CNN 289 | 1 6400 4900 290 | 1 0 0 -1 291 | $EndComp 292 | Wire Wire Line 293 | 6400 4800 6550 4800 294 | Wire Wire Line 295 | 6400 4900 6550 4900 296 | $Comp 297 | L CONN_01X02 P2 298 | U 1 1 55FAAA47 299 | P 5550 4750 300 | F 0 "P2" H 5550 4900 50 0000 C CNN 301 | F 1 "-" V 5650 4750 50 0000 C CNN 302 | F 2 "Pin_Headers:Pin_Header_Straight_1x02" H 5550 4750 60 0001 C CNN 303 | F 3 "" H 5550 4750 60 0000 C CNN 304 | 1 5550 4750 305 | 1 0 0 -1 306 | $EndComp 307 | $Comp 308 | L GND #PWR013 309 | U 1 1 55FAAA4D 310 | P 5200 4800 311 | F 0 "#PWR013" H 5200 4550 50 0001 C CNN 312 | F 1 "GND" H 5200 4650 50 0000 C CNN 313 | F 2 "" H 5200 4800 60 0000 C CNN 314 | F 3 "" H 5200 4800 60 0000 C CNN 315 | 1 5200 4800 316 | 1 0 0 -1 317 | $EndComp 318 | Wire Wire Line 319 | 5200 4700 5350 4700 320 | Wire Wire Line 321 | 5200 4800 5350 4800 322 | $Comp 323 | L LED D1 324 | U 1 1 55FAAAAE 325 | P 6150 2850 326 | F 0 "D1" H 6150 2950 50 0000 C CNN 327 | F 1 "LED" H 6150 2750 50 0000 C CNN 328 | F 2 "LEDs:LED-5MM" H 6150 2850 60 0001 C CNN 329 | F 3 "" H 6150 2850 60 0000 C CNN 330 | 1 6150 2850 331 | 0 -1 -1 0 332 | $EndComp 333 | $Comp 334 | L GND #PWR014 335 | U 1 1 55FAABB5 336 | P 6150 3350 337 | F 0 "#PWR014" H 6150 3100 50 0001 C CNN 338 | F 1 "GND" H 6150 3200 50 0000 C CNN 339 | F 2 "" H 6150 3350 60 0000 C CNN 340 | F 3 "" H 6150 3350 60 0000 C CNN 341 | 1 6150 3350 342 | 1 0 0 -1 343 | $EndComp 344 | $Comp 345 | L R R1 346 | U 1 1 55FAABD6 347 | P 6150 3200 348 | F 0 "R1" V 6230 3200 50 0000 C CNN 349 | F 1 "200R" V 6150 3200 50 0000 C CNN 350 | F 2 "Resistors_ThroughHole:Resistor_Horizontal_RM15mm" V 6080 3200 30 0001 C CNN 351 | F 3 "" H 6150 3200 30 0000 C CNN 352 | 1 6150 3200 353 | 1 0 0 -1 354 | $EndComp 355 | NoConn ~ 4100 4150 356 | Connection ~ 6150 2650 357 | Connection ~ 6400 2650 358 | $Comp 359 | L PWR_FLAG #FLG015 360 | U 1 1 55FAAFB9 361 | P 4100 2650 362 | F 0 "#FLG015" H 4100 2745 50 0001 C CNN 363 | F 1 "PWR_FLAG" H 4100 2830 50 0000 C CNN 364 | F 2 "" H 4100 2650 60 0000 C CNN 365 | F 3 "" H 4100 2650 60 0000 C CNN 366 | 1 4100 2650 367 | 1 0 0 -1 368 | $EndComp 369 | Wire Wire Line 370 | 5350 3950 5350 4050 371 | Wire Wire Line 372 | 6450 4050 6450 3950 373 | Wire Wire Line 374 | 6400 4800 6400 4900 375 | Wire Wire Line 376 | 5200 4700 5200 4800 377 | $EndSCHEMATC 378 | -------------------------------------------------------------------------------- /scripts/export_pcb.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | import pcbnew 3 | import argparse 4 | import datetime 5 | import subprocess 6 | import os 7 | 8 | from pcbnew import TEXTE_MODULE, TEXTE_PCB, EDA_TEXT, FromMM, ToMM 9 | from configparser import ConfigParser, NoSectionError 10 | 11 | """ 12 | good resources: 13 | 14 | * http://ci.kicad-pcb.org/job/kicad-doxygen/ws/build/pcbnew/doxygen-python/html/index.html 15 | * https://kicad.mmccoo.com/2017/02/01/the-basics-of-scripting-in-pcbnew/ 16 | 17 | """ 18 | 19 | def zip_it(): 20 | date_stamp = datetime.datetime.today().strftime('%Y-%m-%d') 21 | zip_name = "%s-%s-fab.zip" % (get_board_name(), date_stamp) 22 | # delete it if already exists 23 | if os.path.exists(zip_name): 24 | os.remove(zip_name) 25 | os.system("zip -r %s %s" % (zip_name, args.output_dir)) 26 | print("zipped to %s" % zip_name) 27 | 28 | def get_board_name(): 29 | return args.board.replace('.kicad_pcb','') 30 | 31 | def get_nice_name(): 32 | return config.get('meta', 'name') 33 | 34 | def calculate_size(brd): 35 | # older kicad is brd.GetBoundingBox() 36 | bb = brd.GetBoardEdgesBoundingBox() 37 | w = bb.GetWidth() 38 | h = bb.GetHeight() 39 | return round(ToMM(w),1),round(ToMM(h),1) 40 | 41 | def export_step(): 42 | script_dir = os.path.dirname(os.path.abspath(__file__)) 43 | # launch freecad to generate step file: 44 | # os.system("freecad %s/kicad-StepUp-tools.FCMacro %s" % (script_dir, get_board_name())) 45 | # now change the step assembly name, 46 | os.system("sed -i 's/Pcb/%s/g' %s" % (get_nice_name(), get_board_name() + ".step")) 47 | 48 | # rename the file 49 | date_stamp = datetime.datetime.today().strftime('%Y-%m-%d') 50 | new_name = date_stamp + "-" + get_nice_name() + ".step" 51 | os.system("mv %s %s" % (get_board_name() + ".step", new_name)) 52 | 53 | # and zip it with the date 54 | zip_name = new_name + ".zip" 55 | os.system("zip %s %s" % (zip_name, new_name)) 56 | 57 | 58 | def get_git_version(): 59 | git_version = subprocess.check_output(['git', 'log', '--pretty=format:%h', '-n', '1']).decode('utf-8') 60 | return git_version 61 | 62 | def write_overview(brd): 63 | out_name = get_board_name() 64 | filename = args.output_dir + "/" + out_name + ".md" 65 | log = open(filename, 'w') 66 | try: 67 | log.write("\ ![logo](%s)\n\n" % config.get('logo', 'logo')) 68 | except NoSectionError: 69 | pass 70 | 71 | log.write("# PCB layout for %s\n\n" % get_nice_name()) 72 | log.write("\ ![overview](%s/%s-overview.png)\n\n" % (args.output_dir, out_name)) 73 | 74 | log.write("# Configuration\n\n") 75 | log.write("* %.1f x %.1fmm\n" % calculate_size(brd)) 76 | log.write("* %s mm FR4, %s silkscreen, %s mask\n" % (config.get('board', 'thickness'), config.get('board', 'silk_color'), config.get('board', 'mask_color'))) 77 | log.write("* %s layers, %s copper\n" % (config.get('board', 'layers'), config.get('board', 'copper'))) 78 | if (config.get('board', 'layers') == '4'): 79 | log.write(""" * layer stackup: 80 | 1. CuTop 81 | 2. CuLayer2 82 | 3. CuLayer3 83 | 4. CuBottom\n""") 84 | log.write("* generated on %s, git version %s\n" % (datetime.datetime.today(), get_git_version())) 85 | 86 | log.close() 87 | 88 | def convert_to_pdf(): 89 | print("generate pdf") 90 | out_name = get_board_name() 91 | filename = args.output_dir + "/" + out_name + ".md" 92 | os.system("pandoc %s -o %s" % (filename, args.output_dir + "/" + out_name + ".pdf")) 93 | #os.remove("%s/%s-overview.png" % (args.output_dir, out_name)) # remove the png after making the pdf 94 | #os.remove(filename) # remove the markdown file 95 | 96 | # options taken mostly from https://github.com/blairbonnett-mirrors/kicad/blob/master/demos/python_scripts_examples/plot_board.py 97 | def plot(brd, args): 98 | pctl = pcbnew.PLOT_CONTROLLER(brd) 99 | popt = pctl.GetPlotOptions() 100 | popt.SetOutputDirectory(args.output_dir) 101 | 102 | # Set some important plot options: 103 | popt.SetPlotFrameRef(False) 104 | popt.SetLineWidth(pcbnew.FromMM(0.05)) 105 | 106 | popt.SetAutoScale(False) 107 | popt.SetScale(1) 108 | popt.SetMirror(False) 109 | popt.SetUseGerberAttributes(True) 110 | popt.SetExcludeEdgeLayer(True) 111 | popt.SetUseGerberProtelExtensions(True) # instead of .gbr use protel extensions 112 | if args.values: 113 | popt.SetPlotReference(False) 114 | popt.SetPlotValue(True) 115 | else: 116 | popt.SetPlotReference(True) 117 | popt.SetPlotValue(False) 118 | 119 | # popt.SetUseAuxOrigin(True) 120 | 121 | # This by gerbers only (also the name is truly horrid!) - what is this? 122 | popt.SetSubtractMaskFromSilk(False) 123 | 124 | pctl.SetColorMode(True) 125 | plot_plan = [ 126 | # filename layer description outline svg gerb 127 | ( "MaskBottom", pcbnew.B_Mask, "Mask bottom", True, False, True ), 128 | ( "MaskTop", pcbnew.F_Mask, "Mask top", True, True, True ), 129 | ( "CuBottom", pcbnew.B_Cu, "Bottom layer", True, True, True ), 130 | ( "CuTop", pcbnew.F_Cu, "Top layer", True, True, True ), 131 | ( "SilkTop", pcbnew.F_SilkS, "Silk top", False, True, True ), 132 | ( "SilkBottom", pcbnew.B_SilkS, "Silk bottom", False, False, True ), 133 | ( "PasteTop", pcbnew.F_Paste, "Paste top", False, False, True ), 134 | ( "PasteBottom", pcbnew.B_Paste, "Paste bottom", False, False, True ), 135 | ( "EdgeCuts", pcbnew.Edge_Cuts, "Edges", False, True, True ), 136 | ( "User", pcbnew.Cmts_User, "User", False, True, False ), 137 | ] 138 | 139 | if config.get('board', 'layers') == '4': 140 | plot_plan += [ 141 | ( "CuLayer2", pcbnew.In1_Cu, "Layer 2", True, True, True ), 142 | ( "CuLayer3", pcbnew.In2_Cu, "Layer 3", True, True, True ) ] 143 | 144 | # https://github.com/KiCad/kicad-source-mirror/blob/0af5695e51733445c0f246eb688c98201601cd76/pcbnew/plot_board_layers.cpp#L226 145 | for layer_info in plot_plan: 146 | print(layer_info) 147 | pctl.SetLayer(layer_info[1]) 148 | popt.SetUseGerberAttributes(False) # gerbv lists lots of errors if this is True 149 | if layer_info[5]: 150 | pctl.OpenPlotfile(layer_info[0], pcbnew.PLOT_FORMAT_GERBER, layer_info[2]) 151 | pctl.PlotLayer() 152 | 153 | # drill 154 | # https://github.com/KiCad/kicad-source-mirror/blob/afe92c7bfc9d02d551b2cfa675e73d18b956f010/pcbnew/dialogs/dialog_gendrill.cpp#L403 155 | drill = pcbnew.EXCELLON_WRITER(brd) 156 | # older kicad doesn't know about MergeOption 157 | drill.SetMergeOption(True) 158 | drill.SetFormat(True, drill.DECIMAL_FORMAT, 0, 0) 159 | drill.CreateDrillandMapFilesSet(args.output_dir, True, False) 160 | 161 | # make an SVG overview 162 | pctl.OpenPlotfile("overview", pcbnew.PLOT_FORMAT_SVG, "Overview") 163 | pctl.SetColorMode(True) 164 | for layer_info in plot_plan: 165 | pctl.SetLayer(layer_info[1]) 166 | if layer_info[4]: 167 | pctl.PlotLayer() 168 | 169 | pctl.ClosePlot() 170 | 171 | out_name = get_board_name() 172 | print("convert svg to png") 173 | os.system("inkscape -f %s/%s-overview.svg -z --export-dpi=%d --export-area-drawing --export-png=%s/%s-overview.png" % (args.output_dir, out_name, args.dpi, args.output_dir, out_name)) 174 | os.remove("%s/%s-overview.svg" % (args.output_dir, out_name)) # remove the svg as it's quite big 175 | 176 | 177 | if __name__ == '__main__': 178 | 179 | auto_board = None 180 | for file in os.listdir("."): 181 | if file.endswith(".kicad_pcb"): 182 | auto_board = file 183 | print("auto detected pcb file %s" % auto_board) 184 | 185 | parser = argparse.ArgumentParser(description="export board gerbers, create overview pdf, zip") 186 | parser.add_argument('--output-dir', default='auto-fab', help="where to create files") 187 | parser.add_argument('--board', default=auto_board, help="board file") 188 | parser.add_argument('--config', default='config.rc', help="config") 189 | parser.add_argument('--no-pdf', action='store_true', help="don't generate pdf") 190 | parser.add_argument('--values', action='store_true', help="plot values instead of refs") 191 | parser.add_argument('--export-step', action='store_true', help="use freecad stepup macro to export step") 192 | parser.add_argument('--dpi', default=300, help="resolution of overview image") 193 | 194 | args = parser.parse_args() 195 | config = ConfigParser() 196 | config.read(args.config) 197 | 198 | if args.board is None: 199 | exit("couldn't find board automatically, please use --board to choose") 200 | 201 | if os.path.exists(args.output_dir): 202 | exit("path already exists: %s" % args.output_dir) 203 | else: 204 | os.makedirs(args.output_dir) 205 | 206 | brd = pcbnew.LoadBoard(args.board) 207 | 208 | # update git version 209 | for draw in brd.GetDrawings(): 210 | if isinstance(draw, pcbnew.TEXTE_PCB): 211 | if draw.GetText().startswith("$ver$"): 212 | print("found $ver$ marker") 213 | draw.SetText( "%s %s" % (get_git_version(), datetime.date.today() )) 214 | 215 | if isinstance(draw, pcbnew.TEXTE_PCB): 216 | if draw.GetText().startswith("$git$"): 217 | print("found $git$ marker") 218 | draw.SetText( "%s" % (get_git_version())) 219 | 220 | if isinstance(draw, pcbnew.TEXTE_PCB): 221 | if draw.GetText().startswith("$date$"): 222 | print("found $date$ marker") 223 | draw.SetText( "%s" % (datetime.date.today())) 224 | 225 | plot(brd, args) 226 | write_overview(brd) 227 | if args.no_pdf: 228 | convert_to_pdf() 229 | zip_it() 230 | 231 | if args.export_step: 232 | export_step() 233 | 234 | print("done") 235 | --------------------------------------------------------------------------------