1. ບົດແນະນຳ
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. ຜະລິດຕະພັນເກີນview
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 ອົງປະກອບໂມດູນ
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 ລາຍລະອຽດ Pinout
The AS5600 module features several pins for power, ground, and data communication:
- VCC: Power supply input (typically 3.3V or 5V).
- GND: ການເຊື່ອມຕໍ່ພື້ນດິນ.
- ອອກ: ອະນາລັອກ voltage output or PWM output.
- DIR: Direction pin (can be used for I2C address selection or direction control).
- SCL: I2C Clock line.
- SDA: I2C Data line.
- GPO: General Purpose Output (can be configured for various functions).

ຮູບພາບ 2.2: ດ້ານໜ້າ ແລະ ດ້ານຫຼັງ views of the AS5600 module. The front shows the AS5600 IC and labeled pins, while the back shows solder pads and mounting holes.
3. ຕັ້ງຄ່າ
3.1 ການຫຸ້ມຫໍ່ແລະການກວດກາ
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 ການເຊື່ອມຕໍ່ໄຟຟ້າ
Connect the AS5600 module to your microcontroller or development board according to the following guidelines:
- ເຊື່ອມຕໍ່ VCC to your power supply (3.3V or 5V).
- ເຊື່ອມຕໍ່ GND to the ground of your system.
- For I2C communication, connect SCL ແລະ SDA to the corresponding I2C pins on your microcontroller.
- For PWM or Analog Voltage output, connect the ອອກ 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).
- ໄດ້ DIR ແລະ 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.

ຮູບພາບ 3.2: ເປັນມຸມ view of the AS5600 module, showing the pin headers inserted and the small circular magnet positioned nearby, illustrating the components involved in setup.
4. ຮູບແບບການເຮັດວຽກ
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.
- ທີ່ຢູ່ I2C: The default I2C address is 0x36.
- ຮູບແບບຂໍ້ມູນ: Angle data is typically read from specific registers (e.g., 0x0E and 0x0F for raw angle).
- ການຕັ້ງຄ່າ: 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.
- ຄວາມຖີ່: The PWM frequency can be configured via I2C.
- ການວັດແທກ: Use a timer/counter on your microcontroller to measure the high pulse duration and total period.
4.3 Analog Voltage ຮູບແບບຜົນຜະລິດ
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.
- ຂອບເຂດຜົນຜະລິດ: ປະລິມານtage range typically scales from 0V to VCC.
- ຄວາມລະອຽດ: The effective resolution depends on the ADC of your microcontroller.
5. Calibration
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. ບໍາລຸງຮັກສາ
The AS5600 module is a robust electronic component. Minimal maintenance is required:
- ເງື່ອນໄຂສິ່ງແວດລ້ອມ: ດໍາເນີນການໂມດູນພາຍໃນຂອບເຂດອຸນຫະພູມແລະຄວາມຊຸ່ມຊື່ນທີ່ກໍານົດຂອງມັນ.
- ການແຊກແຊງແມ່ເຫຼັກ: Avoid placing strong magnetic fields near the sensor, as this can affect readings.
- ທໍາຄວາມສະອາດ: If necessary, gently clean the module with a dry, soft cloth. Avoid using liquids or abrasive materials.
7. ການແກ້ໄຂບັນຫາ
If you encounter issues with your AS5600 module, consider the following troubleshooting steps:
- ບໍ່ມີຜົນຜະລິດ/ການອ່ານທີ່ບໍ່ຖືກຕ້ອງ:
- 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.
- ການອ່ານທີ່ບໍ່ສອດຄ່ອງ:
- Ensure the magnet is securely fixed and not wobbling.
- Minimize external magnetic interference.
8. ຂໍ້ມູນຈໍາເພາະ
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.
| ຄຸນສົມບັດ | ລາຍລະອຽດ |
|---|---|
| ຍີ່ຫໍ້ | UMLIFE |
| ຊື່ຕົວແບບ | AS5600 Magnetic Encoder |
| ປະເພດການວັດແທກ | Non-contact magnetic induction |
| ຄວາມລະອຽດ | 12-ບິດ |
| ຮູບແບບການສົ່ງອອກ | I2C, PWM, Analog Voltage |
| ເຕັກໂນໂລຊີການເຊື່ອມຕໍ່ | I2C |
| ຄວາມເຂົ້າກັນໄດ້ຂອງລະບົບປະຕິບັດການ | Linux (for development environments) |
| ຂະໜາດ | ປະມານ 23 ມມ x 23 ມມ (0.91 ນິ້ວ x 0.91 ນິ້ວ) |
| ອົງປະກອບລວມ | Magnetic Encoder Module, Pin Headers, Magnet |
9. ການຮັບປະກັນແລະການສະຫນັບສະຫນູນ
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.