The article describes a prototype device for testing the dynamic stress of materials with the intention of analysing the fatigue behaviour of the materials. A pneumatic cylinder controlled by a proportional pressure regulator is used to achieve the required force. The experimental set-up consists of structural elements with pneumatic components, then a control system with a Controllino device and HMI interface, and the measuring system composed of a dynamometer with an amplifier characterized by high accuracy and sampling frequency characteristics. With this system, it is possible to work in both compression and tension ranges. The basic parameters of the process were identified, then the controloriented dynamic model of the system was derived, and the synthesis of the PID controller was made for more precise following of the sinusoidal reference signal. Compared to hydraulic solutions that are used to achieve large forces, this pneumatic fatigue testing machine has a compact design, the desired reference is simply set via the HMI interface, it is portable, and it can be used to test materials with lower tensile strength.