Author/Authors :
Alborz، Yasaman نويسنده Department of Electrical and Computer Engineering, Islamic Azad University, Tehran, Iran , , Bigdeli، Paria نويسنده Department of Electrical and Computer Engineering, Islamic Azad University, Tehran, Iran , , Zarei، Arghavan نويسنده Department of Science and Engineering, Islamic Azad University, Tehran, Iran ,
Abstract :
This article describes the design and construction of simple encoding that could perform rotary motion around an symmetry axis. The rotating drum for each 20 degree with a pair of black line is the line to help to identify this infrared reagents is achieved. Single-phase program to encompass the all kinds of sensors placed a digital reading of (0 -1) bit numbers in a logical and original software (Code vision)Written in C that upon crossing the black line by the first sensor out put voltage from the other sensors to be read and stored a Number in base 2.
Read each passage through the black line with the previous number (Known variable 1) is compared and if the first variable is Equal to the angle of second variable does not change.But if the first variable of the second variable is smaller for the positive angle and a variable number of integer variables the second is further To be a negative angle.