gokul/acoustic-guitar-tuner

This code defines a miniature circuit board featuring a microcontroller (ATTINY1616-MNR), audio and power components, tactile switch, various LEDs, and passive components arranged with specific footprints, connections, and mechanical markings for a mini acoustic guitar tuner.

Version
1.0.8
License
unset
Stars
2

imports/HX_3x4x2_2P_1_6N_TACTILE_SWITCH.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"]
} as const

export const HX_3x4x2_2P_1_6N_TACTILE_SWITCH = (props: PushButtonProps<typeof pinLabels>) => {
  const { name = "SW1", ...restProps } = props

  return (
    <pushbutton
      name={name}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C49234124"
  ]
}}
      manufacturerPartNumber="HX 3x4x2-2P-1.6N TACTILE SWITCH"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.159mm" pcbY="0mm" width="1.2999974mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="2.159mm" pcbY="0mm" width="1.2999974mm" height="1.6999966mm" shape="rect" />
<silkscreenpath route={[{"x":-2.032000000000039,"y":1.081150999999977},{"x":-2.032000000000039,"y":1.524000000000001}]} />
<silkscreenpath route={[{"x":2.0319999999999254,"y":-1.081150999999977},{"x":2.0319999999999254,"y":-1.524000000000001},{"x":-2.032000000000039,"y":-1.524000000000001},{"x":-2.032000000000039,"y":-1.081150999999977}]} />
<silkscreenpath route={[{"x":-2.032000000000039,"y":1.524000000000001},{"x":2.0319999999999254,"y":1.524000000000001},{"x":2.0319999999999254,"y":1.081150999999977}]} />
<silkscreencircle pcbX="-0.005588mm" pcbY="-0.001778mm" radius="0.62484mm" />
<silkscreenrect pcbX="0mm" pcbY="0mm" width="2.413mm" height="2.032mm" strokeWidth="0.254mm" />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="2.524mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.0693999999999733,"y":1.774000000000001},{"x":3.043999999999869,"y":1.774000000000001},{"x":3.043999999999869,"y":-1.774000000000001},{"x":-3.0693999999999733,"y":-1.774000000000001},{"x":-3.0693999999999733,"y":1.774000000000001}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49234124.obj?uuid=167cb812923f4f7cbb49e982a3bb3b9d",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C49234124.step?uuid=167cb812923f4f7cbb49e982a3bb3b9d",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.000012699999956566899, z: -0.01 },
      }}
      {...restProps}
    />
  )
}