The ArduinoUno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The RaspberryPi4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The RaspberryPi4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the RaspberryPi4 and the ArduinoUno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the RaspberryPi and the ArduinoUno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the RaspberryPi4 should work with all other models of RaspberryPi family.
The book covers the following topics:
– Open-loop and closed-loop control systems
– Analog and digital sensors
– Transfer functions and continuous-time systems
– First-order and second-order system time responses
– Discrete-time digital systems
– Continuous-time PID controllers
– Discrete-time PID controllers
– ON-OFF temperature control with RaspberryPi and ArduinoUno
– PID-based temperature control with RaspberryPi and ArduinoUno
– PID-based DC motor control with RaspberryPi and ArduinoUno
– PID-based water level control with RaspberryPi and ArduinoUno
– PID-based LED-LDR brightness control with RaspberryPi and ArduinoUno
The full program listings of all the projects discussed in the book may be downloaded free of charge from www.elektor.com/20274.





