mohan-bee/mini-mp3-player

Portable, battery-powered MP3 player hardware with USB charging, microSD storage, an MCU, VS10xx audio decoder, headphone output, status controls, and regulated power rails.

Version
1.2.0
License
unset
Stars
0

imports/TF_01A.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["DAT2"],
  pin2: ["CD2","DAT3"],
  pin3: ["CMD"],
  pin4: ["VDD"],
  pin5: ["CLK"],
  pin6: ["VSS"],
  pin7: ["DAT0"],
  pin8: ["DAT1"],
  pin9: ["CD1"],
  pin10: ["GND4"],
  pin11: ["GND1"],
  pin12: ["GND2"],
  pin13: ["GND3"]
} as const

const pinAttributes = {
  pin4: {requiresPower: true},
  pin6: {requiresGround: true},
  pin10: {requiresGround: true},
  pin11: {requiresGround: true},
  pin12: {requiresGround: true},
  pin13: {requiresGround: true}
} as const

export const TF_01A = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2889258"
  ]
}}
      manufacturerPartNumber="TF-01A"
      footprint={<footprint>
        <hole pcbX="3.053969mm" pcbY="-5.5500143mm" diameter="0.999998mm" />
<hole pcbX="-4.946015mm" pcbY="-5.5500143mm" diameter="0.999998mm" />
<smtpad portHints={["pin11"]} pcbX="-7.745857mm" pcbY="-5.1499643mm" width="1.1999976mm" height="2.1999956mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="7.753985mm" pcbY="-5.1499643mm" width="1.1999976mm" height="2.1999956mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="6.854063mm" pcbY="4.4499657mm" width="1.5999968mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-7.753985mm" pcbY="4.4499657mm" width="1.1999976mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-6.553835mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-5.454015mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-4.353941mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-3.254629mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-2.154301mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.054481mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.045847mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.145413mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="2.244979mm" pcbY="5.4499637mm" width="0.700024mm" height="1.5999968mm" shape="rect" />
<silkscreenpath route={[{"x":-7.394828999999959,"y":-6.480416300000002},{"x":-7.394828999999959,"y":-8.639416299999993},{"x":-0.021208999999998923,"y":-8.639416299999993},{"x":3.6389310000000705,"y":-9.53095630000007},{"x":7.3905110000000604,"y":-9.53095630000007},{"x":7.3905110000000604,"y":-6.480416300000002}]} />
<silkscreenpath route={[{"x":7.319390999999996,"y":-3.7584507000001395},{"x":7.319390999999996,"y":3.429749299999912}]} />
<silkscreenpath route={[{"x":-7.412609000000089,"y":3.509403700000007},{"x":-7.393787599999996,"y":-3.8680009000001974}]} />
<silkscreenpath route={[{"x":2.7395170000000917,"y":5.075567699999851},{"x":5.838571000000002,"y":5.076583699999901}]} />
<silkscreentext text="{NAME}" pcbX="0.004191mm" pcbY="7.2424437mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.603983800000037,"y":6.499962099999948},{"x":8.603983800000037,"y":6.499962099999948},{"x":8.603983800000037,"y":-9.777984500000116},{"x":-8.603983800000037,"y":-9.777984500000116},{"x":-8.603983800000037,"y":6.499962099999948}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2889258.obj?uuid=f079cc384a36477389d4f8e10a497301",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2889258.step?uuid=f079cc384a36477389d4f8e10a497301",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.004063999999971202, y: 2.027999500000078, z: -1.9500012 },
      }}
      {...props}
    />
  )
}