← Commit history

Initial commit: component/ina240

Ray ·7e58dd95a1 ·
2 files changed +88
README.mdadded+52
@@ -0,0 +1,52 @@+# INA240++**Texas Instruments** · Bidirectional current-sense amplifier · SOIC-8++A high- and low-side, bidirectional current-sense amplifier in SOIC-8, built for measuring motor and solenoid currents. It reads the small voltage across a shunt resistor whose common-mode can sit anywhere from -4 V to +80 V, independent of its own supply, so it works on the high side of a battery rail or across a low-side shunt. Its standout feature is enhanced PWM rejection: it rejects the large common-mode steps that switching motor drives produce, giving a clean current signal where an ordinary op-amp shunt monitor would ring. A REF input centers the output for bidirectional (charge/discharge, forward/reverse) sensing. Fixed gains of 20 to 200 V/V are offered by variant. Runs 2.7-5.5 V.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | NC | unconnected | No internal connection. Reserved - connect to ground or leave floating. |+| 2 | IN+ | input | Non-inverting differential analog input. Connect to the supply (high) side of the shunt resistor. Common-mode range −4 V to +80 V independent of VS. |+| 3 | IN- | input | Inverting differential analog input. Connect to the load side of the shunt resistor. Shares the −4 V to +80 V common-mode range with IN+. |+| 4 | GND | power_in | Analog ground / device ground return. |+| 5 | VS | power_in | Positive supply, 2.7 V to 5.5 V. Bypass to GND with a 0.1 µF ceramic close to the pin. Quiescent current 1.8 mA typ, 2.4 mA max. |+| 6 | REF2 | input | Reference-2 input for setting the output midpoint. Valid input range 0 V to VS. Tie to VS or to a second reference to configure unidirectional or bidirectional output midpoint. |+| 7 | REF1 | input | Reference-1 input for setting the output midpoint. Valid input range 0 V to VS. Combined with REF2 to form the output offset per the Adjusting the Output Midpoint With the Reference Pins section. |+| 8 | OUT | output | Buffered analog output voltage, VOUT = Gain × VSENSE + VREF, where Gain is 20/50/100/200 V/V for A1/A2/A3/A4. Swings from GND+10 mV to VS−0.2 V into 10 kΩ. |++## Key specifications++| Parameter | Value |+|---|---|+| Type | Bidirectional current-sense amplifier |+| Common-mode range | -4 V to +80 V |+| Feature | enhanced PWM rejection |+| Gain | 20 / 50 / 100 / 200 V/V (by variant) |+| Bandwidth | 400 kHz |+| Reference | REF pins (bidirectional zero) |+| Supply voltage | 2.7-5.5 V |+| Package | SOIC-8 |++## Ordering variants++- `INA240A1D (SOIC-8, gain 20)`+- `INA240A2D (SOIC-8, gain 50)`++## CAD (KiCad official)++- Symbol: `Amplifier_Current:INA240A1D`+- Footprint: `Package_SO:SOIC-8_3.9x4.9mm_P1.27mm`+- 3D model: SOIC-8 (KiCad packages3D)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Texas Instruments datasheet](https://www.ti.com/lit/ds/symlink/ina240.pdf) (39 pp, sha256 `c9d26e72ebdb52a1`, retrieved 2026-08-17, tier: manufacturer)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/ina240-datasheet.pdf)
page.jsonadded+36
@@ -0,0 +1,36 @@+{+  "slug": "ina240",+  "version": "0.1.0",+  "type": "component",+  "description": "TI bidirectional current-sense amplifier, SOIC-8. -4 to 80 V common-mode, enhanced PWM rejection. Datasheet-verified.",+  "tags": [+    "component",+    "amplifier",+    "current-sense",+    "instrumentation",+    "motor-control",+    "soic-8",+    "texas-instruments"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "ina240.kicad_sym",+    "ina240.kicad_mod",+    "ina240.glb",+    "docs/hero.png",+    "docs/ina240-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file