1.

What is the purpose of the DATA pin in the rotary encoder?(a) To provide direction of motion(b) To power the module(c) To shut down the module(d) To provide analog reference voltageThe question was asked at a job interview.This interesting question is from Rotary Encoder topic in portion Interfacing of Sensors, Actuators, and Other Modules of Arduino

Answer»

Correct answer is (a) To provide direction of motion

The EXPLANATION: The ROTARY encoder has a CLK PIN and a DATA pin. The DATA pin gives out PULSES which vary in phase depending upon the direction of rotation of the rotary encoder which is determined by comparing it with the non-variable pulse train of the CLK pin.



Discussion

No Comment Found

Related InterviewSolutions