Skip to content

Repository files navigation

@tscircuit/common

These are community-contributed "common" boards or components distributed with tscircuit

import { ArduinoShield } from "tscircuit/common"

return (
  <ArduinoShield
    chipProps={{ connections: { GND1: "net.GND" } }}
    boardProps={{ solderMaskColor: "blue", autorouter: "auto" }}
  >
    {/* ... */}
  </ArduinoShield>
)

The RP2040 subcircuit includes the microcontroller, QSPI flash, crystal, USB-C, power regulation, decoupling, boot/run controls, and SWD test points:

import { Microcontroller_RP2040 } from "@tscircuit/common"

return <Microcontroller_RP2040 name="MCU" pcbX={0} pcbY={0} />

The MT3608 power-boost subcircuit includes its battery connector, cutoff MOSFET, USB-present shutdown, boost converter, feedback divider, and input/output filtering. Place the power switch on the parent board between BAT_POS and BAT_SWITCHED, or connect them to the same net for always-on operation:

import { PowerBoost_MT3608 } from "@tscircuit/common"

return (
  <PowerBoost_MT3608
    name="POWER"
    connections={{
      BAT_POS: "net.BAT_LINK",
      BAT_SWITCHED: "net.BAT_LINK",
      VBUS: "net.VBUS",
      VSYS: "net.VSYS",
      GND: "net.GND",
    }}
  />
)

The Game Boy PAM8403 3 W audio-amplifier subcircuit includes the PWM input filter, input coupling, amplifier decoupling, speaker EMI filter, and speaker connector:

import { AudioAmplifier3W_PAM8403 } from "@tscircuit/common"

return (
  <AudioAmplifier3W_PAM8403
    name="AUDIO"
    connections={{
      AUDIO_PWM: "net.AUDIO_PWM",
      V3V3: "net.V3V3",
      VSYS: "net.VSYS",
      GND: "net.GND",
    }}
  />
)

About

Common/community-contributed components

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages