From 4535c2f6a6de8c3e62e5c82bf6c60e13ca31b64e Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Fri, 18 Nov 2016 20:31:34 +0100 Subject: [PATCH] Additions to DomoTab kiCaD libs --- Lib/domotab.lib | 74 +++++++++++++++++++ Lib/domotab.pretty/BME280.kicad_mod | 22 ++++++ .../pin_array_2mm_12x1.kicad_mod | 25 +++++++ .../pin_array_2mm_17x1.kicad_mod | 30 ++++++++ .../pin_array_2mm_18x1.kicad_mod | 31 ++++++++ Lib/domotab.pretty/pin_array_4x2.kicad_mod | 23 ++++++ 6 files changed, 205 insertions(+) create mode 100644 Lib/domotab.pretty/BME280.kicad_mod create mode 100644 Lib/domotab.pretty/pin_array_2mm_12x1.kicad_mod create mode 100644 Lib/domotab.pretty/pin_array_2mm_17x1.kicad_mod create mode 100644 Lib/domotab.pretty/pin_array_2mm_18x1.kicad_mod create mode 100644 Lib/domotab.pretty/pin_array_4x2.kicad_mod diff --git a/Lib/domotab.lib b/Lib/domotab.lib index 148d3f9..f069167 100644 --- a/Lib/domotab.lib +++ b/Lib/domotab.lib @@ -816,6 +816,26 @@ X - 2 300 0 150 L 50 50 1 1 P ENDDRAW ENDDEF # +# BME280 +# +DEF BME280 U 0 40 Y Y 1 F N +F0 "U" -50 275 60 H V C CNN +F1 "BME280" -25 -275 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -400 225 375 -225 0 1 0 N +X GND 1 525 150 150 L 40 40 1 1 O +X CS 2 525 50 150 L 40 40 1 1 O +X SDA/MOSI 3 525 -50 150 L 40 40 1 1 B +X SCL/SCLK 4 525 -150 150 L 40 40 1 1 I +X AD0/MISO 5 -550 -150 150 R 40 40 1 1 I +X VDDIO 6 -550 -50 150 R 40 40 1 1 W +X GND 7 -550 50 150 R 40 40 1 1 W +X VDD 8 -550 150 150 R 40 40 1 1 W +ENDDRAW +ENDDEF +# # BRIDGE_MB6S # DEF BRIDGE_MB6S D 0 50 Y Y 1 F N @@ -1360,6 +1380,30 @@ X P11 11 -350 -500 250 R 50 50 1 1 P I ENDDRAW ENDDEF # +# CONN_12 +# +DEF CONN_12 P 0 40 Y N 1 F N +F0 "P" -50 50 60 V V C CNN +F1 "CONN_12" 50 50 60 V V C CNN +F2 "" 0 50 60 H V C CNN +F3 "" 0 50 60 H V C CNN +DRAW +S -100 625 100 -625 0 1 0 N +X P1 1 -350 550 250 R 50 50 1 1 P I +X P2 2 -350 450 250 R 50 50 1 1 P I +X P3 3 -350 350 250 R 50 50 1 1 P I +X P4 4 -350 250 250 R 50 50 1 1 P I +X P5 5 -350 150 250 R 50 50 1 1 P I +X P6 6 -350 50 250 R 50 50 1 1 P I +X P7 7 -350 -50 250 R 50 50 1 1 P I +X P8 8 -350 -150 250 R 50 50 1 1 P I +X P9 9 -350 -250 250 R 50 50 1 1 P I +X P10 10 -350 -350 250 R 50 50 1 1 P I +X P11 11 -350 -450 250 R 50 50 1 1 P I +X P12 12 -350 -550 250 R 50 50 1 1 P I +ENDDRAW +ENDDEF +# # CONN_12X2 # DEF CONN_12X2 P 0 10 Y N 1 F N @@ -1519,6 +1563,36 @@ X P17 17 -350 -800 250 R 50 50 1 1 P I ENDDRAW ENDDEF # +# CONN_18 +# +DEF CONN_18 P 0 40 Y N 1 F N +F0 "P" -50 0 60 V V C CNN +F1 "CONN_18" 50 0 60 V V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S -100 950 150 -850 0 1 0 N +X P1 1 -350 900 250 R 50 50 1 1 P I +X P2 2 -350 800 250 R 50 50 1 1 P I +X P3 3 -350 700 250 R 50 50 1 1 P I +X P4 4 -350 600 250 R 50 50 1 1 P I +X P5 5 -350 500 250 R 50 50 1 1 P I +X P6 6 -350 400 250 R 50 50 1 1 P I +X P7 7 -350 300 250 R 50 50 1 1 P I +X P8 8 -350 200 250 R 50 50 1 1 P I +X P9 9 -350 100 250 R 50 50 1 1 P I +X P10 10 -350 0 250 R 50 50 1 1 P I +X P11 11 -350 -100 250 R 50 50 1 1 P I +X P12 12 -350 -200 250 R 50 50 1 1 P I +X P13 13 -350 -300 250 R 50 50 1 1 P I +X P14 14 -350 -400 250 R 50 50 1 1 P I +X P15 15 -350 -500 250 R 50 50 1 1 P I +X P16 16 -350 -600 250 R 50 50 1 1 P I +X P17 17 -350 -700 250 R 50 50 1 1 P I +X P18 18 -350 -800 250 R 50 50 1 1 P I +ENDDRAW +ENDDEF +# # CONN_19 # DEF CONN_19 P 0 40 Y N 1 F N diff --git a/Lib/domotab.pretty/BME280.kicad_mod b/Lib/domotab.pretty/BME280.kicad_mod new file mode 100644 index 0000000..61d68ae --- /dev/null +++ b/Lib/domotab.pretty/BME280.kicad_mod @@ -0,0 +1,22 @@ +(module BME280 (layer F.Cu) (tedit 581CB6D3) + (fp_text reference REF** (at 0.025 2) (layer F.SilkS) + (effects (font (size 0.6 0.7) (thickness 0.11))) + ) + (fp_text value BME280 (at 0.025 -1.95) (layer F.SilkS) + (effects (font (size 0.7 0.6) (thickness 0.11))) + ) + (fp_line (start -1.25 -1.25) (end 1.25 -1.25) (layer F.SilkS) (width 0.15)) + (fp_line (start 1.25 -1.25) (end 1.25 1.25) (layer F.SilkS) (width 0.15)) + (fp_line (start 1.25 1.25) (end -1.25 1.25) (layer F.SilkS) (width 0.15)) + (fp_line (start -1.25 1.25) (end -1.25 -1.25) (layer F.SilkS) (width 0.15)) + (fp_circle (center -1 -0.5) (end -1.05 -0.5) (layer F.SilkS) (width 0.1)) + (fp_circle (center 1 0) (end 1.15 0) (layer F.SilkS) (width 0.1)) + (pad 5 smd rect (at 0.98 1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 6 smd rect (at 0.33 1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 7 smd rect (at -0.33 1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 8 smd rect (at -0.98 1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 1 smd rect (at -0.98 -1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at -0.33 -1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 3 smd rect (at 0.33 -1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) + (pad 4 smd rect (at 0.98 -1.1) (size 0.35 0.6) (layers F.Cu F.Paste F.Mask)) +) diff --git a/Lib/domotab.pretty/pin_array_2mm_12x1.kicad_mod b/Lib/domotab.pretty/pin_array_2mm_12x1.kicad_mod new file mode 100644 index 0000000..1f95eaf --- /dev/null +++ b/Lib/domotab.pretty/pin_array_2mm_12x1.kicad_mod @@ -0,0 +1,25 @@ +(module pin_array_2mm_12x1 (layer F.Cu) (tedit 581A7ED1) + (tags CONN) + (fp_text reference pin_array_2mm_12x1 (at 0.025 -2.775) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_text value Val** (at 0.1 2.55) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_line (start 12 1) (end 12 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -12 1) (end -12 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -12 -1) (end 12 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -12 1) (end 12 1) (layer F.SilkS) (width 0.381)) + (pad 1 thru_hole rect (at -11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole circle (at -9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 3 thru_hole circle (at -7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 4 thru_hole circle (at -5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 5 thru_hole circle (at -3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 6 thru_hole circle (at -1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 7 thru_hole circle (at 1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 8 thru_hole circle (at 3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 9 thru_hole circle (at 5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 10 thru_hole circle (at 7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 11 thru_hole circle (at 9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 12 thru_hole circle (at 11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) +) diff --git a/Lib/domotab.pretty/pin_array_2mm_17x1.kicad_mod b/Lib/domotab.pretty/pin_array_2mm_17x1.kicad_mod new file mode 100644 index 0000000..51c7b0f --- /dev/null +++ b/Lib/domotab.pretty/pin_array_2mm_17x1.kicad_mod @@ -0,0 +1,30 @@ +(module pin_array_2mm_17x1 (layer F.Cu) (tedit 581A7E8B) + (tags CONN) + (fp_text reference pin_array_2mm_17x1 (at 0.025 -2.775) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_text value Val** (at 0.1 2.55) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_line (start 18 1) (end 18 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 1) (end -16 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 -1) (end 18 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 1) (end 18 1) (layer F.SilkS) (width 0.381)) + (pad 17 thru_hole circle (at 17 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 15 thru_hole circle (at 13 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 16 thru_hole circle (at 15 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 14 thru_hole circle (at 11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 13 thru_hole circle (at 9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 1 thru_hole rect (at -15 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole circle (at -13 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 3 thru_hole circle (at -11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 4 thru_hole circle (at -9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 5 thru_hole circle (at -7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 6 thru_hole circle (at -5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 7 thru_hole circle (at -3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 8 thru_hole circle (at -1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 9 thru_hole circle (at 1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 10 thru_hole circle (at 3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 11 thru_hole circle (at 5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 12 thru_hole circle (at 7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) +) diff --git a/Lib/domotab.pretty/pin_array_2mm_18x1.kicad_mod b/Lib/domotab.pretty/pin_array_2mm_18x1.kicad_mod new file mode 100644 index 0000000..22dc150 --- /dev/null +++ b/Lib/domotab.pretty/pin_array_2mm_18x1.kicad_mod @@ -0,0 +1,31 @@ +(module pin_array_2mm_18x1 (layer F.Cu) (tedit 581B4D13) + (tags CONN) + (fp_text reference pin_array_2mm_18x1 (at 0.025 -2.775) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_text value Val** (at 0.1 2.55) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_line (start 20 1) (end 20 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 1) (end -16 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 -1) (end 20 -1) (layer F.SilkS) (width 0.381)) + (fp_line (start -16 1) (end 20 1) (layer F.SilkS) (width 0.381)) + (pad 18 thru_hole circle (at 19 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 17 thru_hole circle (at 17 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 15 thru_hole circle (at 13 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 16 thru_hole circle (at 15 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 14 thru_hole circle (at 11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 13 thru_hole circle (at 9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 1 thru_hole rect (at -15 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole circle (at -13 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 3 thru_hole circle (at -11 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 4 thru_hole circle (at -9 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 5 thru_hole circle (at -7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 6 thru_hole circle (at -5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 7 thru_hole circle (at -3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 8 thru_hole circle (at -1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 9 thru_hole circle (at 1 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 10 thru_hole circle (at 3 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 11 thru_hole circle (at 5 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) + (pad 12 thru_hole circle (at 7 0) (size 1.2 1.2) (drill 0.7) (layers *.Cu *.Mask F.SilkS)) +) diff --git a/Lib/domotab.pretty/pin_array_4x2.kicad_mod b/Lib/domotab.pretty/pin_array_4x2.kicad_mod new file mode 100644 index 0000000..c5e56f0 --- /dev/null +++ b/Lib/domotab.pretty/pin_array_4x2.kicad_mod @@ -0,0 +1,23 @@ +(module pin_array_4x2 (layer F.Cu) (tedit 57DC7333) + (descr "Double rangee de contacts 2 x 5 pins") + (tags CONN) + (fp_text reference pin_array_4x2 (at 0.635 -3.81) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.2))) + ) + (fp_text value Val** (at 0 -3.81) (layer F.SilkS) hide + (effects (font (size 1 1) (thickness 0.2))) + ) + (pad 8 thru_hole circle (at 5.08 -1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 7 thru_hole circle (at 5.08 1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 1 thru_hole rect (at -2.54 1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 2 thru_hole circle (at -2.54 -1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 3 thru_hole circle (at 0 1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 4 thru_hole circle (at 0 -1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 5 thru_hole circle (at 2.54 1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (pad 6 thru_hole circle (at 2.54 -1.27) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)) + (model pin_array/pins_array_5x2.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) -- 2.43.0