rushabhcodes/ESP32-E-Reader
A compact ESP32-C3 e-reader PCB integrating LiPo charging/protection, USB-C, 3.3 V regulation, e-paper display bias generation, microSD storage, and tactile controls.
- Version
- 1.0.85
- License
- unset
- Stars
- 3
imports/BQ24073RGTR.tsx
import objPath from "../assets/components/C15220.obj";
import type { ChipProps } from "@tscircuit/props";
export const pinLabels = {
pin1: ["TS"],
pin2: ["BAT1"],
pin3: ["BAT2"],
pin4: ["N_CE"],
pin5: ["EN2"],
pin6: ["EN1"],
pin7: ["N_PGOOD"],
pin8: ["VSS"],
pin9: ["N_CHG"],
pin10: ["OUT1"],
pin11: ["OUT2"],
pin12: ["ILIM"],
pin13: ["IN"],
pin14: ["TMR"],
pin15: ["TD"],
pin16: ["ISET"],
pin17: ["EP"],
} as const;
const pinAttributes = {
pin2: { requiresPower: true },
pin3: { requiresPower: true },
pin8: { requiresGround: true },
pin10: { requiresPower: true },
pin11: { requiresPower: true },
pin13: { requiresPower: true },
pin15: { requiresGround: true },
pin17: { requiresGround: true },
} as const;
export const BQ24073RGTR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
jlcpcb: ["C15220"],
}}
manufacturerPartNumber="BQ24073RGTR"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-1.499997mm"
pcbY="0.750189mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin2"]}
pcbX="-1.499997mm"
pcbY="0.250063mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin3"]}
pcbX="-1.499997mm"
pcbY="-0.249809mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin4"]}
pcbX="-1.499997mm"
pcbY="-0.749935mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin5"]}
pcbX="-0.749935mm"
pcbY="-1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin6"]}
pcbX="-0.249809mm"
pcbY="-1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin7"]}
pcbX="0.250063mm"
pcbY="-1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin8"]}
pcbX="0.750189mm"
pcbY="-1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin9"]}
pcbX="1.499997mm"
pcbY="-0.749935mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin10"]}
pcbX="1.499997mm"
pcbY="-0.249809mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin11"]}
pcbX="1.499997mm"
pcbY="0.250063mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin12"]}
pcbX="1.499997mm"
pcbY="0.750189mm"
width="0.850011mm"
height="0.2800096mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin13"]}
pcbX="0.750189mm"
pcbY="1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin14"]}
pcbX="0.250063mm"
pcbY="1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin15"]}
pcbX="-0.249809mm"
pcbY="1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin16"]}
pcbX="-0.749935mm"
pcbY="1.499997mm"
width="0.2800096mm"
height="0.850011mm"
radius="0.1400048mm"
shape="pill"
/>
<smtpad
portHints={["pin17"]}
points={[
{ x: "0.8501126mm", y: "0.8501126mm" },
{ x: "0.8501126mm", y: "-0.849884mm" },
{ x: "-0.849884mm", y: "-0.849884mm" },
{ x: "-0.849884mm", y: "0.4251198mm" },
{ x: "-0.4248658mm", y: "0.850138mm" },
]}
shape="polygon"
/>
<silkscreenpath
route={[
{ x: 1.2751307999999995, y: -1.7247107999999969 },
{ x: 1.724964799999995, y: -1.7247107999999969 },
{ x: 1.724964799999995, y: -1.2748768000000013 },
]}
/>
<silkscreenpath
route={[
{ x: 1.2751307999999995, y: 1.7251172000000068 },
{ x: 1.724964799999995, y: 1.7251172000000068 },
{ x: 1.724964799999995, y: 1.2752832000000112 },
]}
/>
<silkscreenpath
route={[
{ x: -1.7248632000000015, y: 1.2752832000000112 },
{ x: -1.7248632000000015, y: 1.7251172000000068 },
{ x: -1.2750292000000059, y: 1.7251172000000068 },
]}
/>
<silkscreenpath
route={[
{ x: -1.2750292000000059, y: -1.7247107999999969 },
{ x: -1.7248632000000015, y: -1.7247107999999969 },
{ x: -1.7248632000000015, y: -1.2748768000000013 },
]}
/>
<silkscreenpath
route={[
{ x: -2.0751292000000063, y: 1.5242032000000023 },
{ x: -2.2257712297039234, y: 1.6729442559976633 },
{ x: -2.3751486240147415, y: 1.5229332000000042 },
{ x: -2.2257712297039234, y: 1.3729221440023451 },
{ x: -2.0751292000000063, y: 1.521663200000006 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="-0.231775mm"
pcbY="2.920875mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -2.6280749999999955, y: 2.1708750000000094 },
{ x: 2.1645249999999976, y: 2.1708750000000094 },
{ x: 2.1645249999999976, y: -2.189924999999988 },
{ x: -2.6280749999999955, y: -2.189924999999988 },
{ x: -2.6280749999999955, y: 2.1708750000000094 },
]}
/>
</footprint>
}
cadModel={{
objUrl: objPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.000012699999999199463, z: 0 },
}}
{...props}
/>
);
};