gokul/musegrow

USB‑C powered ESP32‑C3 controller board with regulated 3.3 V supply, USB ESD protection, buttons/status LEDs, ambient-light I²C sensing, and a 555-driven capacitive soil-moisture electrode.

Version
1.2.2
License
unset
Stars
1

lib/integrated-soil-probe.tsx

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

type IntegratedSoilProbeProps = Omit<CapacitorProps, "capacitance">

export const IntegratedSoilProbe = (props: IntegratedSoilProbeProps) => (
  <capacitor
    {...props}
    capacitance="100pF"
    manufacturerPartNumber="INTEGRATED-PCB-CAPACITIVE-SOIL-PROBE"
    doNotPlace
    footprint={
      <footprint>
        <smtpad
          portHints={["pin1"]}
          pcbX={-5.4}
          pcbY={0}
          width="1mm"
          height="1.4mm"
          shape="rect"
          coveredWithSolderMask
        />
        <smtpad
          portHints={["pin2"]}
          pcbX={5.4}
          pcbY={0}
          width="1mm"
          height="1.4mm"
          shape="rect"
          coveredWithSolderMask
        />
        <courtyardoutline
          outline={[
            { x: -6.2, y: -1 },
            { x: 6.2, y: -1 },
            { x: 6.2, y: 1 },
            { x: -6.2, y: 1 },
            { x: -6.2, y: -1 },
          ]}
        />
      </footprint>
    }
  />
)