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

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

const pinLabels = {
  pin1: ["AGND"],
  pin2: ["BIAS"],
  pin3: ["T_NEG"],
  pin4: ["T_POS"],
  pin5: ["AVDD"],
  pin6: ["DNC"],
  pin7: ["N_DRDY"],
  pin8: ["DVDD"],
  pin9: ["N_CS"],
  pin10: ["SCK"],
  pin11: ["SDO"],
  pin12: ["SDI"],
  pin13: ["N_FAULT"],
  pin14: ["DGND"]
} as const

const pinAttributes = {
  pin1: {requiresGround: true}
} as const

export const MAX31856MUD_T = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2653162"
  ]
}}
      manufacturerPartNumber="MAX31856MUD+T"
      footprint="tssop14_p0.65mm_w3.9mm_pw0.4mm_pl1.7mm"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2653162.obj?uuid=5377177da492449fa1a3111d646cac17",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2653162.step?uuid=5377177da492449fa1a3111d646cac17",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.000012700000013410317, y: 0, z: -0.069083 },
      }}
      {...props}
    />
  )
}