anil08607/issue1

This code defines a schematic diagram of a DS3231MZ real-time clock (RTC) integrated circuit connected to a 3.3V power supply, I2C data lines, and control signals on a PCB.

Version
0.0.1
License
unset
Stars
0

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
const pinLabels = {
  pin1: ["CLK32K"],
  pin2: ["VCC"],
  pin3: ["INT_SQW"],
  pin4: ["RST"],
  pin5: ["GND"],
  pin6: ["VBAT"],
  pin7: ["SDA"],
  pin8: ["SCL"],
} as const
export default () => (
 <board routingDisabled schMaxTraceDistance="4mm">
    <chip
      name="U1"
      manufacturerPartNumber="DS3231MZ+"
      footprint="soic8"
      pinLabels={pinLabels}
      schX={0}
      schY={5}
      schWidth={3.2}
      schHeight={3.6}
      schPinArrangement={{
        leftSide: {
          direction: "top-to-bottom",
          pins: ["SCL", "SDA", "RST"],
        },
        rightSide: {
          direction: "top-to-bottom",
          pins: ["VBAT", "CLK32K", "INT_SQW"],
        },
        topSide: { direction: "left-to-right", pins: ["VCC"] },
        bottomSide: { direction: "left-to-right", pins: ["GND"] },
      }}
      connections={{
        VCC: "net.V3V3",
        VBAT: "net.V3V3",
        INT_SQW: "net.RTC_INT",
        SDA: "net.SDA",
        SCL: "net.SCL",
        GND: "net.GND",
      }}
      noConnect={["CLK32K", "RST"]}
    />
  </board>
)