AnasSarkiz/tscircuit-ai-agent-remote

A mixed embedded-audio PCB component library featuring ESP32-S3 control, digital microphones, I²S audio amplification, power/battery management, USB protection, logic interfaces, connectors, switches, MOSFETs, diodes, and assorted passive components.

Version
0.0.11-wip-generator-qualification
License
unset
Stars
0

Use with the tscircuit CLI

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

tsci clone AnasSarkiz/tscircuit-ai-agent-remote  # download the package files into ./tscircuit-ai-agent-remote
tsci add AnasSarkiz/tscircuit-ai-agent-remote    # add it to your project as @tsci/AnasSarkiz.tscircuit-ai-agent-remote

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.

src/board/HoldSheet.tsx

import { ComponentNotes } from "./ComponentNotes"
import { groundPath } from "./GroundPaths"
import { place } from "./placement"
import { SN74LVC1G17DBVR } from "../../imports/SN74LVC1G17DBVR/SN74LVC1G17DBVR"
import { RC0603FR_0710KL } from "../../imports/RC0603FR_0710KL/RC0603FR_0710KL"
import { A_0603WAF1001T5E } from "../../imports/A_0603WAF1001T5E/A_0603WAF1001T5E"
import { GRM188R71C104KA01D } from "../../imports/GRM188R71C104KA01D/GRM188R71C104KA01D"

export function HoldSheet({ placementOnly = false }: { placementOnly?: boolean } = {}) {
  return (
    <schematicsheet
      name="hold-readback-review"
      displayName="AI Remote A1 - Top HOLD control"
      sheetSize="A4"
      sheetIndex={8}
    >
      <group
        name="hold-readback-review-group"
        schLayout={{ layoutMode: "relative" }}
        pcbStyle={{ silkscreenFontSize: 1 }}
      >
        <SN74LVC1G17DBVR name="U26" {...place("U26")} schX={0} schY={0} />
        <RC0603FR_0710KL name="R99" {...place("R99")} schX={-5} schY={-3} schRotation={-90} />
        <A_0603WAF1001T5E name="R100" {...place("R100")} schX={5} schY={0} />
        <GRM188R71C104KA01D name="C78" {...place("C78")} schX={-5} schY={3} schRotation={-90} />
        <trace from="U26.pin2" to="net.HOLD_HARDWARE" />
        <trace
          from="U26.pin3"
          to="net.GND"
          width={0.3}
          pcbPath={groundPath("U26.pin3", placementOnly)}
        />
        <trace from="U26.pin4" to="net.HOLD_BUFFER_OUT" />
        <trace from="U26.pin5" to="net.V3V3" />
        <trace from="R99.pin1" to="net.HOLD_HARDWARE" />
        <trace
          from="R99.pin2"
          to="net.GND"
          width={0.3}
          pcbPath={groundPath("R99.pin2", placementOnly)}
        />
        <trace from="R100.pin1" to="net.HOLD_BUFFER_OUT" />
        <trace from="R100.pin2" to="net.MCU_HOLD_READ" />
        <trace from="C78.pin1" to="net.V3V3" />
        <trace
          from="C78.pin2"
          to="net.GND"
          width={0.3}
          pcbPath={groundPath("C78.pin2", placementOnly)}
        />
      </group>
      <ComponentNotes sheet="hold-readback-review" />
    </schematicsheet>
  )
}