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-node

In 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/MCP73831_2DCI_MC.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VDD1"],
  pin2: ["VDD2"],
  pin3: ["VBAT1"],
  pin4: ["VBAT2"],
  pin5: ["STAT"],
  pin6: ["VSS"],
  pin7: ["NC"],
  pin8: ["PROG"],
  pin9: ["EP"]
} as const

const pinAttributes = {
  pin6: {requiresGround: true},
  pin7: {doNotConnect: true}
} as const

const footprinterPinLabels = {
  ...pinLabels,
  "pin9": [...pinLabels["pin9"], "thermalpad"],
} as const

export const MCP73831_2DCI_MC = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={footprinterPinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C635037"
  ]
}}
      manufacturerPartNumber="MCP73831-2DCI/MC"
      footprint="dfn8_thermalpad1.6mmx1.5mm_p0.5mm_w3.65mm_pw0.3mm_pl0.75mm_pin1location(leftside,bottom)"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C635037.obj?uuid=5dcb702cea6449f3b3b389062b7917fa",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C635037.step?uuid=5dcb702cea6449f3b3b389062b7917fa",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -0.02 },
      }}
      {...props}
    />
  )
}