PID Controller source code and hardware

Jump start your embedded control project


Description of the software package

What exactly is in the software package? The package consist of a batch file, to compile and link the code using the GCC compiler (free and public), and ANSI C source code only. There are no 3d party libraries involved. All code is commented. The ANSI C-code (text files) consists of the following routines:
  • a Main file that calls the subroutines, and simulates an FOTD model and the controller with add-ons and logs the simulated data to a text file
  • the PID controller (as a subroutine)
  • Autotuning (as a subroutine)
  • Second order filters that allows you to create any type of filter, like notch filters, lead lag, low pass (subroutine)

Customer reviews

This PID Controller source code with self-tuning algorithms and filters included, continues to work extremely well. We could not be more pleased with the results!
CEO of J-Systems Inc, Lombard, USA.

We have successfully applied the PID Controller source code in an embedded mould temperature controller. Using the PID Tuner software of DotX we tuned the PID settings to obtain fast temperature control with minimal overshoot.
H. van Hulsen, Control Engineer at Small Processor Systems B.V., the Netherlands

Arduino Package

Our Arduino hardware/software package runs our PID Controller source code and is prepared to connect with the PID Tuner and PID Monitor.

You can either buy the package pre-installed from us, or buy the components yourself and install the software yourself. The included components are listed below, and the wiring scheme can be found here.
  • Arduino Uno
  • Solid State Relay: SSR-40DA
  • Temperature Sensor: DHT20
  • source code of PID Controller
  • source code to connect with the PID Tuner
  • source code to connect with the SSR-40DA and DHT20

Quote request

Please select the appropiate tick-box(es) and fill in the form. Please note that we do not provide the software for free, even if you are a student.


    Select your options

    Controller source code (C/Matlab)Arduino Package

    Your message

    Personal Details