techmannih/wifi-test-board-1

"A USB-C powered ESP32-S3 development board with 5V to 3.3V voltage regulation and USB-C configuration resistors"

Usage: Import and Usage: ```tsx import { YourComponent } from "@tsci/techmannih.wifi-test-board-1" export default () => ( <board> <YourComponent /> </board> ) ``` Key points: - Import the component directly from the package - Place the component inside a `<board>` element - Optional: Configure component placement using props like `pcbX`, `pcbY` - Component automatically includes its predefined pins and connections

Version
0.0.1
License
unset
Stars
2

index.ts

PCBPCB preview for index.ts
SchematicSchematic preview for index.ts
import { Reg5vTo3v3 } from "@tsci/seveibar.reg-5v-to-3v"
import { useESP32_S3_MINI_1_N8 } from "@tsci/seveibar.esp32-s3-mini-1-n8"
import { useUsbC } from "@tsci/seveibar.smd-usb-c"
import { useResistor } from "@tscircuit/core"

export default () => {
  const Usb = useUsbC("USB")
  const Esp32 = useESP32_S3_MINI_1_N8("U1")
  const R1 = useResistor("R1", { resistance: "5.1k", footprint: "0402" })
  const R2 = useResistor("R2", { resistance: "5.1k", footprint: "0402" })
  
  return (
    <board width="20mm" height="48mm" schAutoLayoutEnabled>
      <Usb
        pcbY={-20}
      />
      <Esp32 pcbY={5} />
      <Reg5vTo3v3 pcbX={2} pcbY={-12} />
      <R1 pcbX={-5} pcbY={-15} pin1={Usb.CC1} pin2="net.gnd" />
      <R2 pcbX={-5} pcbY={-12} pin1={Usb.CC2} pin2="net.gnd" />
    </board>
  )
}