Skip to the content
2 layers100 × 100 mmJBT01, the printed circuit board in 3D

A heater control system featuring deterministic operation, safety auto-cutoff, predefined timer modes, and temperature measurement using a K-type thermocouple.

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
79
Nets
56
Pads
218
Tracks, vias
399, 0
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
7 Mar 2023
Updated
31 Jul 2026

Overview

JBT01 is an open-source printed circuit board by jbteja, from the jbteja/tj01-ms51-heater-controller repository on GitHub. It is a 2-layer board of 100 × 100 mm with 79 parts on 56 nets, routed with 399 tracks and 0 vias.

It is built around the MS51FB9AE, MAX6675ISA+ and AMS1117-5V, with the EL817, MMBT2222A-TP and P6KE550A among its other parts. Its parts include 27 connectors, 16 resistors, 10 capacitors, 4 ICs and 3 diodes. It belongs with the sensors and measurement boards of this library.

Main components

7

README

README.md

Deterministic Heater Controller

PropertyValue
Project IDtj01 (Previously JBT01)
Project TypeFreelance/Client Project
Initiated On14th February 2023
StackC, Keil uVision, KiCAD 6.0.0, Nuvoton MCUs
KeywordsMS51FB9AE, MAX6675, K-Type Thermocouple, T91-30A,
110/230V AC to 12V DC SMPS, Display, Timer Interrupts,
State Machine, PCB Design, Firmware, Field Deployment
StatusCompleted and delivered to the client :)

🚀 Overview

A freelance heater controller project built around the Nuvoton MS51FB9AE. It delivers deterministic operation, safety auto-cutoff, preset timer modes, and temperature measurement using a K‑type thermocouple rated above 750°C.

The custom PCB includes a 16×2 LCD, MAX6675 thermocouple interface, a few switches, and a relay for heater control. The design prioritizes temperature safety and reliable performance in a demanding environment.

✍️ Requirement

This device is intended for a medical/sanitary incinerator where the internal chamber exceeds 750°C. The electronics were designed to operate reliably under harsh conditions and maintain stable performance for at least two years.

The initial order was for 100 units, with 6 sample boards to be delivered within 90 days.

Scope included requirements gathering, controller design, PCB and firmware development, mechanical integration support, and field testing to validate reliability.

🧩 Project Highlights

  • Designed and developed the complete system from scratch, including requirements, hardware, firmware, testing, and delivery.

  • Initially targeted STM8/STM32, then switched to the MS51FB9AE because of availability and cost advantages.

  • Iteratively improved the design based on feedback and testing, including PCB layout, component selection, and feature updates.

  • Used mechanical and PCB co-design to ensure the controller fit the enclosure, remained serviceable, and handled thermal isolation and airflow.

  • Firmware Highlights:

    • Implemented a state machine to manage operating modes and ensure deterministic behavior.
    • Ported and customized a 16x2 LCD library for the MS51FB9AE with modular pin mapping.
    • Implemented MAX6675 thermocouple support for accurate temperature monitoring and safety control.
    • Added timer modes with automatic cutoff to prevent overheating.
    • Used a superloop architecture to keep the system responsive while managing timer interrupts and state transitions.

🔄 Revisions

  • JBT01A - Initial design and prototype with basic functionality.
  • JBT01B - Added filtering capacitor and improved PCB layout for better noise immunity.
  • JBT01C - Added removable LCD headers and improved accessibility and mounting (Demo Video).

✌️ Controller Board Design

Top
Bottom

🗂️ Repo Structure

bash
├───Firmware
│   ├───Keil Project
│   └───Source Files
│
└───Hardware
    ├───3D
    ├───BOM
    ├───Gerbers
    ├───Assets
    └───Source Files

🔗 VS Code Extensions

bash
cl.keil-assistant
streetsidesoftware.code-spell-checker

🏗️ Mechanical & Hardware Co-Design

