mohan-bee/infrared-battle-tag

A compact board featuring an ATtiny1616 microcontroller, tactile switch, and MMBT2222A transistor, with VCC/GND power and the switch connected to the MCU’s PA4 input.

Version
1.0.2
License
unset
Stars
0

imports/MMBT2222ALT1G.tsx

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

export const MMBT2222ALT1G = (props: Omit<TransistorProps, "type">) => {
  return (
    <transistor type="npn"
      symbol={
        <symbol>
          <schematictext text={props.name ?? "Q1"} schX={0.7} schY={0.45} fontSize={0.18} />
          <schematicpath points={[{"x":0.2,"y":-0.2},{"x":0.14,"y":-0.1},{"x":0.08,"y":-0.18},{"x":0.2,"y":-0.2}]} strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath points={[{"x":0.2,"y":0.2},{"x":0,"y":0.06}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":-0.06},{"x":0.2,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0,"y":0.18},{"x":0,"y":-0.18}]} strokeColor="#880000" />
          <port schPinLabelFontSize={0.08} name="pin3" pinNumber={3} direction="up" schX={0.2} schY={0.6} schStemLength={0.4} />
          <port schPinLabelFontSize={0.08} name="pin1" pinNumber={1} direction="left" schX={-0.4} schY={0} schStemLength={0.4} />
          <port schPinLabelFontSize={0.08} name="pin2" pinNumber={2} direction="down" schX={0.2} schY={-0.6} schStemLength={0.4} />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C82460"
  ]
}}
      manufacturerPartNumber="MMBT2222ALT1G"
      footprint="sot23w_p1mm_pw0.65mm_pin1location(rightside,bottom)_nosilkscreen"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82460.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C82460.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000070253736, y: -0.000012699999956566899, z: 0.050795 },
      }}
      {...props}
    />
  )
}