mohan-bee/home-v1
This hardware design incorporates a solar charge controller with fused input lines, Schottky and TVS protection diodes, MOSFET switches for energy routing, a temperature sensor, and status LEDs for PV, battery, and load indicators.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone mohan-bee/home-v1 # download the package files into ./home-v1
tsci add mohan-bee/home-v1 # add it to your project as @tsci/mohan-bee.home-v1In 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/c19189484.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["TXI"],
pin2: ["RXO"],
pin3: ["RST1"],
pin4: ["GND1"],
pin5: ["D2"],
pin6: ["D3"],
pin7: ["D4"],
pin8: ["D5"],
pin9: ["D6"],
pin10: ["D7"],
pin11: ["D8"],
pin12: ["D9"],
pin13: ["D10"],
pin14: ["D11"],
pin15: ["D12"],
pin16: ["D13"],
pin17: ["3V3"],
pin18: ["REF"],
pin19: ["A0"],
pin20: ["A1"],
pin21: ["A2"],
pin22: ["A3"],
pin23: ["A4"],
pin24: ["A5"],
pin25: ["A6"],
pin26: ["A7"],
pin27: ["5V"],
pin28: ["RST2"],
pin29: ["GND2"],
pin30: ["VIN"]
} as const
export const A000005 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C19189484"
]
}}
manufacturerPartNumber="A000005"
footprint={<footprint>
<platedhole portHints={["pin1"]} pcbX="-17.7799746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="-15.2399746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="-12.6999746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="-10.1599746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin5"]} pcbX="-7.6199746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin6"]} pcbX="-5.08mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin7"]} pcbX="-2.54mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin8"]} pcbX="0mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin9"]} pcbX="2.54mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin10"]} pcbX="5.08mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin11"]} pcbX="7.6199746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin12"]} pcbX="10.1599746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin13"]} pcbX="12.6999746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin14"]} pcbX="15.2399746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin15"]} pcbX="17.7799746mm" pcbY="-7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin16"]} pcbX="17.7799746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin17"]} pcbX="15.2399746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin18"]} pcbX="12.6999746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin19"]} pcbX="10.1599746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin20"]} pcbX="7.6199746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin21"]} pcbX="5.08mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin22"]} pcbX="2.54mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin23"]} pcbX="0mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin24"]} pcbX="-2.54mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin25"]} pcbX="-5.08mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin26"]} pcbX="-7.6199746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin27"]} pcbX="-10.1599746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin28"]} pcbX="-12.6999746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin29"]} pcbX="-15.2399746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<platedhole portHints={["pin30"]} pcbX="-17.7799746mm" pcbY="7.6199746mm" outerDiameter="1.5999968mm" holeDiameter="0.999998mm" shape="circle" />
<silkscreenpath route={[{"x":22.499955,"y":3.7999924000000647},{"x":10.199979600000006,"y":3.7999924000000647}]} />
<silkscreenpath route={[{"x":10.199979600000006,"y":3.7999924000000647},{"x":10.199979600000006,"y":-3.99999200000002},{"x":22.499955,"y":-3.99999200000002},{"x":22.499955,"y":3.7999924000000647}]} />
<silkscreenpath route={[{"x":21.599956799999973,"y":8.999981999999932},{"x":-21.5999568000002,"y":8.999981999999932}]} />
<silkscreenpath route={[{"x":-21.5999568000002,"y":8.999981999999932},{"x":-21.5999568000002,"y":-8.999982000000045},{"x":21.599956799999973,"y":-8.999982000000045},{"x":21.599956799999973,"y":8.999981999999932}]} />
<silkscreentext text="nano" pcbX="0.4826mm" pcbY="9.9916mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-21.890800000000013,"y":9.241600000000062},{"x":22.855999999999995,"y":9.241600000000062},{"x":22.855999999999995,"y":-9.29239999999993},{"x":-21.890800000000013,"y":-9.29239999999993},{"x":-21.890800000000013,"y":9.241600000000062}]} />
</footprint>}
{...props}
/>
)
}