aj0070/thermocouple-logger

A 70×45 mm USB‑C powered ESP32‑C3 data logger with 3.3 V regulation, microSD storage, status/button UI, and four MAX31856 thermocouple measurement channels with filtering and SPI control.

Version
1.0.1
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/thermocouple-logger  # download the package files into ./thermocouple-logger
tsci add aj0070/thermocouple-logger    # add it to your project as @tsci/aj0070.thermocouple-logger

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

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

const pinLabels = {
  pin1: ["DATA2"],
  pin2: ["CD1","DATA3"],
  pin3: ["CMD"],
  pin4: ["VDD"],
  pin5: ["CLK"],
  pin6: ["VSS"],
  pin7: ["DATA0"],
  pin8: ["DATA1"],
  pin9: ["CD2"],
  pin10: ["CD3"],
  pin11: ["GND"]
} as const

const pinAttributes = {
  pin4: {requiresPower: true},
  pin6: {requiresGround: true},
  pin11: {requiresGround: true}
} as const

export const XKTF_001C = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C1121870"
  ]
}}
      manufacturerPartNumber="XKTF-001C"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="1.924939mm" pcbY="-3.09991125mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.824865mm" pcbY="-2.90001325mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.274955mm" pcbY="-3.09991125mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.375029mm" pcbY="-3.30006325mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-2.475103mm" pcbY="-3.09991125mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-3.575177mm" pcbY="-3.30006325mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-4.674997mm" pcbY="-3.09991125mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-5.775071mm" pcbY="-3.09991125mm" width="0.7999984mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-4.974971mm" pcbY="7.20004275mm" width="1.7999964mm" height="1.3999972mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.725043mm" pcbY="7.20004275mm" width="1.7999964mm" height="1.3999972mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-6.574917mm" pcbY="-5.94979125mm" width="1.3999972mm" height="1.8999962mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="6.574917mm" pcbY="-6.95004325mm" width="1.3999972mm" height="1.8999962mm" shape="rect" />
<silkscreenpath route={[{"x":1.8561049999998431,"y":7.872075950000067},{"x":7.238949199999979,"y":7.872075950000067},{"x":7.238949199999979,"y":-5.768790849999959}]} />
<silkscreenpath route={[{"x":-3.810050799999999,"y":7.872075950000067},{"x":-0.406171400000062,"y":7.872075950000067}]} />
<silkscreenpath route={[{"x":-7.239050800000086,"y":-7.131018250000011},{"x":-7.239050800000086,"y":-7.875924049999867},{"x":5.643803799999887,"y":-7.875924049999867}]} />
<silkscreenpath route={[{"x":-6.1061346000000185,"y":7.872075950000067},{"x":-7.239050800000086,"y":7.872075950000067},{"x":-7.239050800000086,"y":-4.768742049999901}]} />
<silkscreentext text="{NAME}" pcbX="0.007239mm" pcbY="8.89828875mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-7.524915599999986,"y":8.150041349999924},{"x":7.524915599999872,"y":8.150041349999924},{"x":7.524915599999872,"y":-8.150041349999924},{"x":-7.524915599999986,"y":-8.150041349999924},{"x":-7.524915599999986,"y":8.150041349999924}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1121870.obj?uuid=c33e7e1653e34775b4b22d8d64d4d134",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1121870.step?uuid=c33e7e1653e34775b4b22d8d64d4d134",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.014960599999881197, y: 0.09193545000000558, z: -0.05 },
      }}
      {...props}
    />
  )
}