From 79502ed4910464fec707c8ae6309edf0059a8e1d Mon Sep 17 00:00:00 2001 From: chibiegg Date: Sun, 2 Jul 2017 22:26:01 +0900 Subject: [PATCH] for KiCad --- .gitignore | 2 + README.md | 1 + kicad/sakuraio.dcm | 15 ++++ kicad/sakuraio.lib | 90 ++++++++++++++++++++++++ kicad/sakuraio.pretty/SCM-DF40.kicad_mod | 69 ++++++++++++++++++ kicad/sakuraio.pretty/SCO-BB.kicad_mod | 48 +++++++++++++ 6 files changed, 225 insertions(+) create mode 100644 kicad/sakuraio.dcm create mode 100644 kicad/sakuraio.lib create mode 100644 kicad/sakuraio.pretty/SCM-DF40.kicad_mod create mode 100644 kicad/sakuraio.pretty/SCO-BB.kicad_mod diff --git a/.gitignore b/.gitignore index 4c4d49d..234ee9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ eagle/*.l#* +kicad/*.bak +kicad/*.bck diff --git a/README.md b/README.md index b260e59..e038b44 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ ## Applications * [CadSoft Eagle](https://cadsoft.io/) +* [KiCad](http://kicad-pcb.org/) diff --git a/kicad/sakuraio.dcm b/kicad/sakuraio.dcm new file mode 100644 index 0000000..e99fe76 --- /dev/null +++ b/kicad/sakuraio.dcm @@ -0,0 +1,15 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP SCM-DF40 +D sakura.io Communication Module +K sakura.io +F https://sakura.io/developer/pdf/sakura_module_datasheet_latest.pdf +$ENDCMP +# +$CMP SCO-BB +D sakura.io Breakout Board +K sakura.io +F https://sakura.io/developer/pdf/sco-bb-01_manual_latest.pdf +$ENDCMP +# +#End Doc Library diff --git a/kicad/sakuraio.lib b/kicad/sakuraio.lib new file mode 100644 index 0000000..701a87f --- /dev/null +++ b/kicad/sakuraio.lib @@ -0,0 +1,90 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# SCM-DF40 +# +DEF SCM-DF40 CN 0 40 Y Y 1 F N +F0 "CN" 0 2150 60 H V L CNN +F1 "SCM-DF40" 350 -50 60 H V C CNN +F2 "" 0 -250 60 H I C CNN +F3 "" 0 -250 60 H I C CNN +$FPLIST + SCM-DF40 +$ENDFPLIST +DRAW +S 0 0 750 2100 0 1 0 f +X GND0 1 -200 1450 200 R 50 50 1 1 W +X UART_TX 2 950 1850 200 L 50 50 1 1 O +X UART_RX 3 950 1750 200 L 50 50 1 1 I +X GND1 4 -200 1350 200 R 50 50 1 1 W +X SDA 5 950 1550 200 L 50 50 1 1 B +X SCL 6 950 1450 200 L 50 50 1 1 B +X GND2 7 -200 1250 200 R 50 50 1 1 W +X MOSI 8 950 1250 200 L 50 50 1 1 I +X MISO 9 950 1150 200 L 50 50 1 1 O +X CLK 10 950 1050 200 L 50 50 1 1 I C +X LED_OUT 20 950 450 200 L 50 50 1 1 O +X GND11 40 -200 350 200 R 50 50 1 1 W +X GND14 50 -200 50 200 R 50 50 1 1 W +X CS 11 950 950 200 L 50 50 1 1 I I +X MODE_IN 21 950 350 200 L 50 50 1 1 I +X GND12 41 -200 250 200 R 50 50 1 1 W +X GND3 12 -200 1150 200 R 50 50 1 1 W +X WAKE_IN 22 950 250 200 L 50 50 1 1 I +X GND8 32 -200 650 200 R 50 50 1 1 W +X GND13 42 -200 150 200 R 50 50 1 1 W +X ADC_IN1 13 950 750 200 L 50 50 1 1 I X +X WAKE_OUT 23 950 150 200 L 50 50 1 1 O +X ADC_IN2 14 950 650 200 L 50 50 1 1 I X +X RESET 24 950 50 200 L 50 50 1 1 O I +X VIN0 44 -200 2050 200 R 50 50 1 1 W +X GND4 15 -200 1050 200 R 50 50 1 1 W +X GND6 25 -200 850 200 R 50 50 1 1 W +X VIN1 45 -200 1950 200 R 50 50 1 1 W +X GND7 26 -200 750 200 R 50 50 1 1 W +X VIN2 46 -200 1850 200 R 50 50 1 1 W +X VIN3 47 -200 1750 200 R 50 50 1 1 W +X GND9 38 -200 550 200 R 50 50 1 1 W +X VIN4 48 -200 1650 200 R 50 50 1 1 W +X GND5 19 -200 950 200 R 50 50 1 1 W +X LDO_OUT 29 950 2050 200 L 50 50 1 1 w +X GND10 39 -200 450 200 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +# SCO-BB +# +DEF SCO-BB U 0 40 Y Y 1 F N +F0 "U" 0 2150 60 H V L CNN +F1 "SCO-BB" 350 -50 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +$FPLIST + SCO-BB +$ENDFPLIST +DRAW +S 0 0 800 2100 0 1 0 f +X RESET 1 1000 50 200 L 50 50 1 1 I I +X GND0 2 -200 150 200 R 50 50 1 1 W +X MODE_IN 3 1000 350 200 L 50 50 1 1 I +X LED_OUT 4 1000 450 200 L 50 50 1 1 O +X WAKE_OUT 5 1000 150 200 L 50 50 1 1 O +X WAKE_IN 6 1000 250 200 L 50 50 1 1 I +X ADC_IN2 7 1000 650 200 L 50 50 1 1 I X +X ADC_IN1 8 1000 750 200 L 50 50 1 1 I X +X LDO_OUT 9 1000 2050 200 L 50 50 1 1 w +X 3V9 10 -200 1850 200 R 50 50 1 1 W +X VIN 20 -200 2050 200 R 50 50 1 1 W +X UART_TX 11 1000 1850 200 L 50 50 1 1 O +X UART_RX 12 1000 1750 200 L 50 50 1 1 I +X MOSI 13 1000 1250 200 L 50 50 1 1 I +X MISO 14 1000 1150 200 L 50 50 1 1 O +X CLK 15 1000 1050 200 L 50 50 1 1 I C +X CS 16 1000 950 200 L 50 50 1 1 I I +X SDA 17 1000 1550 200 L 50 50 1 1 B +X SCL 18 1000 1450 200 L 50 50 1 1 B +X GND1 19 -200 50 200 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +#End Library diff --git a/kicad/sakuraio.pretty/SCM-DF40.kicad_mod b/kicad/sakuraio.pretty/SCM-DF40.kicad_mod new file mode 100644 index 0000000..4e17c47 --- /dev/null +++ b/kicad/sakuraio.pretty/SCM-DF40.kicad_mod @@ -0,0 +1,69 @@ +(module SCM-DF40 (layer F.Cu) (tedit 5958F074) + (fp_text reference REF** (at 0 -18) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value SCM-DF40 (at 0 18.2) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_circle (center -2.2 5.4) (end -2 5.4) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.47 -6.3) (end 1.47 -6.3) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.47 -5.2) (end -1.47 -6.3) (layer F.SilkS) (width 0.15)) + (fp_line (start 1.47 -5.2) (end 1.47 -6.3) (layer F.SilkS) (width 0.15)) + (fp_line (start 1.47 6.3) (end 1.47 5.2) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.47 6.3) (end -1.47 5.2) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.47 6.3) (end 1.47 6.3) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.5 17) (end 3.5 -17) (layer F.SilkS) (width 0.15)) + (fp_line (start 3.5 17) (end -42.5 17) (layer F.SilkS) (width 0.15)) + (fp_line (start -42.5 17) (end -42.5 -17) (layer F.SilkS) (width 0.15)) + (fp_line (start -42.5 -17) (end 3.5 -17) (layer F.SilkS) (width 0.15)) + (pad 3 smd rect (at -1.54 4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 4 smd rect (at -1.54 3.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 5 smd rect (at -1.54 3.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 6 smd rect (at -1.54 2.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 7 smd rect (at -1.54 2.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 8 smd rect (at -1.54 2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 9 smd rect (at -1.54 1.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 10 smd rect (at -1.54 1.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 11 smd rect (at -1.54 0.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 12 smd rect (at -1.54 0.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 13 smd rect (at -1.54 0) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 14 smd rect (at -1.54 -0.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 15 smd rect (at -1.54 -0.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 16 smd rect (at -1.54 -1.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 17 smd rect (at -1.54 -1.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 18 smd rect (at -1.54 -2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 19 smd rect (at -1.54 -2.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 20 smd rect (at -1.54 -2.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 26 smd rect (at 1.54 -4.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 27 smd rect (at 1.54 -4.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 28 smd rect (at 1.54 -4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 29 smd rect (at 1.54 -3.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 30 smd rect (at 1.54 -3.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 31 smd rect (at 1.54 -2.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 32 smd rect (at 1.54 -2.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 33 smd rect (at 1.54 -2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 34 smd rect (at 1.54 -1.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 35 smd rect (at 1.54 -1.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 36 smd rect (at 1.54 -0.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 37 smd rect (at 1.54 -0.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 38 smd rect (at 1.54 0) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 39 smd rect (at 1.54 0.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 40 smd rect (at 1.54 0.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at -1.54 4.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 1 smd rect (at -1.54 4.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 21 smd rect (at -1.54 -3.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 22 smd rect (at -1.54 -3.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 23 smd rect (at -1.54 -4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 24 smd rect (at -1.54 -4.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 25 smd rect (at -1.54 -4.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 41 smd rect (at 1.54 1.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 42 smd rect (at 1.54 1.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 43 smd rect (at 1.54 2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 44 smd rect (at 1.54 2.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 45 smd rect (at 1.54 2.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 46 smd rect (at 1.54 3.2) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 47 smd rect (at 1.54 3.6) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 48 smd rect (at 1.54 4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 49 smd rect (at 1.54 4.4) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) + (pad 50 smd rect (at 1.54 4.8) (size 0.7 0.2) (layers F.Cu F.Paste F.Mask)) +) diff --git a/kicad/sakuraio.pretty/SCO-BB.kicad_mod b/kicad/sakuraio.pretty/SCO-BB.kicad_mod new file mode 100644 index 0000000..079b0c9 --- /dev/null +++ b/kicad/sakuraio.pretty/SCO-BB.kicad_mod @@ -0,0 +1,48 @@ +(module SCO-BB (layer F.Cu) (tedit 59590A20) + (fp_text reference REF** (at 0 38) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value SCO-BB (at 0 -15) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user 11 (at 50.8 22.86) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user 20 (at 50.8 0) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user 10 (at 2.54 22.86) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user 1 (at 2.54 0) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 56.67 36.43) (end 56.67 -13.57) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.33 36.43) (end -3.33 -13.57) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.33 36.43) (end 56.67 36.43) (layer F.SilkS) (width 0.15)) + (fp_line (start -3.33 -13.57) (end 56.67 -13.57) (layer F.SilkS) (width 0.15)) + (pad "" np_thru_hole circle (at -0.83 33.93) (size 3.5 3.5) (drill 2.8) (layers *.Cu *.Mask)) + (pad "" np_thru_hole circle (at 54.17 33.93) (size 3.5 3.5) (drill 2.8) (layers *.Cu *.Mask)) + (pad "" np_thru_hole circle (at 54.17 -11.07) (size 3.5 3.5) (drill 2.8) (layers *.Cu *.Mask)) + (pad 1 thru_hole rect (at 0 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 2 thru_hole circle (at 0 2.54) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 3 thru_hole circle (at 0 5.08) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 4 thru_hole circle (at 0 7.62) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 5 thru_hole circle (at 0 10.16) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 6 thru_hole circle (at 0 12.7) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 7 thru_hole circle (at 0 15.24) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 8 thru_hole circle (at 0 17.78) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 9 thru_hole circle (at 0 20.32) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 10 thru_hole circle (at 0 22.86) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 11 thru_hole circle (at 53.34 22.86) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 12 thru_hole circle (at 53.34 20.32) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 13 thru_hole circle (at 53.34 17.78) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 14 thru_hole circle (at 53.34 15.24) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 15 thru_hole circle (at 53.34 12.7) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 16 thru_hole circle (at 53.34 10.16) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 17 thru_hole circle (at 53.34 7.62) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 18 thru_hole circle (at 53.34 5.08) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 19 thru_hole circle (at 53.34 2.54) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad 20 thru_hole circle (at 53.34 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask)) + (pad "" np_thru_hole circle (at -0.83 -11.07) (size 3.5 3.5) (drill 2.8) (layers *.Cu *.Mask)) +)