Simulink Temperature Control Lab (TCLab) with Arduino

The Simulink Temperature Control Lab connects to an Arduino Leonardo with a TCLab shield.
Updated 28 Oct 2019

View License

The Temperature Control Lab is a plug-and-play Arduino device to teach machine learning and process control. Two heaters and an LED are adjusted. Two temperature sensors have a multi-variate and dynamic response to heater changes. Thermochromic pigment turns pink when hot and black when it cools off. The Simulink lab gives data so that theory and methods are reinforced with concrete and tangible examples. There is course material available to students and instructors thanks to efforts by many professors. The TCLab is also available on Amazon.

TCLab Homepage:

The National Science Foundation sponsored a report on Chemical Engineering Academia-Industry Alignment for Expectations about New Graduates. The report identifies a strong industrial need for practical understanding of process control and system dynamics. Industry feedback also suggested more weight on translating theory to practice in a way that is scalable for large class sizes. Instructors from 40 universities have adopted the lab, primarily for process dynamics and control education. Over 1900 lab kits have been distributed to individuals and instructors.

More information (video):

Cite As

John Hedengren (2024). Simulink Temperature Control Lab (TCLab) with Arduino (, MATLAB Central File Exchange. Retrieved .

Hedengren, J.D., Martin, R.A., Kantor, J.C., Reuel, N., Temperature Control Lab for Dynamics and Control, AIChE Annual Meeting, Orlando, FL, Nov 2019. Abstract: Oliveira, P.M., Hedengren, J.D., An APMonitor Temperature Lab PID Control Experiment for Undergraduate Students, 24th IEEE Conference on Emerging Technologies and Factory Automation (ETFA), Sep 10th - 13th, 2019, Zaragoza, Spain. Preprint: Rossiter, J.A., Jones, B.L., Pope, S., Hedengren, J.D., Evaluation and Demonstration of Take Home Laboratory Kit, Invited Session: Demonstration and poster session, 12th IFAC Symposium on Advances in Control Education, July 7-9, 2019, Philadelphia, PA, USA. Preprint:

MATLAB Release Compatibility
Created with R2019a
Compatible with R2018a to R2019a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Improved Simulink Interface