{
 "version": "2026-10-20",
 "license": "Dimension sheets: CC BY 4.0. Standard and published-size files: CC BY 4.0. Xem Studio's own designs (files_license = Xem Studio Design License): free to use and sell things from, not to redistribute as files — https://xemstudio.com/license/. Other publishers' files: their own license, linked beside them.",
 "slug": "ams-as5040-ssop16",
 "name": "ams AS5040 magnetic rotary encoder IC (SSOP16) — package footprint and magnet alignment",
 "kind": "modern",
 "category": "Electronic components",
 "group": "Modules, sensors & displays",
 "year": null,
 "question": "What are the AS5040 SSOP16 package dimensions and where does the magnet go?",
 "tags": [
  "magnetic encoder",
  "rotary encoder ic",
  "ssop16 package",
  "hall angle sensor",
  "magnet alignment",
  "diametric magnet encoder"
 ],
 "aliases": [
  "as5040",
  "as5040 encoder",
  "AS5040-ASST",
  "AS5040-ASSM",
  "ams as5040 ssop16",
  "as5040 magnet distance",
  "austriamicrosystems as5040",
  "10-bit magnetic rotary encoder"
 ],
 "overall_mm": {
  "length": 7.8,
  "width": 6.2,
  "height": 1.73
 },
 "official_cad": false,
 "xem_status": "free-files",
 "les": false,
 "free_files": 1,
 "url": "https://xemstudio.com/objects/ams-as5040-ssop16/",
 "sheet_txt": "https://xemstudio.com/objects/ams-as5040-ssop16/sheet.txt",
 "sheet": {
  "basis": "ams AS5040 datasheet package drawing (SSOP16 table, rev 2.10) and magnet specification (v2-12), cross-checked with the AS5140H SSOP16 table.",
  "overall_mm": {
   "length": 7.8,
   "width": 6.2,
   "height": 1.73
  },
  "notes": [
   "Exact nominal dimensions. Body 6.20 (D, along the pin rows) × 5.30 (E1) mm; lead tip span E = 7.80 mm; datum is the package centre, seating plane on z=0.",
   "16 gull-wing leads, 8 per side, 0.65 mm pitch, lead width b 0.315 mm, foot length L 0.75 mm typ.",
   "Modelled height 1.73 mm (body thickness A2); the datasheet gives 1.86 mm maximum seated height (A) with a 0.13 mm standoff (A1).",
   "Magnet axis on the package centre; the Hall array is a Ø2.2 mm circle (radius 1.1) around the die centre, and the die may sit up to ±0.235 mm off the package centre. Keep the magnet axis within 0.25 mm of the package centre.",
   "Recommended magnet: diametrically magnetised cylinder Ø6 × 2.5 mm. SMD part, no mounting holes. Not modelled: lead bends, mould draft, pin-1 mark."
  ],
  "table": {
   "columns": [
    "dimension",
    "symbol",
    "mm"
   ],
   "rows": [
    [
     "body length",
     "D",
     6.2
    ],
    [
     "body width",
     "E1",
     5.3
    ],
    [
     "lead span",
     "E",
     7.8
    ],
    [
     "pitch",
     "e",
     0.65
    ],
    [
     "lead width",
     "b",
     0.315
    ],
    [
     "max height",
     "A",
     1.86
    ],
    [
     "standoff",
     "A1",
     0.13
    ],
    [
     "body thickness",
     "A2",
     1.73
    ]
   ]
  }
 },
 "sheet_text": "ams AS5040 magnetic rotary encoder IC (SSOP16) — package footprint and magnet alignment — dimension sheet\nSource: Xem Studio, https://xemstudio.com/objects/ams-as5040-ssop16/  (sheet CC BY 4.0)\nBasis: ams AS5040 datasheet package drawing (SSOP16 table, rev 2.10) and magnet specification (v2-12), cross-checked with the AS5140H SSOP16 table.\nCatalog version: 2026-10-20\n\nOverall (mm): length 7.8, width 6.2, height 1.73\n- Exact nominal dimensions. Body 6.20 (D, along the pin rows) × 5.30 (E1) mm; lead tip span E = 7.80 mm; datum is the package centre, seating plane on z=0.\n- 16 gull-wing leads, 8 per side, 0.65 mm pitch, lead width b 0.315 mm, foot length L 0.75 mm typ.\n- Modelled height 1.73 mm (body thickness A2); the datasheet gives 1.86 mm maximum seated height (A) with a 0.13 mm standoff (A1).\n- Magnet axis on the package centre; the Hall array is a Ø2.2 mm circle (radius 1.1) around the die centre, and the die may sit up to ±0.235 mm off the package centre. Keep the magnet axis within 0.25 mm of the package centre.\n- Recommended magnet: diametrically magnetised cylinder Ø6 × 2.5 mm. SMD part, no mounting holes. Not modelled: lead bends, mould draft, pin-1 mark.\n\ndimension  symbol  mm\nbody length  D  6.2\nbody width  E1  5.3\nlead span  E  7.8\npitch  e  0.65\nlead width  b  0.315\nmax height  A  1.86\nstandoff  A1  0.13\nbody thickness  A2  1.73\n\nFiles elsewhere (not hosted by Xem Studio; license as stated by the publisher):\n- ams (datasheet, via elecfans): AS5040 datasheet rev 2.10 — package drawing — web — Publisher's page; dimensions are facts — https://pdf.elecfans.com/AMSCO/AS5040.html\n- ams (datasheet, via chipsmall): AS5040 datasheet v2-12 — magnetic input specification — web — Publisher's page; dimensions are facts — https://datasheet.chipsmall.com/AS5040-ASSM/107764.pdf\n- ams (datasheet, via dtsheet): AS5140H datasheet v1-08 — same SSOP16 table — web — Publisher's page; dimensions are facts — https://dtsheet.com/doc/1463506/pdf\n\nFree files (CC BY 4.0, Xem Studio; STEP + STL, 1 parts): https://xemstudio.com/files/hardware/ams-as5040-ssop16/index.json\nAPI: https://xemstudio.com/api/geometry?object=ams-as5040-ssop16\n",
 "sources": [
  {
   "publisher": "ams (datasheet, via elecfans)",
   "title": "AS5040 datasheet rev 2.10 — package drawing",
   "url": "https://pdf.elecfans.com/AMSCO/AS5040.html",
   "formats": [
    "web"
   ],
   "license": "Publisher's page; dimensions are facts",
   "license_verified": true,
   "hosted": false
  },
  {
   "publisher": "ams (datasheet, via chipsmall)",
   "title": "AS5040 datasheet v2-12 — magnetic input specification",
   "url": "https://datasheet.chipsmall.com/AS5040-ASSM/107764.pdf",
   "formats": [
    "web"
   ],
   "license": "Publisher's page; dimensions are facts",
   "license_verified": true,
   "hosted": false
  },
  {
   "publisher": "ams (datasheet, via dtsheet)",
   "title": "AS5140H datasheet v1-08 — same SSOP16 table",
   "url": "https://dtsheet.com/doc/1463506/pdf",
   "formats": [
    "web"
   ],
   "license": "Publisher's page; dimensions are facts",
   "license_verified": true,
   "hosted": false
  }
 ],
 "xem": {
  "status": "free-files",
  "sheet_free": true,
  "mesh_price_usd": null,
  "step_price_usd": null,
  "tolerance_mm": null
 },
 "related": [
  "neodymium-disc-magnets",
  "nema-17-stepper",
  "dc-motor-370-size",
  "adafruit-stemma-qt-breakouts"
 ],
 "fits": [],
 "dimensions": "exact (nominal, no tolerance added)",
 "dimension_rule": "All geometry on Xem Studio is exact (nominal, true size) with no tolerance added. Where a part meets another part, the object lists its mating features (feature, exact size, what it mates with, fit class: press, slide, run, socket, clamp or designed). Apply your process's allowance to those features only; 'designed' gaps are part of the design and stay as drawn. Typical accuracy by process and ISO 286 fits: https://xemstudio.com/tolerances/",
 "mating": [
  {
   "feature": "SSOP16 footprint",
   "exact": "16 leads, 0.65 pitch, 7.80 lead span, 6.20 × 5.30 body",
   "mates": "SSOP16 (5.3 mm body) PCB land pattern",
   "fit": "designed",
   "files": "all"
  },
  {
   "feature": "magnet axis",
   "exact": "on package centre, ±0.25 radial; Hall circle radius 1.1",
   "mates": "Ø6 × 2.5 diametric magnet on the shaft end",
   "fit": "designed",
   "files": "all"
  }
 ],
 "fit_classes": {
  "press": "stays put: pin, tube, bearing or magnet held by interference. ISO 286 equivalent: H7/p6 (locational interference) or tighter.",
  "slide": "assembles by hand and is held by a grub, pinch or clamp: shaft in a hub, rod in a socket, spigot in a bore. ISO 286 equivalent: H7/g6 or H7/h6.",
  "run": "turns or slides in use: pin in a link, rod through a guide. ISO 286 equivalent: H8/f7 (close running).",
  "socket": "large sliding fit: syringe barrel, sleeve, bobbin in a bore. ISO 286 equivalent: H9/d9 (free running) or looser.",
  "clamp": "split part that closes on the mating part with screws: make it at size.",
  "designed": "a gap that is part of the design (piston fit option, displacer gap, air gap): do not change."
 },
 "faq": [
  {
   "q": "What package is the AS5040?",
   "a": "SSOP16 with a 5.3 mm body: 6.20 × 5.30 mm body, 7.80 mm across the leads, 0.65 mm pitch, 1.86 mm max height."
  },
  {
   "q": "What magnet does the AS5040 use?",
   "a": "A diametrically magnetised Ø6 × 2.5 mm cylinder on the package centre axis, within 0.25 mm."
  },
  {
   "q": "How far off-centre can the die be?",
   "a": "Up to ±0.235 mm in X and Y from the package centre; the Hall sensors sit on a 1.1 mm radius around the die centre."
  }
 ],
 "files_license": null,
 "offers": [
  {
   "file": "ams-as5040-ssop16",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/ams-as5040-ssop16/ams-as5040-ssop16.step",
   "stl": "https://xemstudio.com/files/hardware/ams-as5040-ssop16/ams-as5040-ssop16.stl",
   "note": "ams AS5040 magnetic rotary encoder IC (SSOP16) — package footprint and magnet alignment"
  }
 ],
 "markdown": "https://xemstudio.com/objects/ams-as5040-ssop16/index.md"
}