![]() |
rasProject_01 / weSweetHome
R. 102 2025-10-31
process control / RasPi software by weinert-automation
|
The ideas behind using a Raspberry Pi for process control are published in raspberry4distributedControl.pdf (dir) at a-weinert.de.
By certain configuration and utilising constraints we get 24/7 base for control software with
Compared with industrial PLCs and weAut01 there is
Devices supported by the library include
The preferred Raspberry test and target platform for control applications is a Pi4 or Pi3 with a non graphical or "lite" OS. But other (PiZero) and older platforms (Pi1) may be sufficient sometimes. To handle differences (GPIO pinning e.g.) in a uniform way, the include files in directory include/arch describe those platforms.
On the other (dark) side you won't find Pi5 due to its breaking all GPIO handling compatibilities from Pi0 to Pi4.
For software and documentation developed for this project:
Copyright © 2017 2025 A. Weinert
Prof. Dr.-Ing. Albrecht Weinert <a-weinert.de >
weinert-automation Bochum <weinert-automation.de >
All rights reserved.
The software is open source and available by a download link (to be asked for at the moment.
It uses open source libraries by other authors. Those parts keep their original license and author's copyright.
The different Raspberry types, like Pi1, 3, 4, Zero (0) etc. but no Pi5 can be handled transparently to the control programs. This is done by a make variable TARGET identifying a concrete target machine and, hence, the architecture, via the PLATFORM variable. The latter can also be set directly as PLATFORM = raspberry_03 e.g.. raspberry_04 is the default by the way.
By the variable TARGET we do also switch between a 32bit and a 64 bit cross platform tool chain. Obviously, the installed OS is a "fixed" property of the concrete Pi. The mechanism used is
See config.h and config_raspberry_04.h for the mechanism and the 40 pin IO.
(For 26 pin see config_raspberry_01.h.)
Rev. 101, 31.10.2025