1. Wprowadzenie
This manual provides detailed instructions for the setup, operation, and maintenance of the UMLIFE AS5600 Magnetic Encoder Module. The AS5600 is a high-precision 12-bit non-contact rotary magnetic encoder designed for accurate angle measurement. It offers multiple output modes including I2C, PWM, and analog voltage, making it versatile for various embedded applications.
Please read this manual thoroughly before using the module to ensure correct installation and optimal performance.
2. Koniec produktuview
The AS5600 module utilizes a magnetic field to determine angular position without physical contact, reducing wear and increasing longevity. It is suitable for applications requiring precise angular feedback.
2.1 Module Components
The module consists of the AS5600 sensor IC, passive components, and pin headers for connectivity. A separate magnet (included) is required for operation.

Image 2.1: A single UMLIFE AS5600 Magnetic Encoder Module shown with its accompanying pin headers and a small circular magnet. The module features clearly labeled pins for VCC, OUT, GND, DIR, SCL, SDA, and GPO.
2.2 Opis wyprowadzeń
The AS5600 module features several pins for power, ground, and data communication:
- VCC: Power supply input (typically 3.3V or 5V).
- masa: Połączenie uziemienia.
- NA ZEWNĄTRZ: Objętość analogowatage output or PWM output.
- REŻYSER: Direction pin (can be used for I2C address selection or direction control).
- SCL: I2C Clock line.
- SDA: I2C Data line.
- Obiekt zasad grupy: General Purpose Output (can be configured for various functions).

Ilustracja 2.2: Przód i tył views of the AS5600 module. The front shows the AS5600 IC and labeled pins, while the back shows solder pads and mounting holes.
3. Konfiguracja
3.1 Rozpakowanie i kontrola
Upon receiving your AS5600 modules, carefully unpack them and inspect for any visible damage. Ensure all components, including the pin headers and magnets, are present.

Image 3.1: Three AS5600 Magnetic Encoder Modules, each accompanied by a set of pin headers and a small circular magnet, laid out for inspection.
3.2 Połączenia elektryczne
Connect the AS5600 module to your microcontroller or development board according to the following guidelines:
- Łączyć VCC to your power supply (3.3V or 5V).
- Łączyć GND to the ground of your system.
- For I2C communication, connect SCL I SDA to the corresponding I2C pins on your microcontroller.
- For PWM or Analog Voltage output, connect the NA ZEWNĄTRZ pin to an appropriate input on your microcontroller (e.g., an analog-to-digital converter pin for voltage output, or a digital input for PWM).
- Ten DYREKTOR I Obiekt GPO pins can be configured via I2C for specific functionalities. Refer to the AS5600 datasheet for advanced configurations.
3.3 Magnet Placement
Proper placement of the magnet is crucial for accurate readings. The magnet should be centered directly above the AS5600 sensor IC, with a small air gap (typically 0.5mm to 3mm). The magnetic field strength and orientation are critical; use the provided diametrically magnetized magnet.

Obraz 3.2: Kątowy view of the AS5600 module, showing the pin headers inserted and the small circular magnet positioned nearby, illustrating the components involved in setup.
4. Tryby pracy
The AS5600 supports three primary output modes for angle measurement:
4.1 I2C (Inter-Integrated Circuit) Mode
In I2C mode, the AS5600 acts as a slave device. Your microcontroller can read the 12-bit angle data directly from the sensor's registers. This mode allows for configuration of various parameters such as start/end angle, hysteresis, and output scaling.
- Adres I2C: The default I2C address is 0x36.
- Format danych: Angle data is typically read from specific registers (e.g., 0x0E and 0x0F for raw angle).
- Konfiguracja: Use I2C commands to write to configuration registers for advanced settings.
4.2 PWM (Pulse Width Modulation) Mode
In PWM mode, the AS5600 outputs a pulse-width modulated signal where the duty cycle is proportional to the measured angle. Your microcontroller can measure the pulse width to determine the angle.
- Output Pin: The OUT pin provides the PWM signal.
- Częstotliwość: The PWM frequency can be configured via I2C.
- Pomiar: Use a timer/counter on your microcontroller to measure the high pulse duration and total period.
4.3 Objętość analogowatage Tryb wyjścia
In analog voltage mode, the AS5600 outputs a voltage on the OUT pin that is proportional to the measured angle. This voltage can be read by an Analog-to-Digital Converter (ADC) on your microcontroller.
- Zakres wyjściowy: tomtage range typically scales from 0V to VCC.
- Rezolucja: The effective resolution depends on the ADC of your microcontroller.
5. Kalibracja
For optimal accuracy, it is recommended to calibrate the AS5600 module after initial setup. Calibration typically involves setting the zero position and, if desired, the maximum angle position. This can be done by writing to specific registers via I2C. Refer to the AS5600 datasheet for detailed calibration procedures.
6. Konserwacja
The AS5600 module is a robust electronic component. Minimal maintenance is required:
- Warunki środowiskowe: Operate the module within its specified temperature and humidity ranges.
- Zakłócenia magnetyczne: Avoid placing strong magnetic fields near the sensor, as this can affect readings.
- Czyszczenie: If necessary, gently clean the module with a dry, soft cloth. Avoid using liquids or abrasive materials.
7. Rozwiązywanie Problemów
If you encounter issues with your AS5600 module, consider the following troubleshooting steps:
- Brak wyników/nieprawidłowe odczyty:
- Verify power supply (VCC and GND) connections are correct and stable.
- Check magnet placement and distance from the sensor. Ensure the magnet is centered and diametrically magnetized.
- Confirm the correct output mode is selected and configured (I2C, PWM, or Analog).
- For I2C, check SCL/SDA connections and ensure the correct I2C address is used.
- Communication Errors (I2C):
- Ensure pull-up resistors are present on SCL and SDA lines (typically 4.7kΩ).
- Check for bus conflicts with other I2C devices.
- Niespójne odczyty:
- Ensure the magnet is securely fixed and not wobbling.
- Minimize external magnetic interference.
8. Specyfikacje
Key technical specifications for the UMLIFE AS5600 Magnetic Encoder Module:

Image 8.1: The AS5600 module with clear dimension markings, indicating its compact size of 23mm by 23mm.
| Funkcja | Opis |
|---|---|
| Marka | UMLIFE |
| Nazwa modelu | AS5600 Magnetic Encoder |
| Typ pomiaru | Non-contact magnetic induction |
| Rezolucja | 12-bit |
| Tryby wyjściowe | I2C, PWM, Analog Voltage |
| Technologia łączności | I2C |
| Zgodność z systemem operacyjnym | Linux (for development environments) |
| Wymiary | Approx. 23mm x 23mm (0.91in x 0.91in) |
| Zawarte komponenty | Magnetic Encoder Module, Pin Headers, Magnet |
9. Gwarancja i wsparcie
The UMLIFE AS5600 Magnetic Encoder Module comes with a standard manufacturer's warranty. For specific warranty details, please refer to the product packaging or contact your retailer.
For technical support, inquiries, or further assistance, please contact UMLIFE customer service through the official channels provided at the point of purchase or on the UMLIFE brand store page.