Which of the following operates based on magnetic effect of electric current?