diff options
author | easwaran | 2020-02-03 15:25:26 +0530 |
---|---|---|
committer | easwaran | 2020-02-03 15:25:26 +0530 |
commit | fcf14c0bd1e3fef75dd44a2fa58762427d531a31 (patch) | |
tree | 22208956cafd07d9e8bf382952ee6f1ee6ca1525 /MyLibrary | |
parent | 3bcabeeda251ceb195ca11c872ef1b57d4defba5 (diff) | |
download | openplc_v2-fcf14c0bd1e3fef75dd44a2fa58762427d531a31.tar.gz openplc_v2-fcf14c0bd1e3fef75dd44a2fa58762427d531a31.tar.bz2 openplc_v2-fcf14c0bd1e3fef75dd44a2fa58762427d531a31.zip |
[vishnu]
Replaced all component in the POWER circuitry with local library components.
Added tantalum, C_1206, AMS117 and ls812 parts to the library.
Diffstat (limited to 'MyLibrary')
6 files changed, 274 insertions, 0 deletions
diff --git a/MyLibrary/fossee_openplc.dcm b/MyLibrary/fossee_openplc.dcm index 5e56330..a366a73 100644 --- a/MyLibrary/fossee_openplc.dcm +++ b/MyLibrary/fossee_openplc.dcm @@ -10,6 +10,11 @@ D Power symbol creates a global label with name "+24V" K power-flag $ENDCMP # +$CMP +3V3 +D Power symbol creates a global label with name "+3V3" +K power-flag +$ENDCMP +# $CMP +5V D Power symbol creates a global label with name "+5V" K power-flag @@ -57,6 +62,12 @@ K cap capacitor F ~ $ENDCMP # +$CMP Cap_tantalum_1206_3218 +D Polarized capacitor +K cap capacitor +F https://datasheet.octopart.com/T491A334K035AT-Kemet-datasheet-5314837.pdf +$ENDCMP +# $CMP Capacitor_Polarized_10x10 D Polarized capacitor K cap capacitor @@ -92,6 +103,12 @@ D Power symbol creates a global label with name "GND" , ground K power-flag $ENDCMP # +$CMP JST_Conn_01x04 +D Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/) +K connector +F ~ +$ENDCMP +# $CMP LED_ALT D Light emitting diode, filled shape K LED diode @@ -194,6 +211,12 @@ K NPN DC Quad Optocoupler F http://www.soselectronic.cz/a_info/resource/d/pc817.pdf $ENDCMP # +$CMP power_L7812_smd +D Positive 1.5A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263/TO-252 +K Voltage Regulator 1.5A Positive +F http://www.st.com/content/ccc/resource/technical/document/datasheet/41/4f/b3/b0/12/d4/47/88/CD00000444.pdf/files/CD00000444.pdf/jcr:content/translations/en.CD00000444.pdf +$ENDCMP +# $CMP power_LM2576 D 12V, 3A SIMPLE SWITCHER® Step-Down Voltage Regulator TO-263 K Step-Down Voltage Regulator 12V 3A diff --git a/MyLibrary/fossee_openplc.lib b/MyLibrary/fossee_openplc.lib index 836fd42..6abe7d5 100644 --- a/MyLibrary/fossee_openplc.lib +++ b/MyLibrary/fossee_openplc.lib @@ -31,6 +31,21 @@ X +24V 1 0 0 0 U 50 50 1 1 W N ENDDRAW ENDDEF # +# +3V3 +# +DEF +3V3 #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "+3V3" 0 140 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X +3V3 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# # +5V # DEF +5V #PWR 0 0 Y Y 1 F P @@ -189,6 +204,26 @@ X ~ 2 0 -150 110 U 50 50 1 1 P ENDDRAW ENDDEF # +# Cap_tantalum_1206_3218 +# +DEF Cap_tantalum_1206_3218 C 0 10 N Y 1 F N +F0 "C" 25 100 50 H V L CNN +F1 "Cap_tantalum_1206_3218" -450 450 50 H I L CNN +F2 "fossee_openplc:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder" 100 -500 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + CP_* +$ENDFPLIST +DRAW +S -90 20 90 40 0 1 0 N +S 90 -20 -90 -40 0 1 0 F +P 2 0 1 0 -70 90 -30 90 N +P 2 0 1 0 -50 110 -50 70 N +X ~ 1 0 150 110 D 50 50 1 1 P +X ~ 2 0 -150 110 U 50 50 1 1 P +ENDDRAW +ENDDEF +# # Capacitor_Polarized_10x10 # DEF Capacitor_Polarized_10x10 C 0 10 N Y 1 F N @@ -308,6 +343,29 @@ X GND 1 0 0 0 D 50 50 1 1 W N ENDDRAW ENDDEF # +# JST_Conn_01x04 +# +DEF JST_Conn_01x04 J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "JST_Conn_01x04" 0 -300 50 H V C CNN +F2 "fossee_openplc:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 150 50 -250 1 1 10 f +X Pin_1 1 -200 100 150 R 50 50 1 1 P +X Pin_2 2 -200 0 150 R 50 50 1 1 P +X Pin_3 3 -200 -100 150 R 50 50 1 1 P +X Pin_4 4 -200 -200 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# # LED_ALT # DEF LED_ALT D 0 40 N N 1 F N @@ -805,6 +863,26 @@ X ~ 9 300 -100 100 L 50 50 4 1 P ENDDRAW ENDDEF # +# power_L7812_smd +# +DEF power_L7812_smd U 0 10 Y Y 1 F N +F0 "U" -150 125 50 H V C CNN +F1 "power_L7812_smd" 0 125 50 H V L CNN +F2 "fossee_openplc:TO-263-2" -600 350 50 H I L CIN +F3 "" 0 -50 50 H I C CNN +$FPLIST + TO?252* + TO?263* + TO?220* +$ENDFPLIST +DRAW +S -200 75 200 -200 0 1 10 f +X IN 1 -300 0 100 R 50 50 1 1 W +X GND 2 0 -300 100 U 50 50 1 1 W +X OUT 3 300 0 100 L 50 50 1 1 w +ENDDRAW +ENDDEF +# # power_LM2576 # DEF power_LM2576 U 0 10 Y Y 1 F N diff --git a/MyLibrary/fossee_openplc.pretty/C_1206_3216Metric_Pad1.42x1.75mm_HandSolder.kicad_mod b/MyLibrary/fossee_openplc.pretty/C_1206_3216Metric_Pad1.42x1.75mm_HandSolder.kicad_mod new file mode 100644 index 0000000..7dee8b1 --- /dev/null +++ b/MyLibrary/fossee_openplc.pretty/C_1206_3216Metric_Pad1.42x1.75mm_HandSolder.kicad_mod @@ -0,0 +1,31 @@ +(module C_1206_3216Metric_Pad1.42x1.75mm_HandSolder (layer F.Cu) (tedit 5B301BBE) + (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator") + (tags "capacitor handsolder") + (attr smd) + (fp_text reference REF** (at 0 -1.82) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value C_1206_3216Metric_Pad1.42x1.75mm_HandSolder (at 0 1.82) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 0.8 0.8) (thickness 0.12))) + ) + (fp_line (start 2.45 1.12) (end -2.45 1.12) (layer F.CrtYd) (width 0.05)) + (fp_line (start 2.45 -1.12) (end 2.45 1.12) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2.45 -1.12) (end 2.45 -1.12) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2.45 1.12) (end -2.45 -1.12) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.602064 0.91) (end 0.602064 0.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.602064 -0.91) (end 0.602064 -0.91) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.Fab) (width 0.1)) + (fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.Fab) (width 0.1)) + (fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer F.Fab) (width 0.1)) + (fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1)) + (pad 2 smd roundrect (at 1.4875 0) (size 1.425 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.175439)) + (pad 1 smd roundrect (at -1.4875 0) (size 1.425 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.175439)) + (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) diff --git a/MyLibrary/fossee_openplc.pretty/JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical.kicad_mod b/MyLibrary/fossee_openplc.pretty/JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical.kicad_mod new file mode 100644 index 0000000..4651511 --- /dev/null +++ b/MyLibrary/fossee_openplc.pretty/JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical.kicad_mod @@ -0,0 +1,56 @@ +(module JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical (layer F.Cu) (tedit 5C28146C) + (descr "JST XH series connector, B4B-XH-A (http://www.jst-mfg.com/product/pdf/eng/eXH.pdf), generated with kicad-footprint-generator") + (tags "connector JST XH vertical") + (fp_text reference REF** (at 3.75 -3.55) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical (at 3.75 4.6) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -2.45 -2.35) (end -2.45 3.4) (layer F.Fab) (width 0.1)) + (fp_line (start -2.45 3.4) (end 9.95 3.4) (layer F.Fab) (width 0.1)) + (fp_line (start 9.95 3.4) (end 9.95 -2.35) (layer F.Fab) (width 0.1)) + (fp_line (start 9.95 -2.35) (end -2.45 -2.35) (layer F.Fab) (width 0.1)) + (fp_line (start -2.56 -2.46) (end -2.56 3.51) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.56 3.51) (end 10.06 3.51) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.06 3.51) (end 10.06 -2.46) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.06 -2.46) (end -2.56 -2.46) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.95 -2.85) (end -2.95 3.9) (layer F.CrtYd) (width 0.05)) + (fp_line (start -2.95 3.9) (end 10.45 3.9) (layer F.CrtYd) (width 0.05)) + (fp_line (start 10.45 3.9) (end 10.45 -2.85) (layer F.CrtYd) (width 0.05)) + (fp_line (start 10.45 -2.85) (end -2.95 -2.85) (layer F.CrtYd) (width 0.05)) + (fp_line (start -0.625 -2.35) (end 0 -1.35) (layer F.Fab) (width 0.1)) + (fp_line (start 0 -1.35) (end 0.625 -2.35) (layer F.Fab) (width 0.1)) + (fp_line (start 0.75 -2.45) (end 0.75 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.75 -1.7) (end 6.75 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 6.75 -1.7) (end 6.75 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start 6.75 -2.45) (end 0.75 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.55 -2.45) (end -2.55 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.55 -1.7) (end -0.75 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.75 -1.7) (end -0.75 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.75 -2.45) (end -2.55 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start 8.25 -2.45) (end 8.25 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 8.25 -1.7) (end 10.05 -1.7) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.05 -1.7) (end 10.05 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.05 -2.45) (end 8.25 -2.45) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.55 -0.2) (end -1.8 -0.2) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 -0.2) (end -1.8 2.75) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.8 2.75) (end 3.75 2.75) (layer F.SilkS) (width 0.12)) + (fp_line (start 10.05 -0.2) (end 9.3 -0.2) (layer F.SilkS) (width 0.12)) + (fp_line (start 9.3 -0.2) (end 9.3 2.75) (layer F.SilkS) (width 0.12)) + (fp_line (start 9.3 2.75) (end 3.75 2.75) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.6 -2.75) (end -2.85 -2.75) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.85 -2.75) (end -2.85 -1.5) (layer F.SilkS) (width 0.12)) + (fp_text user %R (at 3.75 2.7) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (pad 1 thru_hole roundrect (at 0 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask) (roundrect_rratio 0.147059)) + (pad 2 thru_hole oval (at 2.5 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)) + (pad 3 thru_hole oval (at 5 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)) + (pad 4 thru_hole oval (at 7.5 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)) + (model ${KISYS3DMOD}/Connector_JST.3dshapes/JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) diff --git a/MyLibrary/fossee_openplc.pretty/SOT-223-3_TabPin2.kicad_mod b/MyLibrary/fossee_openplc.pretty/SOT-223-3_TabPin2.kicad_mod new file mode 100644 index 0000000..28ac67f --- /dev/null +++ b/MyLibrary/fossee_openplc.pretty/SOT-223-3_TabPin2.kicad_mod @@ -0,0 +1,36 @@ +(module SOT-223-3_TabPin2 (layer F.Cu) (tedit 5A02FF57) + (descr "module CMS SOT223 4 pins") + (tags "CMS SOT") + (attr smd) + (fp_text reference REF** (at 0 -4.5) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value SOT-223-3_TabPin2 (at 0 4.5) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text user %R (at 0 0 90) (layer F.Fab) + (effects (font (size 0.8 0.8) (thickness 0.12))) + ) + (fp_line (start 1.91 3.41) (end 1.91 2.15) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.91 -3.41) (end 1.91 -2.15) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.4 -3.6) (end -4.4 -3.6) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.4 3.6) (end 4.4 -3.6) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.4 3.6) (end 4.4 3.6) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.4 -3.6) (end -4.4 3.6) (layer F.CrtYd) (width 0.05)) + (fp_line (start -1.85 -2.35) (end -0.85 -3.35) (layer F.Fab) (width 0.1)) + (fp_line (start -1.85 -2.35) (end -1.85 3.35) (layer F.Fab) (width 0.1)) + (fp_line (start -1.85 3.41) (end 1.91 3.41) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.85 -3.35) (end 1.85 -3.35) (layer F.Fab) (width 0.1)) + (fp_line (start -4.1 -3.41) (end 1.91 -3.41) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.85 3.35) (end 1.85 3.35) (layer F.Fab) (width 0.1)) + (fp_line (start 1.85 -3.35) (end 1.85 3.35) (layer F.Fab) (width 0.1)) + (pad 2 smd rect (at 3.15 0) (size 2 3.8) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at -3.15 0) (size 2 1.5) (layers F.Cu F.Paste F.Mask)) + (pad 3 smd rect (at -3.15 2.3) (size 2 1.5) (layers F.Cu F.Paste F.Mask)) + (pad 1 smd rect (at -3.15 -2.3) (size 2 1.5) (layers F.Cu F.Paste F.Mask)) + (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-223.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) diff --git a/MyLibrary/fossee_openplc.pretty/TO-263-2.kicad_mod b/MyLibrary/fossee_openplc.pretty/TO-263-2.kicad_mod new file mode 100644 index 0000000..e2166b0 --- /dev/null +++ b/MyLibrary/fossee_openplc.pretty/TO-263-2.kicad_mod @@ -0,0 +1,50 @@ +(module TO-263-2 (layer F.Cu) (tedit 5A70FB7B) + (descr "TO-263 / D2PAK / DDPAK SMD package, http://www.infineon.com/cms/en/product/packages/PG-TO263/PG-TO263-3-1/") + (tags "D2PAK DDPAK TO-263 D2PAK-3 TO-263-3 SOT-404") + (attr smd) + (fp_text reference REF** (at 0 -6.65) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value TO-263-2 (at 0 6.65) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 6.5 -5) (end 7.5 -5) (layer F.Fab) (width 0.1)) + (fp_line (start 7.5 -5) (end 7.5 5) (layer F.Fab) (width 0.1)) + (fp_line (start 7.5 5) (end 6.5 5) (layer F.Fab) (width 0.1)) + (fp_line (start 6.5 -5) (end 6.5 5) (layer F.Fab) (width 0.1)) + (fp_line (start 6.5 5) (end -2.75 5) (layer F.Fab) (width 0.1)) + (fp_line (start -2.75 5) (end -2.75 -4) (layer F.Fab) (width 0.1)) + (fp_line (start -2.75 -4) (end -1.75 -5) (layer F.Fab) (width 0.1)) + (fp_line (start -1.75 -5) (end 6.5 -5) (layer F.Fab) (width 0.1)) + (fp_line (start -2.75 -3.04) (end -7.45 -3.04) (layer F.Fab) (width 0.1)) + (fp_line (start -7.45 -3.04) (end -7.45 -2.04) (layer F.Fab) (width 0.1)) + (fp_line (start -7.45 -2.04) (end -2.75 -2.04) (layer F.Fab) (width 0.1)) + (fp_line (start -2.75 2.04) (end -7.45 2.04) (layer F.Fab) (width 0.1)) + (fp_line (start -7.45 2.04) (end -7.45 3.04) (layer F.Fab) (width 0.1)) + (fp_line (start -7.45 3.04) (end -2.75 3.04) (layer F.Fab) (width 0.1)) + (fp_line (start -1.45 -5.2) (end -2.95 -5.2) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.95 -5.2) (end -2.95 -3.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.95 -3.39) (end -8.075 -3.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.45 5.2) (end -2.95 5.2) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.95 5.2) (end -2.95 3.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -2.95 3.39) (end -4.05 3.39) (layer F.SilkS) (width 0.12)) + (fp_line (start -8.32 -5.65) (end -8.32 5.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start -8.32 5.65) (end 8.32 5.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 8.32 5.65) (end 8.32 -5.65) (layer F.CrtYd) (width 0.05)) + (fp_line (start 8.32 -5.65) (end -8.32 -5.65) (layer F.CrtYd) (width 0.05)) + (fp_text user %R (at 0 0) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (pad 1 smd rect (at -5.775 -2.54) (size 4.6 1.1) (layers F.Cu F.Paste F.Mask)) + (pad 3 smd rect (at -5.775 2.54) (size 4.6 1.1) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at 3.375 0) (size 9.4 10.8) (layers F.Cu F.Mask)) + (pad "" smd rect (at 5.8 2.775) (size 4.55 5.25) (layers F.Paste)) + (pad "" smd rect (at 0.95 -2.775) (size 4.55 5.25) (layers F.Paste)) + (pad "" smd rect (at 5.8 -2.775) (size 4.55 5.25) (layers F.Paste)) + (pad "" smd rect (at 0.95 2.775) (size 4.55 5.25) (layers F.Paste)) + (model ${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/TO-263-2.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) |