Sensor for sensing an angular orientation of a magnet producing a magnetic field, said sensor comprising - N ≥ 2 Hall effect devices (HD1, HD2,...), each having a detection direction and comprising a first and a second pair of connectors, wherein, in presence of said magnetic field, a flow of an electric current between the connectors of said first pair allows to pick up a Hall voltage (VHall) between the connectors of the second pair induced by said magnetic field, unless a magnetic field component (Bz) of said magnetic field along said detection direction is zero, wherein said N Hall effect devices (HD1, HD2,...) are aligned such that they have a common detection direction lying along an axis, in particular wherein N ≥ 3, more particularly N ≥ 4; - a filtering-or-resonating unit comprising an input and an output, wherein a signal outputted from said output is referred to as filtered signal; - a wiring unit operationally connected to the respective second pair of connectors of each of said N Hall effect devices (HD1, HD2,...), structured and configured for selectively operationally connecting the connectors of said second pairs to said input of said filtering-or-resonating unit; - a control unit structured and configured for controlling said wiring unit in such a way that during a first time period of a duration Tf and in a fixed sequence of said N Hall effect devices (HD1, HD2,...), each of saidN Hall effect devices (HD1, HD2,...) is, with its second pair of connectors, successively operationally connected to said input of said filtering-or-resonating unit; - an output unit operationally connected to said output of said filtering-or-resonating unit structured and configured for obtaining from a filtered signal an output signal related to said angular orientation and outputting said output signal; wherein said filtering-or-resonating unit is structured and configured for altering an inputted signal of a fundamental frequency f = 1 / Tf, said inputted signal containing, in addition to said fundamental frequency, higher harmonics, in such a way that an intensity of said higher harmonics is decreased relative to an intensity of said fundamental frequency. - N ≥ 2 Hall effect devices (HD1, HD2,...), each having a detection direction and comprising a first and a second pair of connectors, wherein, in presence of said magnetic field, a flow of an electric current between the connectors of said first pair allows to pick up a Hall voltage (VHall) between the connectors of the second pair induced by said magnetic field, unless a magnetic field component (Bz) of said magnetic field along said detection direction is zero, wherein said N Hall effect devices (HD1, HD2,...) are aligned such that they have a common detection direction lying along an axis, in particular wherein N ≥ 3, more particularly N ≥ 4; - a filtering-or-resonating unit comprising an input and an output, wherein a signal outputted from said output is referred to as filtered signal; - a wiring unit operationally connected to the respective second pair of connectors of each of said N Hall effect devices (HD1, HD2,...), structured and configured for selectively operationally connecting the connectors of said second pairs to said input of said filtering-or-resonating unit; - a control unit structured and configured for controlling said wiring unit in such a way that during a first time period of a duration Tf and in a fixed sequence of said N Hall effect devices (HD1, HD2,...), each of saidN Hall effect devices (HD1, HD2,...) is, with its second pair of connectors, successively operationally connected to said input of said filtering-or-resonating unit; - an output unit operationally connected to said output of said filtering-or-resonating unit structured and configured for obtaining from a filtered signal an output signal related to said angular orientation and outputting said output signal;