I am trying to connect arduino to absolute turn encoder. AEAT-9000-1GSH0
Datasheet: http://www.farnell.com/datasheets/1801561.pdf
What would be the best connecting protocol? Analog? SSI? SPI?
I am using Arduino Nano
I am trying to connect arduino to absolute turn encoder. AEAT-9000-1GSH0
Datasheet: http://www.farnell.com/datasheets/1801561.pdf
What would be the best connecting protocol? Analog? SSI? SPI?
I am using Arduino Nano
It depends on your requirements for speed, accuracy and ease of use.
The SPI is used for setting up the encoder, but not for reading it.
The SSI problem has been addressed several times. Search for ssi in the forum and see if you can find a solution to your problem.
You could monitor the inc and dec outputs and keep your own position count at reduced accuracy (11 bits).
You could read the analogue outputs and get 10 bit values then use trig to find the position.
Pogo.
Thank you!
I found that thread, where is useful code: Absolute rotary Encoder SSI SPI how ? - Networking, Protocols, and Devices - Arduino Forum
Now I have a prolbem with connecting pins. There is one data pin and one clock pin. My device has data- and data+ pins, clock- and clock+ pins. How I need to connect them? I tried connecting just data+ and clock+, but that didn't work. Gave me reading 0.
Not the most helpful datasheet, but I think "single ended" is what you want and this is possible by tying Clock- and Data- to ground.
MorganS:
Not the most helpful datasheet, but I think "single ended" is what you want and this is possible by tying Clock- and Data- to ground.
I connected NSL-, DOUT- and SCL- to ground. Connected DOUT+ to arduino pin, SCL+ to another arduino pin and used a code from other thread and no data. +5V and GND are connected.