mohan-bee/keychain
This design features a battery-powered electronic circuit with surface-mount LEDs, resistors, a squeeze switch, and custom silkscreen artwork on a PCB with specific component footprints and routing.
- Version
- 1.0.1
- License
- unset
- Stars
- 2
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone mohan-bee/keychain # download the package files into ./keychain
tsci add mohan-bee/keychain # add it to your project as @tsci/mohan-bee.keychainIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
imports/CR2032_BS_6_1.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const CR2032_BS_6_1 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C70377"
]
}}
manufacturerPartNumber="CR2032_BS_6_1"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="14.385036mm" pcbY="0mm" width="4.1999916mm" height="3.7999924mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-14.385036mm" pcbY="0mm" width="4.1999916mm" height="3.7999924mm" shape="rect" />
<silkscreenpath route={[{"x":11.126190599999973,"y":-8.076209399999925},{"x":11.126190599999973,"y":-1.9832065999999031}]} />
<silkscreenpath route={[{"x":-9.199956199999974,"y":6.649974000000043},{"x":-10.30000480000001,"y":6.649974000000043}]} />
<silkscreenpath route={[{"x":9.19995619999986,"y":-6.649973999999929},{"x":10.29995400000007,"y":-6.649973999999929}]} />
<silkscreenpath route={[{"x":9.749967799999922,"y":-7.199985599999991},{"x":9.749967799999922,"y":-6.099987800000008}]} />
<silkscreenpath route={[{"x":11.126190599999973,"y":1.9832066000000168},{"x":11.126190599999973,"y":-2.056942799999888}]} />
<silkscreenpath route={[{"x":-11.799976399999991,"y":8.049971199999959},{"x":-11.799976399999991,"y":-8.052434999999946}]} />
<silkscreenpath route={[{"x":-11.799976399999991,"y":8.073745599999938},{"x":-11.649963999999954,"y":8.073745599999938},{"x":-11.649963999999954,"y":-8.076234800000066},{"x":-11.799976399999991,"y":-8.076234800000066}]} />
<silkscreenpath route={[{"x":-14.250085800000079,"y":-3.499992999999904},{"x":-11.126266800000167,"y":-3.499992999999904}]} />
<silkscreenpath route={[{"x":-14.250085800000079,"y":-3.499992999999904},{"x":-14.250111200000106,"y":-2.0801329999999325}]} />
<silkscreenpath route={[{"x":-14.250085800000079,"y":3.4999930000000177},{"x":-14.250111200000106,"y":2.080133000000046}]} />
<silkscreenpath route={[{"x":-14.250085800000079,"y":3.4999930000000177},{"x":-11.126266800000167,"y":3.4999930000000177}]} />
<silkscreenpath route={[{"x":14.249984199999972,"y":-3.499992999999904},{"x":11.126190599999973,"y":-3.499992999999904}]} />
<silkscreenpath route={[{"x":14.249984199999972,"y":-3.499992999999904},{"x":14.249984199999972,"y":-2.0801329999999325}]} />
<silkscreenpath route={[{"x":14.249984199999972,"y":3.4999930000000177},{"x":14.249984199999972,"y":2.080133000000046}]} />
<silkscreenpath route={[{"x":14.249984199999972,"y":3.4999930000000177},{"x":11.126190599999973,"y":3.4999930000000177}]} />
<silkscreenpath route={[{"x":9.640214399999877,"y":8.076209400000039},{"x":9.664471399999911,"y":8.076209400000039},{"x":11.126190599999973,"y":6.614490200000091}]} />
<silkscreenpath route={[{"x":-11.126190600000086,"y":8.076209400000039},{"x":11.126190599999973,"y":8.076209400000039}]} />
<silkscreenpath route={[{"x":11.126190599999973,"y":8.076209400000039},{"x":11.126190599999973,"y":1.9832066000000168}]} />
<silkscreenpath route={[{"x":-11.126190600000086,"y":-8.076209399999925},{"x":11.126190599999973,"y":-8.076209399999925}]} />
<silkscreenpath route={[{"x":-5.896432200000049,"y":8.076615800000127},{"x":-6.099620516611594,"y":7.924283486617128},{"x":-6.298875138586823,"y":7.766840730894046},{"x":-6.494067564858824,"y":7.6043890690555145},{"x":-6.685071914107198,"y":7.437033267613629},{"x":-6.871765005939437,"y":7.26488125580363},{"x":-7.054026440330631,"y":7.08804405597914},{"x":-7.231738675271345,"y":6.9066357120132125},{"x":-7.4047871025705945,"y":6.720773215749659},{"x":-7.573060121768776,"y":6.530576431554891},{"x":-7.73644921210871,"y":6.3361680190157585},{"x":-7.894849002521937,"y":6.137673353835453},{"x":-8.048157339584236,"y":5.935220446977382},{"x":-8.196275353394185,"y":5.728939862110224},{"x":-8.33910752133579,"y":5.51896463140622},{"x":-8.476561729681748,"y":5.305430169747183},{"x":-8.608549332998678,"y":5.088474187394013},{"x":-8.734985211314438,"y":4.8682366011773865},{"x":-8.855787825014204,"y":4.644859444262465},{"x":-8.970879267424607,"y":4.4184867745516385},{"x":-9.08018531505786,"y":4.189264581780321},{"x":-9.183635475477331,"y":3.95734069336595},{"x":-9.281163032760787,"y":3.722864679073723},{"x":-9.372705090524619,"y":3.4859877545570725},{"x":-9.458202612486957,"y":3.2468626838380032},{"x":-9.537600460540261,"y":3.0056436807876707},{"x":-9.610847430310514,"y":2.762486309672795},{"x":-9.677896284180065,"y":2.51754738483055},{"x":-9.738703781750246,"y":2.270984869538097},{"x":-9.793230707728867,"y":2.022957774140309},{"x":-9.841441897218942,"y":1.7736260535029942},{"x":-9.883306258398989,"y":1.5231505038557316},{"x":-9.918796792572152,"y":1.2716926590941284},{"x":-9.947890611579396,"y":1.0194146866041365},{"x":-9.970568952559688,"y":0.7664792826795974},{"x":-9.986817190050829,"y":0.5130495675975908},{"x":-9.996624845420683,"y":0.2592889804209335},{"x":-9.99998559362541,"y":0.005361173594678803},{"x":-9.996897267289114,"y":-0.24857009259449114},{"x":-9.987361858100485,"y":-0.5023410556295858},{"x":-9.971385515529391,"y":-0.7557880563734898},{"x":-9.94897854286046,"y":-1.0087476446162782},{"x":-9.920155390547961,"y":-1.2610566844837194},{"x":-9.884934646897705,"y":-1.5125524596464857},{"x":-9.843339026078525,"y":-1.7630727782571967},{"x":-9.79539535347385,"y":-2.0124560775482223},{"x":-9.741134548381979,"y":-2.2605415280262378},{"x":-9.680591604075403,"y":-2.5071691371919087},{"x":-9.613805565233747,"y":-2.752179852720701},{"x":-9.540819502763952,"y":-2.995415665037058},{"x":-9.461680486022487,"y":-3.236719709216459},{"x":-9.376439552460852,"y":-3.475936366148062},{"x":-9.285151674709823,"y":-3.712911362896307},{"x":-9.18787572512906,"y":-3.947491872191449},{"x":-9.08467443783752,"y":-4.179526610990479},{"x":-8.975614368257538,"y":-4.408865938039526},{"x":-8.860765850191683,"y":-4.635361950380002},{"x":-8.740202950464436,"y":-4.858868578732313},{"x":-8.614003421154848,"y":-5.079241681696658},{"x":-8.482248649454505,"y":-5.2963391387115735},{"x":-8.345023605180359,"y":-5.51002094170849},{"x":-8.202416785975743,"y":-5.720149285404432},{"x":-8.054520160238667,"y":-5.9265886561738625},{"x":-7.901429107809918,"y":-6.129205919442256},{"x":-7.743242358462112,"y":-6.327870405545923},{"x":-7.580061928227792,"y":-6.52245399400249},{"x":-7.411993053608285,"y":-6.712831196136108},{"x":-7.239144123705955,"y":-6.898879236006678},{"x":-7.061626610323287,"y":-7.080478129589551},{"x":-6.879554996073352,"y":-7.257510762153288},{"x":-6.693046700548734,"y":-7.429862963788878},{"x":-6.502222004597797,"y":-7.597423583038449},{"x":-6.307203972753086,"y":-7.760084558578001},{"x":-6.108118373866432,"y":-7.917740988906758},{"x":-5.9050936000001,"y":-8.070291199999929}]} />
<silkscreenpath route={[{"x":5.896381399999996,"y":-8.076615800000013},{"x":6.099569956662435,"y":-7.924283806288258},{"x":6.298824826723376,"y":-7.766841364031507},{"x":6.494017508955949,"y":-7.60439000925237},{"x":6.685022121874567,"y":-7.437034508265242},{"x":6.871715484915853,"y":-7.264882790111983},{"x":7.0539771978800445,"y":-7.08804587695704},{"x":7.231689718577513,"y":-6.906637812488725},{"x":7.404738438633103,"y":-6.720775588371225},{"x":7.57301175739758,"y":-6.530579068795419},{"x":7.736401153920724,"y":-6.336170913177966},{"x":7.894801256936489,"y":-6.137676497056532},{"x":8.04810991281829,"y":-5.9352238312344525},{"x":8.19622825145916,"y":-5.728943479225109},{"x":8.33906075003324,"y":-5.518968473051018},{"x":8.476515294600176,"y":-5.305434227449268},{"x":8.608503239508991,"y":-5.08847845254229},{"x":8.734939464567333,"y":-4.868241065026496},{"x":8.855742429936527,"y":-4.644864097939944},{"x":8.970834228716285,"y":-4.418491609062926},{"x":9.080140637188379,"y":-4.189269588013985},{"x":9.183591162684024,"y":-3.9573458621008513},{"x":9.281119089044978,"y":-3.722870000983903},{"x":9.372661519649455,"y":-3.485993220218461},{"x":9.458159417974912,"y":-3.2468682837338747},{"x":9.537557645671086,"y":-3.005649405315353},{"x":9.610804998118965,"y":-2.7624921491495797},{"x":9.677854237454085,"y":-2.517553329499833},{"x":9.738662123028917,"y":-2.2709909095759713},{"x":9.793189439300704,"y":-2.0229638996618178},{"x":9.841401021121555,"y":-1.7736322545680423},{"x":9.88326577641601,"y":-1.5231567704765894},{"x":9.918756706233353,"y":-1.2716989812404336},{"x":9.947850922159205,"y":-1.0194210542106248},{"x":9.970529661076853,"y":-0.7664856856520146},{"x":9.986778297266937,"y":-0.5130559958193999},{"x":9.996586351840051,"y":-0.25929542375922665},{"x":9.999947499495875,"y":-0.005367621907453213},{"x":9.996859572599988,"y":0.24856364945208043},{"x":9.98732456258358,"y":0.5023346277980636},{"x":9.971348618659476,"y":0.7557816539840587},{"x":9.948942043854913,"y":1.008741277782633},{"x":9.920119288367914,"y":1.2610503632965901},{"x":9.88489894024815,"y":1.5125461941668163},{"x":9.843303713409568,"y":1.7630665785093242},{"x":9.795360432981397,"y":2.0124499535136238},{"x":9.74110001800932,"y":2.2605354896375047},{"x":9.680557461514127,"y":2.507163194325699},{"x":9.613771807925787,"y":2.7521740151919403},{"x":9.540786127902265,"y":2.9954099425922323},{"x":9.461647490554242,"y":3.2367141115273625},{"x":9.376406933087992,"y":3.475930902805885},{"x":9.285119427892596,"y":3.7129060434051553},{"x":9.187843847086697,"y":3.947486705962092},{"x":9.084642924552554,"y":4.179521607334323},{"x":8.975583215476718,"y":4.408861106163272},{"x":8.860735053429835,"y":4.635357299379166},{"x":8.74017250500674,"y":4.858864117584858},{"x":8.61397332206002,"y":5.07923741925822},{"x":8.48221889155866,"y":5.296335083708982},{"x":8.344994183099061,"y":5.510017102734764},{"x":8.202387694108438,"y":5.720145670912871},{"x":8.054491392772206,"y":5.9265852744724725},{"x":7.901400658722196,"y":6.12920277868875},{"x":7.743214221525932,"y":6.327867513742376},{"x":7.580034097014732,"y":6.52245135898977},{"x":7.411965521493016,"y":6.71282882558944},{"x":7.239116883870793,"y":6.898877137430645},{"x":7.061599655762166,"y":7.080476310312633},{"x":6.879528319596375,"y":7.257509229323432},{"x":6.693020294787402,"y":7.42986172436963},{"x":6.502195862008648,"y":7.597422643803384},{"x":6.307178085623718,"y":7.760083926106859},{"x":6.108092734319939,"y":7.9177406695814625},{"x":5.90506819999996,"y":8.070291200000042}]} />
<silkscreenpath route={[{"x":10.667999999999893,"y":-6.649973999999929},{"x":10.63672140779704,"y":-6.887558495366079},{"x":10.5450172155563,"y":-7.108952000000045},{"x":10.399136912430777,"y":-7.299066912430931},{"x":10.209022000000004,"y":-7.44494721555634},{"x":9.987628495366152,"y":-7.5366514077970805},{"x":9.750043999999889,"y":-7.567930000000047},{"x":9.512459504633853,"y":-7.5366514077970805},{"x":9.291066,"y":-7.44494721555634},{"x":9.100951087569001,"y":-7.299066912430931},{"x":8.955070784443706,"y":-7.108952000000045},{"x":8.863366592202965,"y":-6.887558495366079},{"x":8.832088000000113,"y":-6.649973999999929},{"x":8.863366592202965,"y":-6.412389504633779},{"x":8.955070784443706,"y":-6.190996000000041},{"x":9.100951087569001,"y":-6.0008810875690415},{"x":9.291066,"y":-5.855000784443746},{"x":9.512459504633853,"y":-5.763296592203005},{"x":9.750043999999889,"y":-5.7320179999999255},{"x":9.987628495366152,"y":-5.763296592203005},{"x":10.209022000000004,"y":-5.855000784443746},{"x":10.399136912430777,"y":-6.0008810875690415},{"x":10.5450172155563,"y":-6.190996000000041},{"x":10.63672140779704,"y":-6.412389504633779},{"x":10.667999999999893,"y":-6.649973999999929}]} />
<silkscreenpath route={[{"x":-8.832087999999999,"y":6.649974000000043},{"x":-8.863366592202965,"y":6.412389504633893},{"x":-8.955070784443706,"y":6.190996000000041},{"x":-9.100951087569115,"y":6.000881087569155},{"x":-9.291066,"y":5.855000784443746},{"x":-9.512459504633966,"y":5.763296592203005},{"x":-9.750044000000116,"y":5.732018000000039},{"x":-9.987628495366152,"y":5.763296592203005},{"x":-10.209022000000004,"y":5.855000784443746},{"x":-10.39913691243089,"y":6.000881087569155},{"x":-10.5450172155563,"y":6.190996000000041},{"x":-10.63672140779704,"y":6.412389504633893},{"x":-10.66800000000012,"y":6.649974000000043},{"x":-10.63672140779704,"y":6.887558495366193},{"x":-10.5450172155563,"y":7.108951999999931},{"x":-10.39913691243089,"y":7.299066912431044},{"x":-10.209022000000004,"y":7.44494721555634},{"x":-9.987628495366152,"y":7.5366514077970805},{"x":-9.750044000000116,"y":7.567929999999933},{"x":-9.512459504633966,"y":7.5366514077970805},{"x":-9.291066,"y":7.44494721555634},{"x":-9.100951087569115,"y":7.299066912431044},{"x":-8.955070784443706,"y":7.108951999999931},{"x":-8.863366592202965,"y":6.887558495366193},{"x":-8.832087999999999,"y":6.649974000000043}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="9.1534mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-16.7346,"y":8.403400000000033},{"x":16.7346,"y":8.403400000000033},{"x":16.7346,"y":-8.40339999999992},{"x":-16.7346,"y":-8.40339999999992},{"x":-16.7346,"y":8.403400000000033}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C70377.obj?uuid=5ddbd8edff9f41faa45529b9f03f5584",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C70377.step?uuid=5ddbd8edff9f41faa45529b9f03f5584",
pcbRotationOffset: 0,
modelOriginPosition: { x: -0.000012699999956566899, y: 0.0004995000000000971, z: -0.08 },
}}
{...props}
/>
)
}