Hi all,
I am trying to control the angle of rotation of dc motor using encoder. I have used the attachinterrupt function to get the input from the sensor, and the change in input is taken as count of the angle. The problem is its not detecting the input properly. while checking the input voltage of the sensor is around 0.79V.
please tell me what am i doing wrong, is there any other way to control?
Any kind of help is appreciated. Thanks.