Shopee
AS5600 Magnetic Angle Sensor Encoder Module เซ็นเซอร์ตรวจวัดมุมตำแหน่งของแม่เหล็ก
5.0
ขายแล้ว 2 ชิ้น
฿80
Rvada ตรวจสอบราคา
ราคาถูกผิดปกติ (10% ของค่าเฉลี่ยหมวด) ควรตรวจสอบร้านค้าก่อนซื้อ
General4_Group
แบรนด์:
NoBrand
ซื้อที่ Shopee
คุณจะถูกนำไปยัง Shopee
ลิงก์นี้เป็นลิงก์พันธมิตร เราอาจได้รับค่าคอมมิชชั่นจากการสั่งซื้อ โดยราคาที่คุณจ่ายไม่เปลี่ยนแปลง
รายละเอียดสินค้า
AS5600 Magnetic Angle Sensor Encoder Module เซ็นเซอร์ตรวจวัดมุมตำแหน่งของแม่เหล็ก
AS5600 คือชิปที่ใช้วัดตำแหน่งการหมุนได้รอบตัว 360 องศา โดยมีความละเอียด 12-bit (สินค้ามาพร้อมแม่เหล็กในชุด)
AS5600 ทำงานโดยใช้หลักการ Hall Effect (ตรวจจับสนามแม่เหล็ก)
- ตัวเซนเซอร์: ตัวชิปจะอยู่กับที่ (ติดบนแผ่น PCB)
- แม่เหล็ก: จะต้องติดแม่เหล็กถาวรไว้ที่แกนหมุนที่ต้องการวัด และวางให้อยู่เหนือตัวชิป (โดยเว้นระยะห่างเล็กน้อย ประมาณ 0.5 - 3 มม.)
- การอ่านค่า: เมื่อแกนหมุน แม่เหล็กจะหมุนตาม ชิปจะตรวจจับการเปลี่ยนแปลงของสนามแม่เหล็กแล้วคำนวณออกมาเป็นองศา
การนำ AS5600 มาต่อกับ Arduino:
A. การเชื่อมต่อ (Wiring) ส่วนใหญ่ AS5600 จะสื่อสารผ่าน I2C ซึ่งใช้สายเพียง 2 เส้น (ไม่รวมไฟเลี้ยง)
- VCC: รองรับ 3.3V หรือ 5V (บอร์ดโมดูลส่วนใหญ่รองรับ 5V)
- GND: กราวด์
- SDA: ต่อกับขา SDA ของ Arduino (Uno คือขา A4)
- SCL: ต่อกับขา SCL ของ Arduino (Uno คือขา A5)
- ขา DIR: (ถ้ามี) ใช้กำหนดทิศทางการนับค่า (ตามเข็ม/ทวนเข็ม) ถ้าไม่ต่อมักจะเป็นค่า Default
B. ไลบรารี (Library) ไม่ต้องเขียนโค้ด I2C เองให้ยุ่งยาก มีไลบรารีสำเร็จรูปให้ใช้ แนะนำของ RobTillaart หรือ Seeed Studio
- ใน Arduino IDE ไปที่ Library Manager ค้นหาว่า AS5600 แล้วติดตั้งได้เลย
- คำสั่งหลักๆ คือ as5600.readAngle() ซึ่งจะได้ค่าออกมาเป็น 0-4095
ข้อควรระวัง
- ระยะห่าง (Air Gap): แม่เหล็กต้องวางห่างจากชิปในระยะที่เหมาะสม (ประมาณ 1-3 มม.) ถ้าใกล้หรือไกลไป ค่าจะไม่นิ่ง
- ศูนย์กลาง: ต้องวางแม่เหล็กให้ตรงกึ่งกลางชิปให้มากที่สุดเพื่อความแม่นยำ (Linearity)
- Address: AS5600 มี I2C Address ตายตัวที่ 0x36 เปลี่ยนไม่ได้ ดังนั้นถ้าจะใช้หลายตัวพร้อมกันต้องใช้ I2C Multiplexer ช่วย
An encoder module that can very accurately measure an angle of, for example, an axis by means of a magnetic field. In order for the sensor to work, the diametrically magnetized magnet must be attached to a shaft (e.g. with glue). The sensor must then be mounted just above it (maximum ~2mm).
By default, the module works on 3.3V (both power supply and signals). However, if the resistor R1 is removed, it is also possible to operate the module at 5V.
AS5600 Features:
- Non-contact magnetic induction angle measurement module.
- High precision,
- multiple output modes: IIC , PWM , voltage, etc.
AS5600 Parameters:
- VCC : 3.3V
- GND : Power ground
- Out : PWM/ analog voltage output
- DIR : Rotation direction (grounding = clockwise value increases; connected to VCC= clockwise value decreases)
- SCL : IIC communication clock line
- SDA : IIC communication data line
- GPO : Mode selection (internal pull-up, ground = programming mode B)
AS5600 คือชิปที่ใช้วัดตำแหน่งการหมุนได้รอบตัว 360 องศา โดยมีความละเอียด 12-bit (สินค้ามาพร้อมแม่เหล็กในชุด)
AS5600 ทำงานโดยใช้หลักการ Hall Effect (ตรวจจับสนามแม่เหล็ก)
- ตัวเซนเซอร์: ตัวชิปจะอยู่กับที่ (ติดบนแผ่น PCB)
- แม่เหล็ก: จะต้องติดแม่เหล็กถาวรไว้ที่แกนหมุนที่ต้องการวัด และวางให้อยู่เหนือตัวชิป (โดยเว้นระยะห่างเล็กน้อย ประมาณ 0.5 - 3 มม.)
- การอ่านค่า: เมื่อแกนหมุน แม่เหล็กจะหมุนตาม ชิปจะตรวจจับการเปลี่ยนแปลงของสนามแม่เหล็กแล้วคำนวณออกมาเป็นองศา
การนำ AS5600 มาต่อกับ Arduino:
A. การเชื่อมต่อ (Wiring) ส่วนใหญ่ AS5600 จะสื่อสารผ่าน I2C ซึ่งใช้สายเพียง 2 เส้น (ไม่รวมไฟเลี้ยง)
- VCC: รองรับ 3.3V หรือ 5V (บอร์ดโมดูลส่วนใหญ่รองรับ 5V)
- GND: กราวด์
- SDA: ต่อกับขา SDA ของ Arduino (Uno คือขา A4)
- SCL: ต่อกับขา SCL ของ Arduino (Uno คือขา A5)
- ขา DIR: (ถ้ามี) ใช้กำหนดทิศทางการนับค่า (ตามเข็ม/ทวนเข็ม) ถ้าไม่ต่อมักจะเป็นค่า Default
B. ไลบรารี (Library) ไม่ต้องเขียนโค้ด I2C เองให้ยุ่งยาก มีไลบรารีสำเร็จรูปให้ใช้ แนะนำของ RobTillaart หรือ Seeed Studio
- ใน Arduino IDE ไปที่ Library Manager ค้นหาว่า AS5600 แล้วติดตั้งได้เลย
- คำสั่งหลักๆ คือ as5600.readAngle() ซึ่งจะได้ค่าออกมาเป็น 0-4095
ข้อควรระวัง
- ระยะห่าง (Air Gap): แม่เหล็กต้องวางห่างจากชิปในระยะที่เหมาะสม (ประมาณ 1-3 มม.) ถ้าใกล้หรือไกลไป ค่าจะไม่นิ่ง
- ศูนย์กลาง: ต้องวางแม่เหล็กให้ตรงกึ่งกลางชิปให้มากที่สุดเพื่อความแม่นยำ (Linearity)
- Address: AS5600 มี I2C Address ตายตัวที่ 0x36 เปลี่ยนไม่ได้ ดังนั้นถ้าจะใช้หลายตัวพร้อมกันต้องใช้ I2C Multiplexer ช่วย
An encoder module that can very accurately measure an angle of, for example, an axis by means of a magnetic field. In order for the sensor to work, the diametrically magnetized magnet must be attached to a shaft (e.g. with glue). The sensor must then be mounted just above it (maximum ~2mm).
By default, the module works on 3.3V (both power supply and signals). However, if the resistor R1 is removed, it is also possible to operate the module at 5V.
AS5600 Features:
- Non-contact magnetic induction angle measurement module.
- High precision,
- multiple output modes: IIC , PWM , voltage, etc.
AS5600 Parameters:
- VCC : 3.3V
- GND : Power ground
- Out : PWM/ analog voltage output
- DIR : Rotation direction (grounding = clockwise value increases; connected to VCC= clockwise value decreases)
- SCL : IIC communication clock line
- SDA : IIC communication data line
- GPO : Mode selection (internal pull-up, ground = programming mode B)