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/BS_08_B2AA010_R.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
export const BS_08_B2AA010_R = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C964789"
]
}}
manufacturerPartNumber="BS_08_B2AA010_R"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="11.575034mm" pcbY="0mm" width="3.7999924mm" height="3.7999924mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-10.575036mm" pcbY="0mm" width="5.7999884mm" height="2.7999944mm" shape="rect" />
<silkscreenpath route={[{"x":-6.699783400000115,"y":0.000050799999826267594},{"x":-4.286783400000104,"y":0.000050799999826267594}]} />
<silkscreenpath route={[{"x":6.172149199999922,"y":0.000050799999826267594},{"x":8.585149199999933,"y":0.000050799999826267594}]} />
<silkscreenpath route={[{"x":7.315149199999837,"y":1.3970507999999882},{"x":7.315149199999837,"y":-1.2699492000000419}]} />
<silkscreenpath route={[{"x":11.125149199999896,"y":-2.1311107999999876},{"x":11.125149199999896,"y":-6.476949200000149},{"x":9.369170999999938,"y":-6.476949200000149}]} />
<silkscreenpath route={[{"x":9.369170999999938,"y":6.477050799999915},{"x":11.125149199999896,"y":6.477050799999915},{"x":11.125149199999896,"y":2.1312123999999812}]} />
<silkscreenpath route={[{"x":-1.4478508000001966,"y":-7.849946199999977},{"x":-9.440722800000117,"y":-7.858074200000033}]} />
<silkscreenpath route={[{"x":7.569149199999856,"y":-6.476949200000149},{"x":9.369170999999938,"y":-6.476949200000149}]} />
<silkscreenpath route={[{"x":7.569149199999856,"y":6.477050799999915},{"x":9.369170999999938,"y":6.477050799999915}]} />
<silkscreenpath route={[{"x":-1.4478508000001966,"y":-7.849946199999977},{"x":6.426149199999941,"y":-7.849946199999977}]} />
<silkscreenpath route={[{"x":-1.4478508000001966,"y":7.850047800000084},{"x":6.426149199999941,"y":7.850047800000084}]} />
<silkscreenpath route={[{"x":-1.4478508000001966,"y":7.850047800000084},{"x":-9.448850800000173,"y":7.850047800000084}]} />
<silkscreenpath route={[{"x":-9.448850800000173,"y":7.850047800000084},{"x":-10.091039000000137,"y":7.2078595999998925}]} />
<silkscreenpath route={[{"x":-9.440722800000117,"y":-7.858074200000033},{"x":-10.141712000000098,"y":-7.157034199999998}]} />
<silkscreenpath route={[{"x":6.426149200000054,"y":-7.84994620000009},{"x":6.581129172565397,"y":-7.688799005613419},{"x":6.732864144482505,"y":-7.524592707158035},{"x":6.881293745760672,"y":-7.357392636525901},{"x":7.026358921499764,"y":-7.187265316724279},{"x":7.168001955385307,"y":-7.014278435410006},{"x":7.306166492652665,"y":-6.838500817958902},{"x":7.44079756250801,"y":-6.660002400081794},{"x":7.571841599999971,"y":-6.478854200000114}]} />
<silkscreenpath route={[{"x":7.5691491999997425,"y":6.477050799999915},{"x":7.438142879959287,"y":6.658145425072576},{"x":7.303550575012196,"y":6.836591020618698},{"x":7.1654258350970395,"y":7.012316588889803},{"x":7.023823615593983,"y":7.185252214347997},{"x":6.878800255460533,"y":7.355329091484464},{"x":6.730413454815562,"y":7.522479552193317},{"x":6.578722251982526,"y":7.6866370926958325},{"x":6.423786999999834,"y":7.847736399999917}]} />
<silkscreenpath route={[{"x":-10.141737400000011,"y":-7.157059600000025},{"x":-10.314471087274683,"y":-6.978578684972035},{"x":-10.481272559114359,"y":-6.794541643208959},{"x":-10.641963200335681,"y":-6.605145546172594},{"x":-10.796370939385838,"y":-6.410593203934923},{"x":-10.944330432600623,"y":-6.211092948004421},{"x":-11.085683241258494,"y":-6.0068584082386},{"x":-11.220278001240672,"y":-5.798108284085174},{"x":-11.347970585115718,"y":-5.585066110391722},{"x":-11.468624256475096,"y":-5.3679600180398666},{"x":-11.582109816353181,"y":-5.147022489657047},{"x":-11.688305741577437,"y":-4.92249011066815},{"x":-11.787098314898458,"y":-4.694603315953145},{"x":-11.878381746760397,"y":-4.463606132385621},{"x":-11.96205828858433,"y":-4.229745917519608},{"x":-12.038038337438707,"y":-3.9932730947156188},{"x":-12.106240531989329,"y":-3.7544408849798856},{"x":-12.166591839622129,"y":-3.5135050358089757},{"x":-12.219027634649592,"y":-3.2707235473289984},{"x":-12.263491767512392,"y":-3.02635639602272},{"x":-12.299936624906081,"y":-2.780665256340626},{"x":-12.328323180767256,"y":-2.5339132204927637},{"x":-12.348621038062447,"y":-2.2863645167232107},{"x":-12.360808461339275,"y":-2.038284226368205},{"x":-12.364872400000081,"y":-1.7899380000001202}]} />
<silkscreenpath route={[{"x":-10.09106440000005,"y":7.207834199999866},{"x":-10.262277772956281,"y":7.031155608317931},{"x":-10.427857052954323,"y":6.84918625410387},{"x":-10.587638833188521,"y":6.662105719191686},{"x":-10.741465428287825,"y":6.47009862953621},{"x":-10.889185029930786,"y":6.27335447300743},{"x":-11.03065185666344,"y":6.072067412390197},{"x":-11.165726297767606,"y":5.866436093768243},{"x":-11.294275051039449,"y":5.656663450484984},{"x":-11.416171254342999,"y":5.442956502872221},{"x":-11.531294610808345,"y":5.225526153946362},{"x":-11.639531507548782,"y":5.004586981272723},{"x":-11.740775127784445,"y":4.780357025202193},{"x":-11.834925556256962,"y":4.553057573693195},{"x":-11.921889877833792,"y":4.322912943926667},{"x":-12.001582269204278,"y":4.0901502609306135},{"x":-12.07392408357714,"y":3.8549992334376384},{"x":-12.138843928295273,"y":3.617691927187707},{"x":-12.196277735291005,"y":3.3784625359087386},{"x":-12.246168824315305,"y":3.1375471501946777},{"x":-12.288467958872388,"y":2.8951835245130724},{"x":-12.323133394811293,"y":2.651610842569994},{"x":-12.35013092152235,"y":2.4070694812641023},{"x":-12.369433895698421,"y":2.1618007734643925},{"x":-12.381023267629075,"y":1.916046769842751},{"x":-12.38488760000007,"y":1.6700499999999465}]} />
<silkscreentext text="{NAME}" pcbX="0.011684mm" pcbY="8.903464mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-13.713016000000152,"y":8.153463999999985},{"x":13.736383999999816,"y":8.153463999999985},{"x":13.736383999999816,"y":-8.094535999999948},{"x":-13.713016000000152,"y":-8.094535999999948},{"x":-13.713016000000152,"y":8.153463999999985}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964789.obj?uuid=30afe71a259c48e4b4effec6eb22397a",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C964789.step?uuid=30afe71a259c48e4b4effec6eb22397a",
pcbRotationOffset: 0,
modelOriginPosition: { x: 1.5497968000001263, y: -0.011061700000027486, z: -0.01 },
}}
{...props}
/>
)
}