The device was developed through integrated mechanical and electronic design to ensure reliable operation in an incinerator environment. Mechanical requirements included enclosure space, thermal isolation, airflow, mounting, serviceability, and cable routing. Hardware requirements such as sensor interfaces, relay isolation, display visibility, and maintenance access shaped the enclosure and system layout.

🛠️ Proof of Work

Enclosure design

Enclosure design

Enclosure design, Side view

Enclosure design, Side view

Enclosure prototype, Front view

Enclosure prototype, Front view

Mechanical parts before assembly

Mechanical parts before assembly

Mechanical parts before assembly

Mechanical parts before assembly

Laser cut machine setup

Laser cut machine setup

Tested controllers before delivery

Tested controllers before delivery

Inspecting, fixing, and verifying electrical connections

Inspecting, fixing, and verifying electrical connections

Tested and ready to be dispatched

Tested and ready to be dispatched

PCBs before assembly

PCBs before assembly

Cables and connectors

Cables and connectors

PCBs after assembly, Front view

PCBs after assembly, Front view

🏷️ Video Demos

Controllers

Test cycle

Test cycle

📌 Conclusion & Current Status

The project requirements were successfully met and delivered within the specified timeline, with 20 controller units delivered and deployed in the field. Although an initial requirement of 100 units was anticipated, the full order was not fulfilled by the client. However, the delivered controllers have been operating reliably, meeting the requirement of stable performance for at least two years. The project has been a valuable learning experience in field deployment, hardware-software co-design, and project coordination.

Of the controller boards delivered, all except one remain functional and in good operating condition after nearly two years of field deployment. The single failure was due to a surge in the power supply, which bricked the SMPS unit.

Following the first year of operation, scheduled maintenance was provided from our side. At the time of this writing, all deployed machines continue to operate successfully, demonstrating reliability under real-world operating conditions.

✏️ Miscellaneous & Notes

1. Project Backstory

This requirement came from within my professional network, and since I knew them personally, I had to pitch in on an urgent basis.

The pain point? The previous PCBs used in earlier machines kept failing every 6 to 9 months, causing repeated downtime. The client had already spent a significant amount on replacements and repairs.

The original design was not only costly but also lacked basic engineering foresight. It used a separate, bulky power supply, had no proper connectors or terminals for heater integration, and offered no thermal isolation or reliable mounting.

The previous client's control board cost 2.5 times more than the one I ultimately delivered and assembled.

In the end, a reliable, cost‑effective controller replaced the overpriced design, and machine wire routing placeholders were included in the mechanical design.

2. LCD Driver/Library Development

Reused, tested and adapted an existing 16x2 LCD library for the MS51FB9AE, which is compatible with HD44780 and ST7066 controllers. The library supports modular pin mapping and 4-bit mode, allowing for flexible hardware configurations. It provides functions for initializing the LCD, sending commands and data, and displaying characters and strings on the screen.

3. Repository Naming Convention

Before I started naming projects in a sequence, I had worked on many projects. When I went back to reuse content or refer to specific details, I usually struggled to find them or had already lost track of them.

Over time, I decided to standardize the naming with “TJ” and continue using it consistently, grouping and organizing both old and new projects into a structured sequence.

Not all projects can be shared publicly because of client restrictions or ownership agreements. As a result, the sequence may have gaps where some projects are not listed or documented. However, I maintain a private record of all projects for my reference and learning.

4. Privacy‑First Assets

All images in this repository have been stripped of metadata to protect privacy and sensitive information. This ensures that no unintended data is shared when the images are viewed or downloaded.

Used exiftool to remove metadata from images:

bash
exiftool -all= -P -overwrite_original *.png
exiftool -all= -P -overwrite_original *.jpg
exiftool -all= -P -overwrite_original *.mp4

Parts

