Skip to the content
2 layers82.5 × 62 mmIPTC Power Distribution and Control, the printed circuit board in 3D

IPTC Power Distribution and Control

jordanabinader/In_Plane_Thermal_Conductivity1

Complete integration of server, db, web app, controls, and computations components for in-plane thermal conductivity.

Size
82.5 × 62 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
58
Pads
121
Tracks, vias
124, 82
Pours
11
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
29 Nov 2023
Updated
19 Jan 2024

Overview

IPTC Power Distribution and Control is an open-source printed circuit board by jordanabinader, from the jordanabinader/In_Plane_Thermal_Conductivity repository on GitHub. It is a 2-layer board of 82.5 × 62 mm with 21 parts on 58 nets, routed with 124 tracks and 82 vias.

It is built around the OSTVN02A150 and IRLB8721PBF. Its parts include 10 connectors, 2 resistors and 2 transistors.

Main components

2

README

README.md

In-Plane Thermal Conductivity Project

Table of Contents

Description

This project integrates various components such as server, database, web application, controls, and computations for in-plane thermal conductivity analysis. It utilizes a robust Node.js server and a responsive front-end built with Next.js alongside several python scripts communicating with the hardware.

Project Structure

  • Client: Implements the user interface using Next.js and manages HTTP requests with axios.
  • Server: A Node.js server employing Express.js for HTTP requests and connecting to an SQLite3 database, with database manipulation facilitated by Knex.
  • Control: A collection of python scripts dedicated to recording the data from the thermocouples, controlling the heaters, and calculating the thermal conductivity
    • Thermal Control
      • Pico_Talker.py: Setting the duty cycle of the heaters based on the control mode set by the user in the website.
    • Thermocouple
      • writeFromDAQ.py: Recieves the data from the TC-08 DAQ and writes the temperatures to the temperature table in the database
      • graphLive.py: Plots the live temperature data along side calculated sin fit for active tests.
      • graphFull.py: Similar functionality to graphLive.py but for looking at the data of previous tests.

Using the Repository

Installation

  1. Update and upgrade ubuntu packages
text
sudo apt update && sudo apt upgrade
  1. Install picosdk and drivers for the Pico Logger TC-08. Instructions from: https://www.picotech.com/downloads/linux
text
sudo bash -c 'wget -O- https://labs.picotech.com/Release.gpg.key | gpg --dearmor > /usr/share/keyrings/picotech-archive-keyring.gpg'
sudo bash -c 'echo "deb [signed-by=/usr/share/keyrings/picotech-archive-keyring.gpg] https://labs.picotech.com/picoscope7/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope7.list'
sudo apt-get update
sudo apt-get install libusbtc08
  1. Install Python 3.11
text
sudo apt install python3.11
  1. Install pip
text
sudo apt install python3-pip
  1. Install venv pip package
text
python3.11 -m pip install venv
  1. Install curl
text
sudo apt install curl
  1. Install nvm
text
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.6/install.sh | bash
source ~/.bashrc
  1. Install Node LTS 20.10.0 and specify it as default
text
nvm install 20.10.0
nvm alias default 20.10.0
  1. Clone the repository:
text
git clone https://github.com/jordanabinader/In_Plane_Thermal_Conductivity.git
cd In_Plane_Thermal_Conductivity/
  1. Setup the python virtual environment
text
python3.11 -m venv iptc_venv
  1. Install node dependencies:
  • For the client:
    text
    cd client
    npm install
    cd ../
  • For the server:
    text
    cd server
    npm install
    cd ../
  1. Install python dependencies
text
source iptc_venv/bin/activate
python3.11 -m pip install -r requirements.txt

Running the program

Your current working directory should be the base folder of the In_Plane_Thermal_Conductivity repository

  1. Activate the virtual environment
text
source iptc_venv/bin/activate
  1. Check the serial port
text
ls -l /dev/serial/by-id

The raspberry pi pico likely defaults to ttyACM0, but if not change the ttyACM0 in the command below to what this command highlights

  1. Start everything up
text
python3.11 Startup.py --serial-port /dev/ttyACM0

Exiting the program

  1. In the terminal window running Startup.py from the command above, hit ctrl+c

    • A normal exit will look similar to below Image of a nominal exit of the python script
    • If you see more than 3 or 4 print statments in a row that say {SOMETHING} not shutting down the heater control board should be unplugged from and the computer restarted as this means that something went wrong in the shutdown process and the heaters can cause damage if left running while powered

It is also worthwhile to check the terminal output after ending a test to ensure that the heaters get turned off the the thermocouple DAQ gets deactivated properly. The terminal output at the end of a test should look something like the image below. Similar to the what happens when the whole system gets shutdown: If you see more than 3 or 4 print statments in a row that say {SOMETHING} not shutting down the heater control board should be unplugged from and the computer restarted as this means that something went wrong in the shutdown process and the heaters can cause damage if left running while powered. Image of the terminal output when a test is ended properly

