main
John Lauer
Complete exact catalog links for all purchased PCB references and screen library pin sets
e3249a7
from pathlib import Path
import sys,copy,json,shutil
root=Path(__file__).resolve().parents[2];sys.path.insert(0,str(root/'tools'));import sexp
slug='fts-105-01-l-s';mpn=slug.upper();p=root/'components'/slug
sch=sexp.parse((root/'kicad/digital.kicad_sch').read_text());s=copy.deepcopy(next(x for x in sexp.find(sexp.first(sch,'lib_symbols'),'symbol') if x[1]=='Load:J11'));s[1]=mpn
for x in sexp.find(s,'symbol'):x[1]=x[1].replace('J11',mpn)
for pr in sexp.find(s,'property'):
if pr[1]=='Reference':pr[2]='J'
if pr[1]=='Value':pr[2]=mpn
for key,value in [('Footprint',mpn+':'+mpn+'_Vertical'),('Datasheet','https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-mkt.pdf'),('Manufacturer','Samtec'),('MPN',mpn),('DigiKey','FTS-105-01-L-S-ND'),('Adom Wiki','https://wiki.adom.inc/adom/'+slug)]:s.append(sexp.parse(f'(property "{key}" "{value}" (at 0 0 0) (hide yes) (effects (font (size 1.27 1.27))))'))
(p/(slug+'.kicad_sym')).write_text('(kicad_symbol_lib (version 20231120) (generator "adom-component-audit")\n'+sexp.dump(s)+'\n)\n')
fp={'footprintName':mpn+'_Vertical','description':'Samtec single-row 1.27mm pitch, recommended 0.71mm hole; 1mm pad is Adom process candidate.','pads':[dict(number=str(i+1),x=0,y=i*1.27,dx=1,dy=1,drill=.71,type='thru_hole',shape='rect' if i==0 else 'circle') for i in range(5)],'body':dict(x1=-1.08,y1=-.635,x2=1.08,y2=5.715),'courtyard':dict(x1=-1.45,y1=-1,x2=1.45,y2=6.1)};(p/'footprint-input.json').write_text(json.dumps(fp,indent=2)+'\n')
d=json.loads((root/'components/m20-9990246/page.json').read_text());d.update(slug=slug,title=mpn+' single-row programming header',description='Five-position 1.27 mm through-hole header with original nominal CAD and documented hole-size review.',brief='Exact single-row header; provisional mechanical and process qualification.',tags=['header','Samtec','SWD'],source={'name':'Samtec','url':'https://www.samtec.com/products/'+slug})
c=d['component'];c.update(mpn=mpn,manufacturer='Samtec',package='FTS single-row through-hole',pin_count=5,datasheet='https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-mkt.pdf',wiki_url='https://wiki.adom.inc/adom/'+slug,distributor_links={'digikey':'FTS-105-01-L-S-ND'},pins=[{'number':str(i),'name':str(i),'type':'passive'} for i in range(1,6)])
c['parts']={k:v.replace('m20-9990246',slug) for k,v in c['parts'].items()};c['parts'].pop('datasheet',None)
(p/'page.json').write_text(json.dumps(d,indent=2)+'\n');d.update(name='@adom/'+slug,files=['README.md','LICENSE','THIRD_PARTY.md','page.json','package.json','provenance.json','footprint-input.json',slug+'*','symbol.html','footprint.html','hero.png','skills/**','build_model.py'],dependencies={});(p/'package.json').write_text(json.dumps(d,indent=2)+'\n');shutil.copyfile(root/'components/m20-9990246/LICENSE',p/'LICENSE')
(p/'README.md').write_text('''# FTS-105-01-L-S single-row header
Samtec five-position, 1.27 mm pitch, single-row through-hole terminal strip. -01 selects the 3.05 mm drawing dimension A; -L specifies 10 microinch gold in the contact area with matte tin tails; the final -S selects single-row through-hole. It is not the -SV surface-mount or double-row variant.
The single-row drawing, revision AE, shows A from seating plane to tip. The nominal housing is 0.86 mm high, so exposed post above the housing is approximately 2.19 mm. Tail length is 2.29 mm below seating, and square pin width is 0.41 mm reference. Five-position body length is 6.35 mm and width 2.16 mm reference. Do not add another housing height to A when building an assembly model.
Samtec recommends 0.71 mm PCB holes. The existing electronic-load board24 uses 0.65 mm; that discrepancy is unresolved. This candidate uses 0.71 mm holes and Adom-selected 1.00 mm pads. Finished-hole tolerances, annular ring, soldering and clearance must be checked before adopting it. No board copper was changed.
The original nominal model includes five separate contacts, gold-colored posts and tin-colored tails. Flat tips and a plain housing omit actual chamfers, molded recesses, flash, burr and sway tolerances. Colors identify nominal plating regions, not measured coating boundaries. This is not manufacturer CAD. No manufacturer CAD or drawing is redistributed here; use the linked originals.
J11 is a custom five-wire SWD connection: 1=3V3 reference, 2=SWDIO, 3=SWCLK, 4=NRST, 5=GND. This is not the standard ten-pin Cortex connector. Verify probe voltage, orientation and cable mapping; the header is unkeyed. Do not drive target power from a probe without checking the power arrangement. Pins in the reusable component symbol are passive physical contacts.
[Exact product](https://www.samtec.com/products/fts-105-01-l-s) · [Single-row drawing](https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-mkt.pdf) · [Recommended footprint](https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-footprint.pdf)
STEP uses mm, GLB meters, Z up, with pin 1 at origin and subsequent pins along negative model Y (positive PCB Y). Use clean geometry in assemblies, the annotated hero only for reference. Physical fit and circuit qualification remain pending.
''')
(p/'THIRD_PARTY.md').write_text('Original Adom project connector symbol, footprint transcription, nominal CAD and documentation are MIT. Manufacturer drawings and CAD are not bundled; follow links to Samtec. Generator uses OCP on the existing shared STEP service.\n')
(p/'provenance.json').write_text(json.dumps({'part':mpn,'reviewDate':'2026-10-11','sources':['https://www.samtec.com/products/fts-105-01-l-s','https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-mkt.pdf','https://suddendocs.samtec.com/prints/fts-1xx-xx-x-sx-footprint.pdf'],'model':{'kind':'Original Adom nominal model','license':'MIT','limitations':['Flat tips','Plain housing','No tolerance envelope','Nominal plating color regions']},'qualification':'provisional','visualReview':{'local':'pending','wiki':'pending; browser closed'},'assetSha256':{}},indent=2)+'\n')
q=p/'skills'/slug;q.mkdir(parents=True,exist_ok=True);(q/'SKILL.md').write_text('''---
name: fts-105-01-l-s
description: Import and check the exact Samtec single-row programming header and custom cable mapping.
---
# FTS-105-01-L-S
Parent skill: wiki-component.
Read README.md and provenance.json. Preserve -S through-hole single row, -01 height and -L plating. Use the single-row drawing, not the double-row default link on the product page.
The model is nominal original geometry, not manufacturer CAD. Drawing A is seating-to-tip; do not add housing height again. Review 0.71 mm recommended holes against actual finished drill tolerances. Existing board24 uses 0.65 mm and remains under review.
J11 uses a custom 3V3, SWDIO, SWCLK, NRST, GND order. The header is unkeyed and is not a standard ten-pin Cortex connector. Verify the mating cable and voltage before connecting. Preserve physical qualification gates.
''')