79
QtyValueFootprintReferences
16Conn_01x01_MaleConnectors:1X01CN1, CN2, CN3, CN4, CN5, CN6, CN7, CN8, CN9, CN10, CN11, CN12, CN13, CN14, CN15, CN16
910KResistor_SMD:R_0805_2012MetricR2, R6, R7, R8, R9, R13, R14, R15, R16
6Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1, J2, J4, J5, J9, J11
50.1uF/25VCapacitor_SMD:C_0805_2012MetricC3, C4, C8, C9, C10
5MountingHoleMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4, H5
310uF/25VCapacitor_SMD:C_0805_2012MetricC5, C6, C7
3330EResistor_SMD:R_0805_2012MetricR4, R10, R11
3FiducialFiducial:Fiducial_0.5mm_Mask1mmFID1, FID2, FID3
21N4007Diode_SMD:D_SMAD2, D3
10.1uF/275VACCapacitor_THT:C_Rect_L11.5mm_W5.6mm_P10.00mm_MKTC1
1100E/1WattResistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P15.24mm_HorizontalR1
110K-PotPotentiometer_THT:Potentiometer_Runtron_RM-065_VerticalRV1
116X2Display:WC1602ALCD1
1180EResistor_SMD:R_0805_2012MetricR12
11KResistor_SMD:R_0805_2012MetricR5
1220uF/25VCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC2
12K2Resistor_SMD:R_0805_2012MetricR3
1AMS1117-5VPackage_TO_SOT_SMD:SOT-223-3_TabPin2U3
1Choke_10mH-0.5AInductor_THT:Choke_Schaffner_RN218-04-12.5x18.0mmFL1
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ7
1Conn_01x05Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ8
1Conn_01x16Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_VerticalJ10
1EL817footprints:SOT254P975X400-4NU2
1GREENButton_Switch_THT:SW_PUSH-12mmSW2
1LED_Dual_KAKLED_THT:LED_D5.0mm-3L2
1MAX6675Package_SO:SO-8_5.3x6.2mm_P1.27mmU4
1MMBT2222Adigikey-footprints:SOT-23-3Q1
1MS51FB9AEPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1
1P6KE550Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1REDLED_SMD:LED_0805_2012MetricL1
1REDButton_Switch_THT:SW_PUSH-12mmSW1
1RELAY-T91-30AElectromechanical:RELAY-T91K1
1SO12V300digikey-footprints:Converter_ACDC_SO12V300PS1
1Screw_Terminal_01x02TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_Type703_RT10N02HGLU_1x02_P9.52mm_HorizontalJ6
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_HorizontalJ3
1Zener(12.7V/1W)digikey-footprints:SOD-80Z1

Similar boards

  • 2 layers88.9 × 88.9 mmKnob v1, the printed circuit board in 3D

    Knob v1

    bmo/tuning-knob-pcboard

    KiCAD PC Board design for a tuning knob that works with Flex Radio SmartSDR, PowerSDR, and RHR. Uses STM32 hardware.

    25 parts7MIT
  • 2 layers116.8 × 119.4 mmTeensyBreakout, the printed circuit board in 3D

    TeensyBreakout

    leighmurray/TeensyBreakout

    112 parts
  • 4 layers57 × 57 mmFlightController, the printed circuit board in 3D

    FlightController

    Mathijsvb/MulticopterFCS

    Multicopter Flight Control System

    199 parts1BSD-3-Clause
  • 4 layers90.5 × 68.3 mmMt7628v1, the printed circuit board in 3D

    Mt7628v1

    findasifrahman/mt76--

    201 parts
  • 4 layers68.8 × 53.6 mmEasyduino Atmega, the printed circuit board in 3D

    Easyduino Atmega

    Hanqaqa/Easyduino

    Easily dive into different PCB KiCad designs of the most popular microcontroller devboards

    38 parts755CERN-OHL-P-2.0

Questions

How big is the JBT01 PCB?

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

What parts does the JBT01 use?

79 parts, built around the MS51FB9AE, MAX6675ISA+, AMS1117-5V and EL817. 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 JBT01 KiCad files?

From the jbteja/tj01-ms51-heater-controller repository on GitHub, at the commit this page was made from: the board is Hardware/JBT01.kicad_pcb and its schematic Hardware/JBT01.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the JBT01 design in my own project?

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