Difference between revisions of "Magnetic Encoder"

From Aus3D Wiki
Jump to navigation Jump to search
Line 2: Line 2:
== Operation ==
== Operation ==
=== Startup Indicators ===
=== 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.
{| style="width:75%;" class="wikitable"
|Flash
|Description
|colspan="2" align="center"| Meaning
|-
|rowspan=2 | First
|rowspan=2 | Communication with encoder IC
|style='background: #ff0000' align="center" |Red
|align="center" | Failure
|-
|style='background: #00ff00' align="center" |Green
|align="center" | Working
|-
|rowspan=2 | Second
|rowspan=2 | Saved Settings Found?
|style='background: #ff00ff' align="center" |Magenta
|align="center" | Not found, reinitialising to defaults
|-
|style='background: #00ff00' align="center" |Green
|align="center" | Settings found, restored
|-
|rowspan=9 | Third
|rowspan=9 | Module I2C Address
|style='background: #1E90FF' align="center" |Blue
|align="center" | 30 (X)
|-
|style='background: #FFFF00' align="center" |Yellow
|align="center" | 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 ===
=== I2C Commands ===
=== Setting Axis ===
=== Setting Axis ===

Revision as of 13:00, 31 May 2016

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

Setting Axis

Additional Notes

Wiring

Buy It

Design Files

License