From 9bd6639a5ba12f2085b0c9d1e4f5a65d3d10b958 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 16 Feb 2014 13:16:26 -0700 Subject: [PATCH] add a single-sided footprint for wire antennas launching from PCB end --- packages/Makefile | 5 +++-- packages/wire-ant.py | 52 +++++++++++++++++++++++++++++++++++++++++++ symbols/ti/CC1110.sym | 14 ++++++------ 3 files changed, 62 insertions(+), 9 deletions(-) create mode 100755 packages/wire-ant.py diff --git a/packages/Makefile b/packages/Makefile index b492ce2..0de840a 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -64,7 +64,8 @@ FOOTPRINTS= \ W3011A.fp \ DIODE-SMA.fp \ 2512.fp \ - lipo-15x24.fp + lipo-15x24.fp \ + wire-ant.fp .5c.fp: nickle $*.5c > $@ @@ -99,4 +100,4 @@ soic-16.fp: soic.5c nickle soic.5c 16 > $@ lipo-15x24.fp: lipo-pad.5c - nickle lipo-pad.5c 15 24 > $@ \ No newline at end of file + nickle lipo-pad.5c 15 24 > $@ diff --git a/packages/wire-ant.py b/packages/wire-ant.py new file mode 100755 index 0000000..f8d4052 --- /dev/null +++ b/packages/wire-ant.py @@ -0,0 +1,52 @@ +#!/usr/bin/python +# Copyright 2014 by Bdale Garbee . GPLv2 +# +# Program to emit PCB footprint for edge-launch wire antenna +# + +# dimensions in 1/100 mil from CONSMA003.062.pdf datasheet, modified to +# accomidate a wider range of new and surplus edge-launched SMA connectors +PinWidth = 6000 # the center pin +GndWidth = 15000 # the "side" pins for the gnd "wings" +PinHeight = 15000 +PinSpacing = PinWidth / 2 + 4000 + +import sys + +print '# author: Bdale Garbee' +print '# email: bdale@gag.com' +print '# dist-license: GPL 2' +print '# use-license: unlimited' + +print 'Element[0x0 "wire-ant" "" "" 0 0 0 0 0 0 0x0]' +print "(" + +print ' Pad[',\ + (-PinSpacing - GndWidth/2), \ + (GndWidth/2), \ + (-PinSpacing - GndWidth/2), \ + (PinHeight - GndWidth/2), \ + (GndWidth), \ + 0, \ + (GndWidth + 600), \ + '"pin2"', '"2"', '"square,nopaste"]' +print ' Pad[',\ + 0, \ + (PinWidth/2), \ + 0, \ + (PinHeight - PinWidth/2), \ + (PinWidth), \ + 0, \ + (PinWidth + 600), \ + '"pin1"', '"1"', '"square,nopaste"]' +print ' Pad[',\ + (PinSpacing + GndWidth/2), \ + (GndWidth/2), \ + (PinSpacing + GndWidth/2), \ + (PinHeight - GndWidth/2), \ + (GndWidth), \ + 0, \ + (GndWidth + 600), \ + '"pin2"', '"2"', '"square,nopaste"]' + +print ")" diff --git a/symbols/ti/CC1110.sym b/symbols/ti/CC1110.sym index 4d80042..a25a19e 100644 --- a/symbols/ti/CC1110.sym +++ b/symbols/ti/CC1110.sym @@ -63,29 +63,29 @@ pinseq=22 T 5000 3300 5 10 0 1 0 0 1 pintype=io } -P 100 200 500 200 1 0 0 +P 0 200 400 200 1 0 0 { -T 200 300 5 10 1 1 0 0 1 +T 100 300 5 10 1 1 0 0 1 pinnumber=31 -T 600 200 3 10 1 1 0 0 1 +T 500 200 3 10 1 1 0 0 1 pinlabel=RESET_N -T -300 300 5 10 0 1 0 0 1 +T -400 300 5 10 0 1 0 0 1 pinseq=14 -T 100 200 5 10 0 1 0 0 1 +T 0 200 5 10 0 1 0 0 1 pintype=io } P 0 1800 400 1800 1 0 0 { T 100 1900 5 10 1 1 0 0 1 pinnumber=11 -T 500 1800 3 10 1 1 0 0 1 +T 450 1800 3 10 1 1 0 0 1 pinlabel=P0_5 T -400 1900 5 10 0 1 0 0 1 pinseq=13 T 0 1800 5 10 0 1 0 0 1 pintype=io } -B 500 0 4100 11800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 +B 400 0 4200 11800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 5500 3300 8 10 0 0 0 0 1 numslots=1 T 1950 11150 9 20 1 0 0 0 1 -- 2.30.2