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/SX1261IMLTRT.tsx

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

const pinLabels = {
  pin1: ["VDD_IN"],
  pin2: ["GND1"],
  pin3: ["XTA"],
  pin4: ["XTB"],
  pin5: ["GND2"],
  pin6: ["DIO3"],
  pin7: ["VREG"],
  pin8: ["GND3"],
  pin9: ["DCC_SW"],
  pin10: ["VBAT"],
  pin11: ["VBAT_IO"],
  pin12: ["DIO2"],
  pin13: ["DIO1"],
  pin14: ["BUSY"],
  pin15: ["NRESET"],
  pin16: ["MISO"],
  pin17: ["MOSI"],
  pin18: ["SCK"],
  pin19: ["NSS"],
  pin20: ["GND4"],
  pin21: ["RFI_P"],
  pin22: ["RFI_N"],
  pin23: ["RFO"],
  pin24: ["VR_PA"],
  pin25: ["GND5"]
} as const

const pinAttributes = {
  pin2: {requiresGround: true},
  pin5: {requiresGround: true},
  pin8: {requiresGround: true},
  pin20: {requiresGround: true},
  pin25: {requiresGround: true}
} as const

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

export const SX1261IMLTRT = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={footprinterPinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2151814"
  ]
}}
      manufacturerPartNumber="SX1261IMLTRT"
      footprint="qfn24_thermalpad2.7mmx2.7mm_pillpads_thermalpadcenteroffsety-0.01mm_pw0.28mm_pl0.8mm"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2151814.obj?uuid=dc333b9927a84f7987e800ada34cfa4f",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2151814.step?uuid=dc333b9927a84f7987e800ada34cfa4f",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.0001142999999501626, y: -0.00012700000002041634, z: 0 },
      }}
      {...props}
    />
  )
}