Instead of using a $20 and up pressure regulator, the author used an analog gauge and wire contacts within it to determine when to shut the compressor on/off. There is a motor that turns the incoming supply on and off too.
https://www.homemadetools.net/forum/motorized-pressure-regulator-video-87250?homelistings#post188398