pixalynx/nrf9151-gps-tracker

A compact 44×32 mm, 4-layer nRF9151 LTE-M/NB-IoT/GNSS tracker PCB with nPM1300 LiPo/USB-C power, nano-SIM/eSIM switching, nRF7002 Wi‑Fi scanning, accelerometer, antennas, buzzer, LEDs, SOS button, and SWD/debug connectors.

Version
0.1.4
License
unset
Stars
0

parts/Lis2dw12.tsx

import type { ChipProps } from "tscircuit"
import { Lga12_2x2 } from "../lib/footprints"

/** ST LIS2DW12 3-axis accelerometer, LGA-12 2x2x0.7 mm. Pin table from ST DS11473
 * (docs/sources.md [lis2dw12]): 1 SCL/SPC, 2 CS, 3 SDO/SA0, 4 SDA/SDI/SDO, 5 NC, 6 GND,
 * 7 RES (connect to GND), 8 GND, 9 VDD, 10 VDD_IO, 11 INT2, 12 INT1. */
export const lis2dw12Pins = {
  pin1: ["SCL", "SPC"], pin2: ["CS"], pin3: ["SDO", "SA0"], pin4: ["SDA", "SDI"], pin5: ["NC"], pin6: ["GND1"],
  pin7: ["RES"], pin8: ["GND2"], pin9: ["VDD"], pin10: ["VDD_IO"], pin11: ["INT2"], pin12: ["INT1"],
} as const

export const Lis2dw12 = (props: ChipProps<typeof lis2dw12Pins>) => (
  <chip
    {...props}
    manufacturerPartNumber="LIS2DW12TR"
    supplierPartNumbers={{ jlcpcb: ["C189624"] }}
    pinLabels={lis2dw12Pins}
    internallyConnectedPins={[["GND1", "GND2"]]}
    footprint={<Lga12_2x2 />}
    cadModel={{ objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C189624.obj?uuid=83ec6157b4954879af30009d604f164f", rotationOffset: { x: 0, y: 0, z: 90 }, positionOffset: { x: 0, y: 0, z: 0 } }}
    schPinArrangement={{
      leftSide: { direction: "top-to-bottom", pins: ["VDD", "VDD_IO", "SCL", "SDA", "SA0", "CS"] },
      rightSide: { direction: "top-to-bottom", pins: ["INT1", "INT2", "NC", "GND1", "GND2", "RES"] },
    }}
    pinAttributes={{ VDD: { requiresPower: true }, VDD_IO: { requiresPower: true }, GND1: { requiresGround: true }, GND2: { requiresGround: true }, RES: { requiresGround: true }, CS: { mustBeConnected: true }, SA0: { mustBeConnected: true }, NC: { doNotConnect: true } }}
  />
)