The first step in a robotics project is to get a motor spinning. Once you've done that you quickly learn that not all motors go the same speed, even if they are the same part number! There are always variations that relate to voltage, environment, and manufacturing changes. So, the second step is to figure out how fast it's going! Turns out that's not so easy, but the best way to get started is to add an encoder wheel and an optical or magnetic counter. As the motor turns, the attached encoder wheel spins, causing the counter to detect each passing spoke and that lets your microcontroller count and determine speed.
 
If you want to do one better, add a second counter, and now you can tell direction as well as speed! All this wiring is kind of a pain, so that's why this motor is really nice! It has a magnetic wheel and two hall effect sensors already attached. Using this motor is a breeze, and it's a nice small motor as well, in the 'standard' N20 size.
 
Provide 4.5 to 6V DC (nominal) to the white and red 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 blue wire to 3-5V DC (we tried both, works fine) use whichever voltage your microcontroller uses. Then you can read the hall effect outputs on the yellow 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 14-counts-per-revolution and the gear ratio.
 
This particular DC motor comes with 1:50 / 1:100 / 1:150 / 1:298 gear ratio, uses 6V nominal power for the motor and draws about 100 mA (200 mA when stalled). The gear ratio will not affect the current draw but does change the torque and RPM. 
 
Specifications:
  • Dimensions (excluding shaft): 30.5mm x 18.5mm
  • Wire Length: ~150mm long
Warranty : 90 days
 
Package Includes:
  • 1 x N20 DC Motor with Magnetic Encoder
Motor Specifications
Gear Ratio 1:50 / 1:100 / 1:150 / 1:298
Physical Attributes
Dimensions 30.5mm x 18.5mm (excluding shaft)
Additional Information
Warranty 90 days

Write a review

Please login or register to review

Adafruit 4638 / 4639 / 4640 / 4641 N20 DC Motor with Magnetic Encoder - 6V

  • Brand: Adafruit
  • Product Code:Ada-N20-Motor
  • Reward Points:14
  • Availability:In Stock
  • रo 1,349.00

  • Price in reward points:1423

  • 50 or more रo 1,180.00
  • 115 or more रo 1,176.00

Available Options


Related Products

Adafruit 3777 DC Gearbox Motor - TT Motor - 200RPM - 3 to 6VDC

Adafruit 3777 DC Gearbox Motor - TT Motor - 200RPM - 3 to 6VDC

Perhaps you've been assembling a new robot friend, adding a computer for a brain and other fun perso..

रo 318.00

Gravity: DC Micro Metal Gear Motor w/Driver For Arduino - 30:1

Gravity: DC Micro Metal Gear Motor w/Driver For Arduino - 30:1

An ordinary DC motor requires an H Bridge to work with a microcontroller such as an arduino UNO. For..

रo 777.00 रo 895.00

Gravity: DC Micro Metal Gear Motor w/Driver - 50:1

Gravity: DC Micro Metal Gear Motor w/Driver - 50:1

An ordinary DC motor requires an H Bridge to work with a microcontroller such as an UNO. For newcome..

रo 1,076.00 रo 1,240.00

Tags: 100mA, N20, 6V

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.

Name
Email
Phone
Comments