tscircuit/boosters
This code defines PCB schematics, footprints, and 3D CAD models for various integrated circuits, connectors, sensors, and electronic components used in TI booster packs and modules.
- Version
- 0.1.19
- License
- unset
- Stars
- 0
boostxl-tlv8544pir/imports/INA226AIDGSR.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["A1"],
pin2: ["A0"],
pin3: ["Alert"],
pin4: ["SDA"],
pin5: ["SCL"],
pin6: ["VS_POS"],
pin7: ["GND"],
pin8: ["VBUS"],
pin9: ["VIN_NEG"],
pin10: ["VIN_POS"],
} as const;
export const INA226AIDGSR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C49851"],
}}
manufacturerPartNumber="INA226AIDGSR"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-0.999998mm"
pcbY="-2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin2"]}
pcbX="-0.499872mm"
pcbY="-2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin3"]}
pcbX="0mm"
pcbY="-2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin4"]}
pcbX="0.500126mm"
pcbY="-2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin5"]}
pcbX="0.999998mm"
pcbY="-2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin10"]}
pcbX="-0.999998mm"
pcbY="2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin9"]}
pcbX="-0.499872mm"
pcbY="2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin8"]}
pcbX="0mm"
pcbY="2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin7"]}
pcbX="0.500126mm"
pcbY="2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin6"]}
pcbX="0.999998mm"
pcbY="2.109978mm"
width="0.2800096mm"
height="1.620012mm"
radius="0.1400048mm"
shape="pill"
/>
<silkscreenpath
route={[
{ x: -1.5761970000000929, y: -1.0713974000000235 },
{ x: -1.5761970000000929, y: 1.0713974000000235 },
{ x: 1.5761969999998655, y: 1.0713974000000235 },
{ x: 1.5761969999998655, y: -1.0713974000000235 },
{ x: -1.5761970000000929, y: -1.0713974000000235 },
]}
/>
<silkscreenpath
route={[
{ x: -0.8498840000000882, y: -0.3190239999998994 },
{ x: -0.8549990105125289, y: -0.3578763621364942 },
{ x: -0.8699954625362807, y: -0.39408099999991464 },
{ x: -0.8938513726488964, y: -0.4251706273510081 },
{ x: -0.9249409999999898, y: -0.44902653746362375 },
{ x: -0.9611456378635239, y: -0.4640229894873755 },
{ x: -0.999998000000005, y: -0.4691379999999299 },
{ x: -1.0388503621365999, y: -0.4640229894873755 },
{ x: -1.0750550000000203, y: -0.44902653746362375 },
{ x: -1.1061446273511137, y: -0.4251706273510081 },
{ x: -1.1300005374637294, y: -0.39408099999991464 },
{ x: -1.1449969894874812, y: -0.3578763621364942 },
{ x: -1.1501120000000356, y: -0.3190239999998994 },
{ x: -1.1449969894874812, y: -0.28017163786330457 },
{ x: -1.1300005374637294, y: -0.24396699999988414 },
{ x: -1.1061446273511137, y: -0.21287737264890438 },
{ x: -1.0750550000000203, y: -0.1890214625362887 },
{ x: -1.0388503621365999, y: -0.17402501051242325 },
{ x: -0.999998000000005, y: -0.1689099999998689 },
{ x: -0.9611456378635239, y: -0.17402501051242325 },
{ x: -0.9249409999999898, y: -0.1890214625362887 },
{ x: -0.8938513726488964, y: -0.21287737264890438 },
{ x: -0.8699954625362807, y: -0.24396699999988414 },
{ x: -0.8549990105125289, y: -0.28017163786330457 },
{ x: -0.8498840000000882, y: -0.3190239999998994 },
]}
/>
<silkscreenpath
route={[
{ x: -1.4422119999999268, y: -2.1099779999999555 },
{ x: -1.4473270105124811, y: -2.1488303621365503 },
{ x: -1.4623234625363466, y: -2.1850349999999708 },
{ x: -1.4861793726489623, y: -2.2161246273509505 },
{ x: -1.517268999999942, y: -2.239980537463566 },
{ x: -1.5534736378633625, y: -2.2549769894874316 },
{ x: -1.5923259999999573, y: -2.260091999999986 },
{ x: -1.631178362136552, y: -2.2549769894874316 },
{ x: -1.6673829999999725, y: -2.239980537463566 },
{ x: -1.698472627351066, y: -2.2161246273509505 },
{ x: -1.7223285374636816, y: -2.1850349999999708 },
{ x: -1.7373249894874334, y: -2.1488303621365503 },
{ x: -1.7424399999999878, y: -2.1099779999999555 },
{ x: -1.7373249894874334, y: -2.0711256378633607 },
{ x: -1.7223285374636816, y: -2.0349209999999402 },
{ x: -1.698472627351066, y: -2.003831372648847 },
{ x: -1.6673829999999725, y: -1.9799754625362311 },
{ x: -1.631178362136552, y: -1.9649790105123657 },
{ x: -1.5923259999999573, y: -1.959863999999925 },
{ x: -1.5534736378633625, y: -1.9649790105123657 },
{ x: -1.517268999999942, y: -1.9799754625362311 },
{ x: -1.4861793726489623, y: -2.003831372648847 },
{ x: -1.4623234625363466, y: -2.0349209999999402 },
{ x: -1.4473270105124811, y: -2.0711256378633607 },
{ x: -1.4422119999999268, y: -2.1099779999999555 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="-0.0889mm"
pcbY="3.7686mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -2.0026000000000295, y: 3.018600000000106 },
{ x: 1.8247999999998683, y: 3.018600000000106 },
{ x: 1.8247999999998683, y: -3.145599999999945 },
{ x: -2.0026000000000295, y: -3.145599999999945 },
{ x: -2.0026000000000295, y: 3.018600000000106 },
]}
/>
</footprint>
}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49851.obj?uuid=a8ab40c7a7c54773a59b712bf86c7131",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49851.step?uuid=a8ab40c7a7c54773a59b712bf86c7131",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
);
};