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-loggerIn 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/Mcu.tsx
import { ESP32_C3_MINI_1_N4 } from "../imports/ESP32_C3_MINI_1_N4"
export const McuSection = () => (
<>
<ESP32_C3_MINI_1_N4
name="U6"
schSheetName="Digital"
schSectionName="MCU"
schX={-6}
schY={6}
pcbX={-8}
pcbY={11.2}
/>
<resistor
name="R3"
resistance="10k"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={2.2}
schY={0.7}
pcbX={-13.0}
pcbY={3.4}
pcbRotation={90}
/>
<capacitor
name="C4"
capacitance="100nF"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={2.2}
schY={-1.3}
pcbX={-15.6}
pcbY={3.4}
pcbRotation={90}
/>
<capacitor
name="C7"
capacitance="100nF"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-9.0}
schY={2.4}
pcbX={-20.9}
pcbY={17.2}
pcbRotation={270}
/>
<capacitor
name="C8"
capacitance="10uF"
footprint="0805"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-7.7}
schY={2.4}
pcbX={-20.9}
pcbY={20.3}
pcbRotation={90}
/>
<resistor
name="R4"
resistance="10k"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-4.6}
schY={2.4}
pcbX={-10.5}
pcbY={3.4}
pcbRotation={90}
/>
<resistor
name="R5"
resistance="10k"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-3.4}
schY={2.4}
pcbX={-8.1}
pcbY={3.4}
pcbRotation={90}
/>
<resistor
name="R6"
resistance="10k"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-2.2}
schY={2.4}
pcbX={-5.7}
pcbY={4.435}
pcbRotation={90}
/>
<resistor
name="R7"
resistance="10k"
footprint="0402"
schSheetName="Digital"
schSectionName="MCU"
schRotation={270}
schX={-1.0}
schY={2.4}
pcbX={-3.3}
pcbY={4.435}
pcbRotation={90}
/>
<trace from="U6.3V3" to="net.V3_3" />
<trace from="U6.GND1" to="net.GND" />
<trace from="U6.GND2" to="net.GND" />
<trace from="U6.GND3" to="net.GND" />
<trace from="U6.GND4" to="net.GND" />
<trace from="U6.GND5" to="net.GND" />
<trace from="U6.GND6" to="net.GND" />
<trace from="U6.GND7" to="net.GND" />
<trace from="U6.GND8" to="net.GND" />
<trace from="U6.GND9" to="net.GND" />
<trace from="U6.GND10" to="net.GND" />
<trace from="U6.GND11" to="net.GND" />
<trace from="U6.GND12" to="net.GND" />
<trace from="U6.GND13" to="net.GND" />
<trace from="U6.GND14" to="net.GND" />
<trace from="U6.GND15" to="net.GND" />
<trace from="U6.GND16" to="net.GND" />
<trace from="U6.GND17" to="net.GND" />
<trace from="U6.GND18" to="net.GND" />
<trace from="U6.GND19" to="net.GND" />
<trace from="U6.GND20" to="net.GND" />
<trace from="U6.GND21" to="net.GND" />
<trace from="U6.GND22" to="net.GND" />
<trace from="U6.EN" to="R3.pin1" />
<trace from="R3.pin2" to="net.V3_3" />
<trace from="U6.EN" to="C4.pin1" />
<trace from="C4.pin2" to="net.GND" />
<trace from="net.V3_3" to="C7.pin1" />
<trace from="C7.pin2" to="net.GND" />
<trace from="net.V3_3" to="C8.pin1" />
<trace from="C8.pin2" to="net.GND" />
<trace from="U6.IO18" to="net.USB_DM" />
<trace from="U6.IO19" to="net.USB_DP" />
<trace from="U6.IO4" to="net.SCK" />
<trace from="U6.IO6" to="net.MOSI" />
<trace from="U6.IO5" to="net.MISO" />
<trace from="U6.IO7" to="net.CS1" />
<trace from="U6.IO10" to="net.CS2" />
<trace from="U6.IO3" to="net.CS3" />
<trace from="U6.IO2" to="net.CS4" />
<trace from="net.CS1" to="R4.pin1" />
<trace from="R4.pin2" to="net.V3_3" />
<trace from="net.CS2" to="R5.pin1" />
<trace from="R5.pin2" to="net.V3_3" />
<trace from="net.CS3" to="R6.pin1" />
<trace from="R6.pin2" to="net.V3_3" />
<trace from="net.CS4" to="R7.pin1" />
<trace from="R7.pin2" to="net.V3_3" />
<trace from="U6.TXD0" to="net.LED_K" />
<trace from="U6.IO9" to="net.BTN" />
<trace from="U6.IO0" to="net.SD_DET" />
<trace from="U6.IO1" to="net.SD_CS" />
</>
)