From 5ed16708597ccf77aca40505ca75716a6518b49e Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 14 Jul 2012 22:28:09 -0300 Subject: [PATCH] modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile --- modules/HIERARCHY | 2 +- modules/INFO | 7 ++++++- modules/Makefile | 2 +- modules/dip4of6.fpd | 10 +++++++++- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/modules/HIERARCHY b/modules/HIERARCHY index 9956f3e..419d2f8 100644 --- a/modules/HIERARCHY +++ b/modules/HIERARCHY @@ -300,7 +300,7 @@ Dual TSOP-66 TH DIP-4-300mil -# DIP-4/6-300mil + DIP-4/6-300mil DIP-6-300mil DIP-8-300mil DIP-10-300mil diff --git a/modules/INFO b/modules/INFO index 350938a..88544f2 100644 --- a/modules/INFO +++ b/modules/INFO @@ -519,4 +519,9 @@ F: xtal-4 # http://www.abracon.com/Resonators/ABMM2.pdf # - +# DIP4 component in a DIP6 socket +F: dip4of6 +# +# The smallest DIP socket commonly available is DIP6, but there are some +# components that come in a DIP4 package. +# diff --git a/modules/Makefile b/modules/Makefile index 292d133..c69a1ec 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -1,7 +1,7 @@ MODULES=8_10-card 8_10-socket-ra \ bat-clip-aa-th bga \ c-smd c-t-smd \ - dcjack din-5 dip do-214 dvi-recept-ra \ + dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \ eus \ fiducial \ header he-2row-dip he-shrouded \ diff --git a/modules/dip4of6.fpd b/modules/dip4of6.fpd index 52a43dd..0f5cb3f 100644 --- a/modules/dip4of6.fpd +++ b/modules/dip4of6.fpd @@ -7,10 +7,10 @@ frame hole { } frame pin { - frame hole @ __2: vec @(-ratio*hole/2, ratio*hole/2) __3: vec @(ratio*hole/2, -ratio*hole/2) rpad "$n" __2 . + frame hole @ } frame pin_top { @@ -72,6 +72,7 @@ package "DIP-${N}/${M}-${width}" unit mm set N = 2*populated + set M = 2*side set width = 300mil @@ -83,8 +84,15 @@ set ratio = 2 set pitch = 100mil set side = 3 + set populated = 2 frame outline @ frame pins @ frame holes @ +measx hole.__1 -> hole.__0 -1mm +measx pin.__2 -> pin.__3 -3mm +measx outline.__1 >> outline.__0 -4mm +measy outline.__0 >> outline.__1 1mm +measy holes.__1 >> holes.__2 3mm +measx pins.__2 >> pins.__2 2mm