Dual Concentric Encoder Connection-Checker Tool

Dual Concentric Encoder Connection-Checker Tool

Introduction #

This is a simple tool you can use to check / ensure that the connections you have soldered on your ELMA E-37 encoder are functioning properly.

Required Software:

Opening The Sketch #

  • Install the Arduino IDE
  • Unzip the “Dual Encoder Tester” sketch. Make you keep the Dual_Encoder_Tester.ino file in a folder called “Dual_Encoder_Tester”, just like it is in the zip file.
  • Open the sketch in Arduino. You should have a file that looks like this:

Uploading To The Arduino #

  • Ensure your Arduino is plugged in, and SPAD next is closed.
  • Under the TOOLS menu, ensure that the following items are selected:

BOARD: Arduino Mega or Mega 2560
PROCESSOR: ATmega2560 (Mega2560)
PORT: Your Arduino Com Port

Exit the tools menu and press the arrow symbol on the tool-bar to begin the upload.

Reading The Results #

  • Check that the sketch has uploaded (check the terminal at the bottom of the IDE for status)
  • Go to TOOLS > Serial Monitor
  • The Serial Monitor will pop up. Ensure that the “baud” rate is set to 9600 (lower right hand corner of the serial monitor window.


You can see that Pin 2 / 3, and 4 / 5 are grouped together. These groups represent the connections for the inner and outer encoder.

When any encoder axis is turned one click, both pins should change from 0 to 1, or from 1 to 0.

If you see a mismatch in a group (For example, Pin 2 is “0” and Pin 3 is “1”), there is a connection problem present.

Likewise, if you turn the encoder one click and don’t see any changes, multiple pins could be disconnected.

The BUTTON PIN will always be “1” in it’s natural state. Pushing and holding the button pin will change it to “0” on the next update.

In this example, you can see the inner knob was turned one click (Pins 2/3), then the outer knob was turned one click (Pins 5/6). Then, the outer knob was turned once more (1 changes to 0 on pins 5/6) and the inner knob was turned again at the end (1 changes to 0).

Restoring The Echo Firmware #

To restore the Echo, please use the Class Echo Updater tool and only select the Arduino firmware (you can leave the display firmware blank). Upload and the Echo should be ready to go!

Powered by BetterDocs


Go to Top