aj0070/uwb-tag

A compact USB‑C rechargeable 3.3 V UWB sensor board featuring a Li‑ion charger, LDO, wireless MCU, UWB module, 6‑axis IMU, USB‑C and battery connectors, SWD header, button, and status LEDs.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/uwb-tag  # download the package files into ./uwb-tag
tsci add aj0070/uwb-tag    # add it to your project as @tsci/aj0070.uwb-tag

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/MCP73831T_2ACI_OT.tsx

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

const pinLabels = {
  pin1: ["STAT"],
  pin2: ["VSS"],
  pin3: ["VBAT"],
  pin4: ["VDD"],
  pin5: ["PROG"]
} as const

const pinAttributes = {
  pin2: {isPassive: true, requiresGround: true, mustBeConnected: true},
  pin4: {isInput: true, requiresPower: true, mustBeConnected: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "4.7uF"},
  pin1: {isOutput: true, canUseTriState: true},
  pin3: {isOutput: true, providesPower: true, shouldHaveDecouplingCapacitor: true, recommendedDecouplingCapacitorCapacitance: "4.7uF"},
  pin5: {isInput: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>

export const MCP73831T_2ACI_OT = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C424093"
  ]
}}
      manufacturerPartNumber="MCP73831T-2ACI/OT"
      footprint="dfn6_missing(5)_p0.95mm_w3.47mm_pw0.49mm_pl1.16mm_pin1location(leftside,bottom)"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C424093.obj?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C424093.step?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: 0.004489450000050965, y: 0.000012700000070253736, z: -0.049083 },
      }}
      {...props}
    />
  )
}