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.

src/Max31856.tsx

export const tcPinAttributes = {
  AGND: { requiresGround: true, mustBeConnected: true },
  AVDD: { requiresPower: true, mustBeConnected: true },
  DVDD: { requiresPower: true, mustBeConnected: true },
  DGND: { requiresGround: true, mustBeConnected: true },
}

export const tcNoConnect = ["DNC", "N_DRDY", "N_FAULT"]