How to Use Incremental Encoders

How to connect incremental encoders for industrial use with RS-422 interface to an Arduino UNO.

Feb 6, 2020

28082 views

4 respects

Components and supplies

1

DFS60 incremental encoder

1

Arduino UNO

1

RS422 / RS485 Shield

Tools and machines

1

Multitool, Screwdriver

Apps and platforms

1

Arduino IDE

Project description

Code

Code for Arduino UNO

arduino

Code for Arduino UNO

arduino

Downloadable files

Wiring diagram

Wiring diagram

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

If the motor does 3.000 rpm, the encoder 1.000 pulses, does the arduino have enough capacity or are pulses lost? Thks

Anonymous user

4 years ago

I have a similar encoder with A+,A-,B+,B-,Z+,Z- outputs. Do you have negative voltage on the negative outputs or negative logic levels. For my encoder it is negative logic levels. Which means when A+ is high(min. 2.4V), A- would be low(max. 0.4V) and vice versa. Can I use this shield for my application?

atzensepp

2 years ago

A very nice solution for reading out incremental encoders with an Arduino is the circuit iC-MD from IC-Haus. This can deal with RS422, TTL, CMOS, LVDS input signals (up to 40 MHz) and supports 2 A,B,Z-Encoders (Count len 24 Bit) simultaneously. The chip can be controlled by an Arduino via SPI.

Anonymous user

4 years ago

If the motor does 3.000 rpm, the encoder 1.000 pulses, does the arduino have enough capacity or are pulses lost? Thks