Database Schema

The application uses the following SQLite3 database schemas:

  • Test Settings Table (testSettingTableName):

    • controlMode: Float
    • frequency: Float
    • amplitude: Float
    • datetime: DateTime
  • Power Table (powerTableName):

    • heaterNum: Float
    • mV: Float
    • mA: Float
    • dutyCycle: Float
    • datetime: DateTime
  • Temperature Table (temperatureTableName):

    • datetime: DateTime (Default to current time)
    • relTime: Float
    • temp1 to temp8: Float (temperature readings for 8 different points)

TC08 Note

For use with TC-08, you may have to modify library.py of picosdk so it can manually find the installed library

ex. "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/picosdk/library.py"

Edit the first line after def _load(self):

library_path = find_library(self.name) -> library_path = '/Library/Frameworks/PicoSDK.framework/Libraries/libusbtc08/libusbtc08.dylib' For running on Charlie's Macbook Pro

Parts

21
QtyValueFootprintReferences
3OSTVN02A150IPTC Project Library:CONN_OSTVN02A150_OSTJ3, J6, J7
3SMD_PAD_1X2_4MMx3MMIPTC Project Library:SMDPAD_1x2_4MMx3MMJ1, J4, J8
3~IPTC Project Library:TERMBLOCK_508_1X2J2, J5, J9
2150Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
2IRLB8721PBFIPTC Project Library:TO-220-3_VerticalQ1, Q2
2~IPTC Project Library:Adafruit_INA260A1, A2
1Conn_01x12_SocketConnector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_VerticalJ10
1RP_PicoIPTC Project Library:RP_PicoA3

The 17 most common of 21 parts.

Similar boards

  • 4 layers40 × 52.5 mmVAL3000, the printed circuit board in 3D

    VAL3000

    Valar-Systems/valar-motion

    The easiest, fastest, cheapest, and safest way to spin a stepper motor wirelessly. Valar Motion is a family of tiny Wi-Fi stepper controllers built around a Trinamic TMC2209 driver — precisely control a motor's…

    61 parts3
  • 4 layers40 × 52.5 mmVAL3100, the printed circuit board in 3D

    VAL3100

    Valar-Systems/VAL3100

    The VAL3100 is now part of the Valar Motion mono-repo, alongside the VAL3000 and VAL3101 controllers:

    67 parts2CERN-OHL-S-2.0
  • 2 layers53 × 40.9 mmDiff2rev4, the printed circuit board in 3D

    Diff2rev4

    ACherniske/E-C-Subteam-Bucknell-Baja

    Documentation of the Wiring Harness and Data Acquisition Devices for the Bucknell Baja Car

    42 parts1MIT
  • 2 layers48.8 × 49.9 mmHexpansion, the printed circuit board in 3D

    Hexpansion

    Corteil/EMF_space_unicorn

    code and PCB design files for my Space Unicorn hextension for EMF 2026

    50 parts1GPL-2.0
  • 4 layers80 × 89 mmFinal Project 4Layer, the printed circuit board in 3D

    Final Project 4Layer

    LeanderU/KnockBox

    Focus: PCB Design of a interactive device using SAMD51 chip

    86 parts
  • 2 layers246 × 237.5 mmLCD Dummy Analog, the printed circuit board in 3D

    LCD Dummy Analog

    ZigZagJoe/30Video-Support

    Contains updated firmware and support utilities for the 30Video series of video cards.

    11 parts9
  • 4 layers53.1 × 33.3 mmPierogiNixiePSU, the printed circuit board in 3D

    PierogiNixiePSU

    SonOfCheevap/PierogiNixie-PSU

    A simple 12v to 150v-250v DC-DC Power supply for use with nixie tubes.

    19 parts4MIT
  • 2 layers163.3 × 77.2 mmZ573M display, the printed circuit board in 3D

    Z573M display

    jhrg/nixie-2

    The current version of this clock software is 0.1.0

    63 parts

Questions

How big is the IPTC Power Distribution and Control PCB?

It measures 82.5 × 62 mm and has 2 copper layers, 1.6 mm thick.

What parts does the IPTC Power Distribution and Control use?

21 parts, built around the OSTVN02A150 and IRLB8721PBF. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the IPTC Power Distribution and Control KiCad files?

From the jordanabinader/In_Plane_Thermal_Conductivity repository on GitHub, at the commit this page was made from: the board is control/Thermal Control/IPTC PCB/IPTC Power Distribution and Control.kicad_pcb and its schematic control/Thermal Control/IPTC PCB/IPTC Power Distribution and Control.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the IPTC Power Distribution and Control design in my own project?

Its repository states no licence, so its author keeps all rights: ask jordanabinader before reusing the design.