Rotation detection device for the detection of the rotation of a vehicle pedal comprising a pedal shaft , the pedal being rotatable around an axis of rotation (A) extending through a center of the pedal shaft , the rotation detection device comprising a movable first part , which is configured to rotate around the axis of rotation (A) together with the pedal , a stationary second part , wherein the first and the second part are arranged radially outside of the pedal shaft , a magnetic field sensing component arranged in the first or in the second part , and a magnetic element arranged in that part of the first or the second part that does not comprise the magnetic field sensing component , wherein the magnetic field sensing component generates an electric signal originated from the magnetic interaction between the first and the second part when the first and the second part are moving in relation to each other, wherein the first part is coupled to the second part so that the motion of the first part is controlled in relation to the second part , the rotation detection device further comprising a cover coupled to the second part that at least partially covers the first part , the second part comprising a housing where the first part is arranged, characterized in that the first part comprises a base part and at least one upper arm protruding from the base part and at least one lower arm protruding from the base part , the cover comprising an upper front wall delimiting an upper guide groove with the second part , wherein the upper guide groove cooperates with the at least one upper arm and a lower front wall delimiting a lower guide groove with the second part , wherein the lower guide grove cooperates with the at least one lower arm for guiding the first part in relation to the second part in an axial direction, the cover further comprising an upper side wall and a lower side wall , the upper side wall and the lower side wall cooperating with the base part for guiding the first part in relation to the second part in a radial direction. a movable first part , which is configured to rotate around the axis of rotation (A) together with the pedal , a stationary second part , wherein the first and the second part are arranged radially outside of the pedal shaft , a magnetic field sensing component arranged in the first or in the second part , and a magnetic element arranged in that part of the first or the second part that does not comprise the magnetic field sensing component , wherein the magnetic field sensing component generates an electric signal originated from the magnetic interaction between the first and the second part when the first and the second part are moving in relation to each other, wherein the first part is coupled to the second part so that the motion of the first part is controlled in relation to the second part , the rotation detection device further comprising a cover coupled to the second part that at least partially covers the first part , the second part comprising a housing where the first part is arranged, characterized in that the first part comprises a base part and at least one upper arm protruding from the base part and at least one lower arm protruding from the base part , the cover comprising an upper front wall delimiting an upper guide groove with the second part , wherein the upper guide groove cooperates with the at least one upper arm and a lower front wall delimiting a lower guide groove with the second part , wherein the lower guide grove cooperates with the at least one lower arm for guiding the first part in relation to the second part in an axial direction, the cover further comprising an upper side wall and a lower side wall , the upper side wall and the lower side wall cooperating with the base part for guiding the first part in relation to the second part in a radial direction. <EOS>