Reading Absolute Encoder with Arduino

preview_player
Показать описание
TRD-NA1024NW 10-bits Absolute Encoder reading by Arduino sending position to PC via serial and Drawing by Processing.
The code is Free of use it, feel free to try it !

Arduino Code:

Processing Code:
Рекомендации по теме
Комментарии
Автор

i've using TRD-NA1024NW and the reading is inaccurate although i use your code and connect the cables correctly. it cannot change the value linear as yout result.

zaynabds
Автор

excellent but why you are pairing so high resolution with so slow Arduino?

getinsidelife
Автор

what changes should i have to made in order to use 5 bit encoder

Ebuilt
Автор

Should work with a Temposonic R-Series? and how is the wiring?

wilsoncontreras
Автор

i am actually confused in this part

// Gray Code Decoder
dec_position = pin_state[9];
for( int i = 8; i >= 0; i = i -1){
dec_position = (dec_position << 1) | (pin_state[i] ^ (dec_position&0x1));

Ebuilt
Автор

EP58HB8-1024-1F-P-5 AUTONICS. Could you let me know how can I connect encoder with arduino.

수리수리아빠수리
Автор

sir how to use it it with motor we just simply attach the motor shaft with encoder shaft?

Ebuilt
Автор

Heyy
I am using an
Autonics Shaft Type Absolute Rotary Encoder EP50S8-1024-2F-P-24
It has a pnp open collector output
And moreover its output is binary
Can you tell me what chages i have to make in the original code to make this thing work

danishmalik
Автор

Hello, can you give me a wire of diagram? Thank you so much

duongquang
welcome to shbcf.ru