From 8e7dfc2796cfcc1bdcb7d74b882cabc46fceab60 Mon Sep 17 00:00:00 2001 From: Patrick Pelletier Date: Wed, 2 Aug 2017 17:44:08 -0700 Subject: [PATCH 1/2] add CUI PD-30 connector --- library/conn.dcm | 6 ++++++ library/conn.lib | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/library/conn.dcm b/library/conn.dcm index a9fa7611..970aa000 100644 --- a/library/conn.dcm +++ b/library/conn.dcm @@ -545,6 +545,12 @@ D double coaxial connector (BNC, SMA, SMB, SMC, Cinch/RCA, ...) K BNC SMA SMB SMC coaxial connector CINCH RCA $ENDCMP # +$CMP CUI_PD-30 +D 3 pin connector, PD-30 +K connector 3-pin PD-30 +F http://www.cui.com/product/resource/pd-30.pdf +$ENDCMP +# $CMP Conn_WallPlug D 3-pin general wall plug, no Earth wire (110VAC, 220VAC) K wall plug 110VAC 220VAC diff --git a/library/conn.lib b/library/conn.lib index 07ac434c..d648f351 100644 --- a/library/conn.lib +++ b/library/conn.lib @@ -7340,6 +7340,41 @@ X EXT 3 0 -300 100 U 50 50 1 1 P ENDDRAW ENDDEF # +# CUI_PD-30 +# +DEF CUI_PD-30 J 0 40 Y N 1 F N +F0 "J" 0 -350 50 H V C CNN +F1 "CUI_PD-30" 0 -425 50 H V C CNN +F2 "Connectors:CUI_PD-30" 0 -500 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + CUI*PD*30* +$ENDFPLIST +DRAW +S -300 -300 300 300 0 1 10 f +C 0 0 286 0 1 0 N +A 0 0 240 200 700 0 1 0 N 226 82 82 226 +A 0 0 240 1100 1600 0 1 0 N -82 226 -226 82 +A 0 0 240 2000 2300 0 1 0 N -226 -82 -154 -184 +A 0 0 240 3100 3400 0 1 0 N 154 -184 226 -82 +P 2 0 1 0 -154 -184 154 -184 N +P 4 0 1 0 226 -82 181 -82 181 82 226 82 N +P 4 0 1 0 82 226 82 181 -82 181 -82 226 N +P 4 0 1 0 -226 82 -181 82 -181 -82 -226 -82 N +C -84 48 78 0 1 0 N +T 0 -84 48 78 0 0 1 1 Normal 0 C C +C 84 -49 78 0 1 0 N +T 0 84 -49 78 0 0 1 2 Normal 0 C C +C 120 100 45 0 1 0 N +T 0 120 100 45 0 0 1 3 Normal 0 C C +P 2 0 1 0 -300 -200 -204 -200 N +X 1 1 -400 100 100 R 50 50 1 1 P +X 2 2 -400 0 100 R 50 50 1 1 P +X 3 3 -400 -100 100 R 50 50 1 1 P +X Shield 4 -400 -200 100 R 50 50 1 1 P +ENDDRAW +ENDDEF +# # Conn_WallPlug # DEF Conn_WallPlug P 0 0 Y Y 1 F N From 3036227c7b18bd9b36f97467d8490a5b5ecc9a20 Mon Sep 17 00:00:00 2001 From: Patrick Pelletier Date: Fri, 4 Aug 2017 08:33:45 -0700 Subject: [PATCH 2/2] PD-30: add "power" and "DIN" keywords, to match footprint's keywords --- library/conn.dcm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/conn.dcm b/library/conn.dcm index 970aa000..e86115bc 100644 --- a/library/conn.dcm +++ b/library/conn.dcm @@ -547,7 +547,7 @@ $ENDCMP # $CMP CUI_PD-30 D 3 pin connector, PD-30 -K connector 3-pin PD-30 +K connector 3-pin PD-30 power DIN F http://www.cui.com/product/resource/pd-30.pdf $ENDCMP #