aj0070/lora-node
Battery-powered ESP32-S3 LoRa environmental sensor board with USB-C charging, 3.3 V regulation, BME280 I²C sensing, SX1262 LoRa radio and U.FL antenna connector.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/lora-node # download the package files into ./lora-node
tsci add aj0070/lora-node # add it to your project as @tsci/aj0070.lora-nodeIn 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/JST_PH_2P.tsx
import type { ChipProps } from "tscircuit"
const pinLabels = {
pin1: "VBAT",
pin2: "GND",
} as const
export const JST_PH_2P = (props: ChipProps<typeof pinLabels>) => (
<chip
pinLabels={pinLabels}
manufacturerPartNumber="S2B-PH-K-S(LF)(SN)"
supplierPartNumbers={{ jlcpcb: ["C173752"] }}
pinAttributes={{
pin1: { isPassive: true },
pin2: { isPassive: true },
}}
footprint={
<footprint insertionDirection="from_above">
<platedhole
portHints={["pin1"]}
pcbX="0.97499805mm"
pcbY="0mm"
holeWidth="0.8499856mm"
holeHeight="0.8499856mm"
outerWidth="1.499997mm"
outerHeight="1.3999972mm"
rectPad
shape="pill"
/>
<platedhole
portHints={["pin2"]}
pcbX="-1.02499795mm"
pcbY="0mm"
outerDiameter="1.3999972mm"
holeDiameter="0.8499856mm"
shape="circle"
/>
<courtyardoutline
outline={[
{ x: -3.2749939500000664, y: 6.524993799999947 },
{ x: 3.2249940500000776, y: 6.524993799999947 },
{ x: 3.2249940500000776, y: -1.6749907999999323 },
{ x: -3.2749939500000664, y: -1.6749907999999323 },
{ x: -3.2749939500000664, y: 6.524993799999947 },
]}
/>
</footprint>
}
{...props}
/>
)