gokul/six-digit-logic-clock
This code defines the physical layout and schematic connections for a multi-layer PCB featuring components like RTC modules (DS3231MZ), microcontroller (ATMEGA328P), LED display driver (MAX7219), and various passive and discrete components, with detailed footprints, pinouts, and placement for a clock and control interface.
- Version
- 0.1.2
- License
- unset
- Stars
- 0
imports/c52476.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["DIN"],
pin2: ["DIG0"],
pin3: ["DIG4"],
pin4: ["GND1"],
pin5: ["DIG6"],
pin6: ["DIG2"],
pin7: ["DIG3"],
pin8: ["DIG7"],
pin9: ["GND2"],
pin10: ["DIG5"],
pin11: ["DIG1"],
pin12: ["pin12"],
pin13: ["CLK"],
pin14: ["pin14"],
pin15: ["pin15"],
pin16: ["pin16"],
pin17: ["pin17"],
pin18: ["ISET"],
pin19: ["V_POS"],
pin20: ["pin20"],
pin21: ["pin21"],
pin22: ["pin22"],
pin23: ["pin23"],
pin24: ["DOUT"]
} as const
const pinAttributes = {
pin4: {requiresGround: true},
pin9: {requiresGround: true}
} as const
export const MAX7219EWG_T = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C52476"
]
}}
manufacturerPartNumber="MAX7219EWG+T"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-6.985mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-5.715mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-4.445mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-3.175mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-1.905mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-0.635mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.635mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="1.905mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="3.175mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="4.445mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="5.715mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="6.985mm" pcbY="-4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="-6.985mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="-5.715mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="-4.445mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="-3.175mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="-1.905mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="-0.635mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="0.635mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="1.905mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="3.175mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="4.445mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="5.715mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="6.985mm" pcbY="4.743958mm" width="0.5739892mm" height="2.3880064mm" radius="0.2869946mm" shape="pill" />
<silkscreenpath route={[{"x":-7.776209999999992,"y":-3.3214056000000483},{"x":-7.776209999999992,"y":3.3214055999999346},{"x":7.776209999999878,"y":3.3214055999999346},{"x":7.776209999999878,"y":-3.3214056000000483},{"x":-7.776209999999992,"y":-3.3214056000000483}]} />
<silkscreencircle pcbX="-6.985mm" pcbY="-2.568956mm" radius="0.150114mm" />
<silkscreencircle pcbX="-7.724394mm" pcbY="-4.743958mm" radius="0.150114mm" />
<silkscreentext text="{NAME}" pcbX="-0.0508mm" pcbY="6.6388mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.124000000000137,"y":5.8887999999999465},{"x":8.022400000000061,"y":5.8887999999999465},{"x":8.022400000000061,"y":-5.965000000000032},{"x":-8.124000000000137,"y":-5.965000000000032},{"x":-8.124000000000137,"y":5.8887999999999465}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52476.obj?uuid=5627e3ed011b44938077791de7f8dec1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52476.step?uuid=5627e3ed011b44938077791de7f8dec1",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}