Magnetic Encoder

From Aus3D Wiki
Jump to navigation Jump to search

Overview

Operation

Startup Indicators

On startup, the encoder module will use the on-board RGB LEDs to signal status information. This information can be useful if you are having trouble with an encoder module, and need to diagnose the problem.

The LED will pulse several times in different colours, and information on decoding these pulses is below.

Flash Description Meaning
First Communication with encoder IC Red Failure
Green Working
Second Saved Settings Found? Magenta Not found, reinitialising to defaults
Green Settings found, restored
Third Module I2C Address Blue 30 (X)
Yellow 31 (Y)

As an example, a sequence of flashes coloured green, green and blue, would indicate that the encoder IC is working (good), saved settings have been found (so module has been used and possibly configured before) and is configured with an I2C address of 30 (which is used to represent an X axis encoder).

If the module detects an unrecoverable fault (for instance, if communication with the encoder IC can not be established) then it will stop on that flash and continuously blink.

I2C Commands

The encoder module responds to several different I2C commands. The following table details the different commands available.

Setting Axis

LED Modes

Additional Notes

Wiring

Buy It

Design Files

License