krishnax12/watchy-eink-smartwatch
This code defines a hardware schematic and PCB layout for a smartwatch using components like ESP32 microcontroller, sensors, Bluetooth module, power regulation, and connectors, with detailed component footprints and PCB outlines.
- Version
- 1.2.1
- License
- unset
- Stars
- 2
imports/RT9080_33.tsx
import type { ChipProps } from "tscircuit";
import rt9080Step from "../assets/RT9080_33.step";
const pinLabels = {
"pin1": [
"pin1",
"1"
],
"pin2": [
"pin2",
"2"
],
"pin3": [
"pin3",
"3"
],
"pin4": [
"pin4",
"4"
],
"pin5": [
"pin5",
"5"
]
} as const;
export const RT9080_33 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
footprint={
<footprint>
<smtpad portHints={["pin1", "1"]} pcbX="-1.1375mm" pcbY="0.95mm" width="1.325mm" height="0.6mm" shape="rect" />
<smtpad portHints={["pin2", "2"]} pcbX="-1.1375mm" pcbY="0mm" width="1.325mm" height="0.6mm" shape="rect" />
<smtpad portHints={["pin3", "3"]} pcbX="-1.1375mm" pcbY="-0.95mm" width="1.325mm" height="0.6mm" shape="rect" />
<smtpad portHints={["pin4", "4"]} pcbX="1.1375mm" pcbY="-0.95mm" width="1.325mm" height="0.6mm" shape="rect" />
<smtpad portHints={["pin5", "5"]} pcbX="1.1375mm" pcbY="0.95mm" width="1.325mm" height="0.6mm" shape="rect" />
</footprint>
}
cadModel={{ stepUrl: rt9080Step }}
{...props}
/>
);
};