aj0070/gps-tracker

A 45×30 mm four-layer GPS tracker PCB combining USB‑C Li‑ion charging, regulated power rails, cellular modem with SIM and LTE antenna, GNSS receiver with antenna, STM32 MCU, accelerometer, level shifters, ESD protection, and debug connectors.

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/gps-tracker  # download the package files into ./gps-tracker
tsci add aj0070/gps-tracker    # add it to your project as @tsci/aj0070.gps-tracker

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

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["I","O","C7"],
  pin4: ["VPP","C6"],
  pin5: ["GND","C5"],
  pin6: ["CLK","C3"],
  pin7: ["RST","C2"],
  pin8: ["VCC","C1"]
} as const

export const SMN_304 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C266889"
  ]
}}
      manufacturerPartNumber="SMN-304"
      footprint={<footprint insertionDirection="from_right">
        <hole pcbX="-4.339971mm" pcbY="-4.155059mm" diameter="0.999998mm" />
<hole pcbX="4.660011mm" pcbY="4.145153mm" diameter="0.7999984mm" />
<smtpad portHints={["pin3"]} pcbX="-2.539873mm" pcbY="5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.000127mm" pcbY="5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="2.540127mm" pcbY="5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-2.539873mm" pcbY="-5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.050927mm" pcbY="-5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="2.540127mm" pcbY="-5.974969mm" width="0.8999982mm" height="1.0999978mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-5.390007mm" pcbY="-0.000127mm" width="0.999998mm" height="3.2900112mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="5.390007mm" pcbY="-0.000127mm" width="0.999998mm" height="3.2900112mm" shape="rect" />
<silkscreenpath route={[{"x":3.8098730000000103,"y":-1.1428730000000087},{"x":3.3018730000000147,"y":-1.9048730000000091},{"x":3.682873000000015,"y":-1.9048730000000091},{"x":3.682873000000015,"y":-3.682873000000015},{"x":3.9368730000000056,"y":-3.682873000000015},{"x":3.9368730000000056,"y":-1.9048730000000091},{"x":4.317873000000006,"y":-1.9048730000000091},{"x":3.8098730000000103,"y":-1.1428730000000087}]} />
<silkscreenpath route={[{"x":-4.1655999999999835,"y":5.456046999999984},{"x":-4.1655999999999835,"y":6.161989199999979}]} />
<silkscreenpath route={[{"x":4.2672000000000025,"y":5.964046999999994},{"x":4.2672000000000025,"y":6.161989199999979}]} />
<silkscreenpath route={[{"x":-3.221151799999987,"y":-6.148984400000003},{"x":-5.030978000000005,"y":-6.148984400000003},{"x":-5.030978000000005,"y":-1.876145600000001}]} />
<silkscreenpath route={[{"x":-0.6303517999999997,"y":-6.148984400000003},{"x":-1.8588481999999829,"y":-6.148984400000003}]} />
<silkscreenpath route={[{"x":1.8588482000000113,"y":-6.148984400000003},{"x":0.7319518000000187,"y":-6.148984400000003}]} />
<silkscreenpath route={[{"x":5.030978000000019,"y":-1.876145600000001},{"x":5.030978000000019,"y":-6.148984400000003},{"x":3.2211518000000154,"y":-6.148984400000003}]} />
<silkscreenpath route={[{"x":5.030978000000019,"y":3.7157913999999863},{"x":5.030978000000019,"y":1.8761455999999868}]} />
<silkscreenpath route={[{"x":5.030978000000019,"y":6.161989199999979},{"x":5.030978000000019,"y":4.574514599999986}]} />
<silkscreenpath route={[{"x":4.190746000000004,"y":-6.100953000000004},{"x":4.190746000000004,"y":-5.491353000000004}]} />
<silkscreenpath route={[{"x":-3.221151799999987,"y":6.161989199999979},{"x":-4.523968599999989,"y":6.161989199999979},{"x":-5.030978000000005,"y":5.6549797999999925},{"x":-5.030978000000005,"y":1.8761455999999868}]} />
<silkscreenpath route={[{"x":-0.6811517999999808,"y":6.161989199999979},{"x":-1.8588481999999829,"y":6.161989199999979}]} />
<silkscreenpath route={[{"x":1.8588482000000113,"y":6.161989199999979},{"x":0.6811518000000234,"y":6.161989199999979}]} />
<silkscreenpath route={[{"x":5.030978000000019,"y":6.161989199999979},{"x":3.2211518000000154,"y":6.161989199999979}]} />
<silkscreenpath route={[{"x":-2.539999999999992,"y":3.8304469999999924},{"x":2.1082000000000107,"y":3.8304469999999924}]} />
<silkscreenpath route={[{"x":2.5651459999999986,"y":-3.865752999999998},{"x":-2.0830539999999758,"y":-3.865752999999998}]} />
<silkscreenpath route={[{"x":0.00012699999999199463,"y":1.9254469999999912},{"x":-2.158873,"y":1.9254469999999912}]} />
<silkscreenpath route={[{"x":-2.0826729999999856,"y":1.0872469999999907},{"x":0.00012699999999199463,"y":1.0872469999999907}]} />
<silkscreenpath route={[{"x":-0.05092699999997308,"y":1.0745469999999955},{"x":2.1080730000000187,"y":1.0745469999999955}]} />
<silkscreenpath route={[{"x":2.0318730000000045,"y":1.912746999999996},{"x":-0.05092699999997308,"y":1.912746999999996}]} />
<silkscreenpath route={[{"x":-0.025272999999984336,"y":-1.1035030000000035},{"x":-2.1842729999999904,"y":-1.1035030000000035}]} />
<silkscreenpath route={[{"x":-2.1080729999999903,"y":-1.9417030000000182},{"x":-0.025272999999984336,"y":-1.9417030000000182}]} />
<silkscreenpath route={[{"x":-0.07632699999999204,"y":-1.9544030000000134},{"x":2.0826729999999998,"y":-1.9544030000000134}]} />
<silkscreenpath route={[{"x":2.0064729999999997,"y":-1.116203000000013},{"x":-0.07632699999999204,"y":-1.116203000000013}]} />
<silkscreenpath route={[{"x":5.105400000000017,"y":1.8711925999999863},{"x":5.105400000000017,"y":3.7941504000000066}]} />
<silkscreenpath route={[{"x":1.8588482000000113,"y":6.070599999999999},{"x":0.6811518000000234,"y":6.070599999999999}]} />
<silkscreenpath route={[{"x":-0.6811517999999808,"y":6.070599999999999},{"x":-1.8588481999999829,"y":6.070599999999999}]} />
<silkscreenpath route={[{"x":-4.1655999999999835,"y":5.456046999999984},{"x":-4.14905373592164,"y":5.224699998902949},{"x":-4.099751777907727,"y":4.998062555598565},{"x":-4.0186977716482915,"y":4.78074835486413},{"x":-3.9075417429703805,"y":4.577181287144171},{"x":-3.7685465080702727,"y":4.391505390898544},{"x":-3.60454160910146,"y":4.227500491929717},{"x":-3.418865712855819,"y":4.088505257029624},{"x":-3.215298645135846,"y":3.9773492283516987},{"x":-2.9979844444014248,"y":3.896295222092263},{"x":-2.771347001097027,"y":3.8469932640783497},{"x":-2.539999999999992,"y":3.8304469999999924}]} />
<silkscreenpath route={[{"x":4.19074599999999,"y":-5.491353000000004},{"x":4.174199735921661,"y":-5.260005998902955},{"x":4.124897777907734,"y":-5.033368555598585},{"x":4.043843771648312,"y":-4.81605435486415},{"x":3.932687742970387,"y":-4.612487287144191},{"x":3.7936925080702935,"y":-4.426811390898564},{"x":3.6296876091014667,"y":-4.262806491929709},{"x":3.4440117128558256,"y":-4.123811257029644},{"x":3.2404446451358666,"y":-4.01265522835169},{"x":3.0231304444014313,"y":-3.9316012220922687},{"x":2.796493001097062,"y":-3.8822992640783696},{"x":2.5651459999999986,"y":-3.865752999999998}]} />
<silkscreenpath route={[{"x":-4.242053999999996,"y":-5.9993530000000135},{"x":-4.228638371028211,"y":-5.7604655937859945},{"x":-4.188560193431144,"y":-5.524582335310811},{"x":-4.122323473545919,"y":-5.294669593412465},{"x":-4.030761176556609,"y":-5.073618654218791},{"x":-3.9150247514734815,"y":-4.864209361546898},{"x":-3.7765696509937783,"y":-4.669075158754211},{"x":-3.617137028339613,"y":-4.490669971660381},{"x":-3.4387318412457972,"y":-4.3312373490062015},{"x":-3.24359763845311,"y":-4.192782248526541},{"x":-3.0341883457812173,"y":-4.077045823443399},{"x":-2.8131374065875434,"y":-3.9854835264540753},{"x":-2.583224664689169,"y":-3.9192468065688644},{"x":-2.3473414062140137,"y":-3.879168628971783},{"x":-2.1084539999999947,"y":-3.865752999999998}]} />
<silkscreenpath route={[{"x":-2.158873,"y":1.9254469999999912},{"x":-2.349373,"y":1.874402678841875},{"x":-2.4888286788418554,"y":1.7349469999999911},{"x":-2.539873,"y":1.544446999999991}]} />
<silkscreenpath route={[{"x":-2.5398730000000143,"y":1.544446999999991},{"x":-2.4786198146102407,"y":1.3158469999999909},{"x":-2.311273,"y":1.1485001853897359},{"x":-2.0826729999999856,"y":1.0872469999999907}]} />
<silkscreenpath route={[{"x":2.1080730000000187,"y":1.0745469999999955},{"x":2.298573000000019,"y":1.1255913211581117},{"x":2.4380286788418744,"y":1.2650469999999956},{"x":2.489073000000019,"y":1.4555469999999957}]} />
<silkscreenpath route={[{"x":2.489073000000019,"y":1.4555469999999957},{"x":2.4278198146102454,"y":1.6841469999999816},{"x":2.2604730000000046,"y":1.8514938146102367},{"x":2.0318730000000045,"y":1.912746999999996}]} />
<silkscreenpath route={[{"x":-2.1842729999999904,"y":-1.1035030000000035},{"x":-2.3747729999999905,"y":-1.154547321158148},{"x":-2.514228678841846,"y":-1.2940030000000036},{"x":-2.5652729999999906,"y":-1.4845030000000037}]} />
<silkscreenpath route={[{"x":-2.5652729999999906,"y":-1.4845030000000037},{"x":-2.5040198146102455,"y":-1.713103000000018},{"x":-2.3366729999999905,"y":-1.8804498146102588},{"x":-2.1080729999999903,"y":-1.9417030000000182}]} />
<silkscreenpath route={[{"x":2.0826729999999998,"y":-1.9544030000000134},{"x":2.273173,"y":-1.9033586788418688},{"x":2.4126286788418696,"y":-1.7639030000000133},{"x":2.463673,"y":-1.5734030000000132}]} />
<silkscreenpath route={[{"x":2.463673,"y":-1.5734030000000132},{"x":2.402419814610255,"y":-1.3448029999999989},{"x":2.2350730000000283,"y":-1.177456185389758},{"x":2.0064729999999997,"y":-1.1162029999999845}]} />
<silkscreenpath route={[{"x":4.2672000000000025,"y":5.964046999999994},{"x":4.2537843710282175,"y":5.7251595937859605},{"x":4.213706193431165,"y":5.489276335310805},{"x":4.147469473545954,"y":5.259363593412445},{"x":4.055907176556616,"y":5.038312654218771},{"x":3.940170751473488,"y":4.828903361546864},{"x":3.801715650993799,"y":4.633769158754191},{"x":3.6422830283396337,"y":4.4553639716603755},{"x":3.463877841245818,"y":4.295931349006196},{"x":3.268743638453145,"y":4.157476248526535},{"x":3.0593343457812523,"y":4.041739823443393},{"x":2.83828340658755,"y":3.9501775264540555},{"x":2.608370664689204,"y":3.8839408065688588},{"x":2.3724874062140486,"y":3.8438626289717774},{"x":2.1336000000000297,"y":3.8304469999999924}]} />
<silkscreenrect pcbX="-3.537077mm" pcbY="-0.027305mm" width="1.1938mm" height="2.0828mm" strokeWidth="0.254mm" />
<silkscreentext text="{NAME}" pcbX="-0.000127mm" pcbY="7.522847mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-0.5079999999999814,"y":-0.88900000000001},{"x":-0.5079999999999814,"y":-5.0800000000000125},{"x":-0.2539999999999907,"y":-5.0800000000000125},{"x":-0.2539999999999907,"y":-2.413000000000011},{"x":0.5080000000000098,"y":-2.413000000000011},{"x":-0.5079999999999814,"y":-0.88900000000001}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":1.4210854715202004e-14,"y":-2.794000000000011},{"x":-0.000025399999998398926,"y":-3.1750253999999956},{"x":0.12697460000001115,"y":-3.302025400000005},{"x":0.38097460000000183,"y":-3.302025400000005},{"x":0.5079746000000114,"y":-3.1750253999999956},{"x":0.5079746000000114,"y":-2.9210000000000207},{"x":0.7619746000000021,"y":-2.9210000000000207},{"x":0.7620000000000147,"y":-3.302000000000021},{"x":0.8889746000000116,"y":-3.302000000000021},{"x":0.88900000000001,"y":-2.921025400000005},{"x":0.7620000000000147,"y":-2.7940253999999953},{"x":0.5079746000000114,"y":-2.794000000000011},{"x":0.38097460000000183,"y":-2.9210000000000207},{"x":0.38100000000001444,"y":-3.1750000000000114},{"x":0.2539746000000065,"y":-3.1750253999999956},{"x":0.12697460000001115,"y":-3.1750000000000114},{"x":0.12697460000001115,"y":-2.794000000000011},{"x":1.4210854715202004e-14,"y":-2.794000000000011}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.000025399999998398926,"y":-3.5560000000000116},{"x":0.12697460000001115,"y":-3.555974599999999},{"x":0.12697460000001115,"y":-3.683000000000021},{"x":0.7620000000000147,"y":-3.683000000000021},{"x":0.7620000000000147,"y":-3.555974599999999},{"x":0.88900000000001,"y":-3.5560000000000116},{"x":0.88900000000001,"y":-3.936974599999999},{"x":0.7620000000000147,"y":-3.937000000000012},{"x":0.7620000000000147,"y":-3.809974600000004},{"x":0.12697460000001115,"y":-3.809974600000004},{"x":0.12697460000001115,"y":-3.937000000000012},{"x":-0.000025399999998398926,"y":-3.936974599999999},{"x":-0.000025399999998398926,"y":-3.5560000000000116}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-0.000025399999998398926,"y":-4.190974600000004},{"x":0.88900000000001,"y":-4.190974600000004},{"x":0.88900000000001,"y":-4.318000000000012},{"x":0.2539746000000065,"y":-4.572000000000017},{"x":0.88900000000001,"y":-4.826000000000022},{"x":0.8889746000000116,"y":-4.953000000000017},{"x":1.4210854715202004e-14,"y":-4.953000000000017},{"x":-0.000025399999998398926,"y":-4.826000000000022},{"x":0.6350000000000193,"y":-4.826000000000022},{"x":-0.000025399999998398926,"y":-4.572000000000017},{"x":0.6350000000000193,"y":-4.318000000000012},{"x":-0.000025399999998398926,"y":-4.318000000000012},{"x":-0.000025399999998398926,"y":-4.190974600000004}]} strokeWidth="0mm" isFilled hasStroke={false} />
<fabricationnotepath route={[{"x":-4.444999999999993,"y":6.222999999999985},{"x":-5.079999999999984,"y":5.58799999999998},{"x":-4.825999999999993,"y":5.58799999999998},{"x":-4.190999999999988,"y":6.222999999999985},{"x":-4.444999999999993,"y":6.222999999999985}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-6.140006,"y":6.774967900000007},{"x":6.140006000000014,"y":6.774967900000007},{"x":6.140006000000014,"y":-6.774967900000007},{"x":-6.140006,"y":-6.774967900000007},{"x":-6.140006,"y":6.774967900000007}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C266889.obj?uuid=e188f44e57f64fb0a0cea1dace9b73a2",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C266889.step?uuid=e188f44e57f64fb0a0cea1dace9b73a2",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: -0.25 },
      }}
      {...props}
    />
  )
}