A tubular electromechanical actuator for a closure or sun protection home automation installation, the electromechanical actuator comprising at least: - an electric motor , - a reduction gear , - an electronic control unit , the electronic control unit comprising a housing and an electronic board , the electronic board being arranged inside the housing , in an assembled configuration of the electronic control unit , - a first electrical connection device , the first electrical connection device being configured to electrically connect the electronic board of the electronic control unit to the electric motor , in an assembled configuration of the electromechanical actuator , and - a casing , the casing being hollow and configured to house at least the electronic control unit , the electric motor and the reduction gear , characterized in that the first electrical connection device comprises at least: - first electrical connection elements configured to electrically connect the electronic board of the electronic control unit to electrical connection elements of the electric motor , in the assembled configuration of the electromechanical actuator , and - second electrical connection elements configured to electrically connect the electronic board of the electronic control unit to electrical connection elements of an additional electronic board of the electric motor , in the assembled configuration of the electromechanical actuator , in that the first electrical connection device is configured, on the one hand, to plug onto an edge of a printed circuit board of the electronic board of the electronic control unit and, on the other hand, to cooperate with electric tracks of the electronic board of the electronic control unit , in that the first and second electrical connection elements of the first electrical connection device are electrical connection elements configured to cooperate directly with the respective electrical connection elements of the electric motor and of the additional electronic board of the electric motor . - an electric motor , - a reduction gear , - an electronic control unit , the electronic control unit comprising a housing and an electronic board , the electronic board being arranged inside the housing , in an assembled configuration of the electronic control unit , - a first electrical connection device , the first electrical connection device being configured to electrically connect the electronic board of the electronic control unit to the electric motor , in an assembled configuration of the electromechanical actuator , and - a casing , the casing being hollow and configured to house at least the electronic control unit , the electric motor and the reduction gear , - first electrical connection elements configured to electrically connect the electronic board of the electronic control unit to electrical connection elements of the electric motor , in the assembled configuration of the electromechanical actuator , and - second electrical connection elements configured to electrically connect the electronic board of the electronic control unit to electrical connection elements of an additional electronic board of the electric motor , in the assembled configuration of the electromechanical actuator , <EOS>