mohan-bee/fitness-band

A 4-layer BLE wearable mainboard with Li-ion charging/protection, 3.3/1.8 V power regulation, motion and battery sensing, plus a folded 2-layer flex sensor board carrying MAX30102 optical and TMP117 temperature sensors.

Version
0.0.2
License
unset
Stars
0

imports/MCP73871.tsx

import { type ChipProps } from "tscircuit"
const pinLabels={pin1:["OUT1"],pin2:["VPCC"],pin3:["SEL"],pin4:["PROG2"],pin5:["THERM"],pin6:["PG"],pin7:["STAT2"],pin8:["STAT1"],pin9:["N_TE"],pin10:["VSS1"],pin11:["VSS2"],pin12:["PROG3"],pin13:["PROG1"],pin14:["BAT1"],pin15:["BAT2"],pin16:["BAT_SENSE"],pin17:["CE"],pin18:["IN1"],pin19:["IN2"],pin20:["OUT2"],pin21:["EP"]} as const
export const MCP73871 = (props: ChipProps) => (
  <chip
    pinLabels={pinLabels}
    manufacturerPartNumber="MCP73871T-2CCI/ML"
    footprint={<footprint>
        <smtpad portHints={["1"]} pcbX="-2mm" pcbY="1mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["2"]} pcbX="-2mm" pcbY="0.5mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["3"]} pcbX="-2mm" pcbY="0mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["4"]} pcbX="-2mm" pcbY="-0.5mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["5"]} pcbX="-2mm" pcbY="-1mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["6"]} pcbX="-1mm" pcbY="-2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["7"]} pcbX="-0.5mm" pcbY="-2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["8"]} pcbX="0mm" pcbY="-2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["9"]} pcbX="0.5mm" pcbY="-2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["10"]} pcbX="1mm" pcbY="-2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["11"]} pcbX="2mm" pcbY="-1mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["12"]} pcbX="2mm" pcbY="-0.5mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["13"]} pcbX="2mm" pcbY="0mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["14"]} pcbX="2mm" pcbY="0.5mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["15"]} pcbX="2mm" pcbY="1mm" layer="top" cornerRadius="0.03125mm" width="0.8mm" height="0.3mm" shape="rect" />
<smtpad portHints={["16"]} pcbX="1mm" pcbY="2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["17"]} pcbX="0.5mm" pcbY="2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["18"]} pcbX="0mm" pcbY="2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["19"]} pcbX="-0.5mm" pcbY="2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["20"]} pcbX="-1mm" pcbY="2mm" layer="top" cornerRadius="0.03125mm" width="0.3mm" height="0.8mm" shape="rect" />
<smtpad portHints={["21"]} pcbX="0mm" pcbY="0mm" layer="top" noSolderPaste width="2.8mm" height="2.8mm" shape="rect" />
<silkscreenpath route={[{"x":-2.11,"y":2.11},{"x":-1.385,"y":2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":-2.11,"y":1.385},{"x":-2.11,"y":2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":-2.11,"y":-2.11},{"x":-2.11,"y":-1.385}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":-1.385,"y":-2.11},{"x":-2.11,"y":-2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":1.385,"y":2.11},{"x":2.11,"y":2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":2.11,"y":2.11},{"x":2.11,"y":1.385}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":2.11,"y":-1.385},{"x":2.11,"y":-2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":2.11,"y":-2.11},{"x":1.385,"y":-2.11}]} strokeWidth={0.12} />
<silkscreenpath route={[{"x":-2.61,"y":1},{"x":-2.94,"y":0.76},{"x":-2.94,"y":1.24}]} strokeWidth={0.12} />
<fabricationnotepath route={[{"x":-1,"y":2},{"x":2,"y":2},{"x":2,"y":-2},{"x":-2,"y":-2},{"x":-2,"y":1}]} strokeWidth={0.1} />
<fabricationnotetext pcbX={0} pcbY={-3.3} anchorAlignment="center" text="QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm" font="tscircuit2024" fontSize={1} />
<fabricationnotetext pcbX={0} pcbY={0} anchorAlignment="center" text="REF**" font="tscircuit2024" fontSize={1} />
<silkscreentext pcbX={0} pcbY={3.3} anchorAlignment="center" fontSize={1} font="tscircuit2024" layer="top" text="REF**" />
<courtyardrect width={5.2} height={5.2} />
</footprint>}
    {...props}
  />
)