기어 DC 모터 -마그네틱 인코더 출력, 7V, 1:20 기어비
(Geared DC Motor with Magnetic Encoder Outputs - 7 VDC 1:20 Ratio)
개요
- 본 제품은 기어 DC 모터 -마그네틱 인코더 출력, 7V, 1:20 기어비입니다.
- 모터는 같은 파트넘버의 제품이라도 여러 이유로 정확히 같은 속도로 돌지는 않습니다.
- 모터를 같은 속도로 돌게하여야 하는경우 등 모터가 얼마나 빨리 도는지 확인하기 위해서는 인코더 출력을 주로 이용합니다.
- 본 제품은 마그네틱 인코더 출력을 가진 제품으로 7V DC 전원으로 동작합니다.
특징
- Dimensions (excluding shaft): 47.3mm x 24.8mm
- Wire length: approx 14.5cm
문서
- Diagram
-
Provide 7V DC nominal to the brown and yellow wires - these connect to your motor driver, and can be PWM'd for speed adjustment and direction by using an H-bridge.
Connect the black wire to your microcontroller ground pin, and the red wire to 3-5VDC (we tried both, works fine). Then you can read the hall effect outputs on the white and green wires. We have an example sketch here for Arduino, it can be adapted to other languages - basically you just want to interrupt on one of the encoder pins, use count the time since the last interrupt, and multiply the count time by 12-counts-per-revolution and the 1:20 gear ratio.