A new electromechanical system with rotating arm and bistable potential energy is studied. The bistability is generated by the interaction of three permanent magnets, one fixed at the end of the arm and two other fixed at equal distance relative to the central position of the arm. It exhibits dissipative and Hamiltonian chaos. Such a bistable electromechanical system can be used as the actuation part of chaotic sieves and mixers.