gokul/pcb-thermal-camera

A 38.4×91.8 mm two-layer thermal-camera PCB integrating an RP2040-Zero MCU, MLX90640 infrared sensor, 2.8-inch TFT display, decoupling capacitors, pull-up/current-limiting resistors, and power/fault LEDs.

Version
0.2.0
License
unset
Stars
0

Use with the tscircuit CLI

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

tsci clone gokul/pcb-thermal-camera  # download the package files into ./pcb-thermal-camera
tsci add gokul/pcb-thermal-camera    # add it to your project as @tsci/gokul.pcb-thermal-camera

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.

models.ts

export const supplierModels = {
  "resistor": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fresistor.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -0.81,
        "y": -0.41,
        "z": 0.0
      },
      "max": {
        "x": 0.81,
        "y": 0.4,
        "z": 0.45
      }
    },
    "size": {
      "x": 1.62,
      "y": 0.81,
      "z": 0.45
    }
  },
  "capacitor0603": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fcapacitor0603.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -0.8,
        "y": -0.4,
        "z": 0.0
      },
      "max": {
        "x": 0.8,
        "y": 0.4,
        "z": 0.8
      }
    },
    "size": {
      "x": 1.6,
      "y": 0.8,
      "z": 0.8
    }
  },
  "capacitor0805": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fcapacitor0805.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -1.0,
        "y": -0.65,
        "z": 0.0
      },
      "max": {
        "x": 1.0,
        "y": 0.65,
        "z": 1.3
      }
    },
    "size": {
      "x": 2.0,
      "y": 1.3,
      "z": 1.3
    }
  },
  "led": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fled.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -0.81,
        "y": -0.41,
        "z": 0.0
      },
      "max": {
        "x": 0.81,
        "y": 0.41,
        "z": 0.56
      }
    },
    "size": {
      "x": 1.62,
      "y": 0.82,
      "z": 0.56
    }
  },
  "sensor": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fsensor.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -4.6447,
        "y": -4.6447,
        "z": -6.0
      },
      "max": {
        "x": 4.6447,
        "y": 5.33,
        "z": 11.25
      }
    },
    "size": {
      "x": 9.2894,
      "y": 9.9747,
      "z": 17.25
    }
  },
  "display": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fdisplay.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -18.1,
        "y": -31.6,
        "z": 6.0
      },
      "max": {
        "x": 18.1,
        "y": 31.6,
        "z": 8.52
      }
    },
    "size": {
      "x": 36.2,
      "y": 63.2,
      "z": 2.52
    }
  },
  "controller": {
    "glbUrl": "https://registry-api.tscircuit.com/package_files/download?package_name_with_version=gokul%2Fpcb-thermal-camera%400.2.0&file_path=models%2Fcontroller.glb",
    "modelUnitToMmScale": 1,
    "modelBoardNormalDirection": "z+",
    "modelOriginPosition": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "modelBounds": {
      "min": {
        "x": -9.0327,
        "y": -11.4334,
        "z": -1.0014
      },
      "max": {
        "x": 8.9846,
        "y": 13.2907,
        "z": 4.3395
      }
    },
    "size": {
      "x": 18.0173,
      "y": 24.7241,
      "z": 5.3409
    }
  }
} as const