mohan-bee/freezer-alarm
This code defines representations of various electronic hardware components—such as voltage regulators, temperature sensors, and microcontroller modules—detailing their physical pins, footprints, and 3D models for PCB design and visualization.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
imports/DS18B20_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["DQ"],
pin3: ["VDD"]
} as const
export const DS18B20_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C9753"
]
}}
manufacturerPartNumber="DS18B20_"
footprint={<footprint>
<platedhole portHints={["pin3"]} pcbX="1.27mm" pcbY="0mm" holeWidth="0.700024mm" holeHeight="1.4000226mm" outerWidth="0.8999982mm" outerHeight="1.5999968mm" shape="pill" />
<platedhole portHints={["pin2"]} pcbX="0mm" pcbY="0mm" holeWidth="0.700024mm" holeHeight="1.4000226mm" outerWidth="0.8999982mm" outerHeight="1.5999968mm" shape="pill" />
<platedhole portHints={["pin1"]} pcbX="-1.27mm" pcbY="0mm" holeWidth="0.700024mm" holeHeight="1.8200624mm" outerWidth="0.8999982mm" outerHeight="1.5999968mm" rectPad={true} pcbRotation="0deg" shape="pill" />
<silkscreenpath route={[{"x":1.9799046000000544,"y":-1.4998699999999872},{"x":-1.9799045999999407,"y":-1.4998699999999872}]} />
<silkscreenpath route={[{"x":1.981200000000058,"y":-1.501139999999964},{"x":2.1219685722165877,"y":-1.7081825003868971},{"x":2.2411808124694517,"y":-1.9283434180451877},{"x":2.337625685562898,"y":-2.159386215691711},{"x":2.4103234419719684,"y":-2.3989638108532745},{"x":2.4585355707730514,"y":-2.6446424190527296},{"x":2.481772301916294,"y":-2.8939262777681733},{"x":2.479797581627736,"y":-3.144283000006908},{"x":2.4526314703956587,"y":-3.393169299932765},{"x":2.4005499391840885,"y":-3.6380568292131557},{"x":2.324082065939592,"y":-3.876457861618178},{"x":2.2240046608764032,"y":-4.10595056495788},{"x":2.101334375133092,"y":-4.324203603621527},{"x":1.957317372972625,"y":-4.5289998217972425},{"x":1.7934166724377292,"y":-4.718258766776103},{"x":1.6112972830652552,"y":-4.890057823539678},{"x":1.4128092916404285,"y":-5.042651745930129},{"x":1.1999690678165962,"y":-5.174490385990225},{"x":0.9749387805247807,"y":-5.284234441372291},{"x":0.7400044332613334,"y":-5.3707690608389385},{"x":0.497552641381958,"y":-5.433215169643745},{"x":0.25004638731729756,"y":-5.470938399743773},{"x":0,"y":-5.483555534119546},{"x":-0.25004638731741125,"y":-5.470938399743773},{"x":-0.49755264138207167,"y":-5.433215169643745},{"x":-0.7400044332613334,"y":-5.3707690608389385},{"x":-0.974938780524667,"y":-5.284234441372291},{"x":-1.1999690678165962,"y":-5.174490385990225},{"x":-1.4128092916404285,"y":-5.042651745930129},{"x":-1.6112972830651415,"y":-4.890057823539678},{"x":-1.7934166724377292,"y":-4.718258766776103},{"x":-1.957317372972625,"y":-4.5289998217972425},{"x":-2.1013343751329785,"y":-4.324203603621527},{"x":-2.2240046608762896,"y":-4.10595056495788},{"x":-2.324082065939592,"y":-3.876457861618178},{"x":-2.4005499391840885,"y":-3.6380568292131557},{"x":-2.4526314703957723,"y":-3.393169299932765},{"x":-2.4797975816278495,"y":-3.144283000006908},{"x":-2.4817723019164077,"y":-2.8939262777681733},{"x":-2.4585355707729377,"y":-2.6446424190527296},{"x":-2.4103234419718547,"y":-2.3989638108532745},{"x":-2.3376256855627844,"y":-2.159386215691711},{"x":-2.2411808124694517,"y":-1.9283434180451877},{"x":-2.1219685722165877,"y":-1.7081825003868971},{"x":-1.981200000000058,"y":-1.501139999999964}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="3.6162mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.7646000000000868,"y":2.8662000000001626},{"x":2.739199999999869,"y":2.8662000000001626},{"x":2.739199999999869,"y":-1.9010000000000673},{"x":-2.7646000000000868,"y":-1.9010000000000673},{"x":-2.7646000000000868,"y":2.8662000000001626}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C9753.obj?uuid=86c9a28785b84e52859c2af3e4e264a5",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C9753.step?uuid=86c9a28785b84e52859c2af3e4e264a5",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0, y: 0.015055300000088923, z: -0.000010000000000509601 },
}}
{...props}
/>
)
}