A control device for pressurized fluids includes a valve mechanism actuated by a first device incorporating electromagnets in a first housing, and a second device incorporating a circuit board for controlling the valve mechanism in a second housing. Pins on the first device and sockets on the second device automatically form an electrical plug-type connection when the housings are joined. Each socket is received in a first portion of a through-hole provided in a mount supported on the circuit board such that it extends into a corresponding through-hole in the circuit board. A second portion of each through-hole in each mount has a funnel-shaped guide opening toward the pins. A pressure sensor supported by the circuit board forms a plug-type engagement with a port extending from the valve mechanism when the housings are joined. Contacts extend from the sensor into holes in the circuit board.