{"title":"N20 DC Motor with Magnetic Encoder - 6V with 1:298 Gear Ratio","handle":"n20-dc-motor-with-magnetic-encoder-6v-with-1-298-gear-ratio","url":"/products/n20-dc-motor-with-magnetic-encoder-6v-with-1-298-gear-ratio","description":"This N20 micro DC gearmotor includes a built-in magnetic encoder with two Hall effect sensors, providing both speed and direction feedback without additional wiring. The compact N20 form factor makes it ideal for small robotics projects where precise motor control is needed.\n\nThe magnetic encoder wheel and dual Hall effect sensors are pre-assembled, outputting quadrature signals on two wires for easy interfacing with a microcontroller. Simply count interrupts on the encoder pins — with 14 counts per revolution multiplied by the gear ratio — to calculate RPM and direction.\n\nKey Features\n\n\nBuilt-in Magnetic Encoder – Pre-attached magnetic wheel with two Hall effect sensors for speed and direction sensing\n\n1:298 Gear Ratio – High torque output at reduced speed\n\n14 Counts Per Revolution – Quadrature output for precise position and speed measurement\n\nN20 Form Factor – Compact standard size for small robotics builds\n\nH-Bridge Compatible – PWM-capable for speed and direction control\n\n\nWiring\n\n\nWhite + Red: Motor power (connect to motor driver / H-bridge)\n\nBlack: Encoder ground (connect to microcontroller GND)\n\nBlue: Encoder power (3–5 V DC)\n\nYellow + Green: Hall effect encoder outputs (connect to microcontroller interrupt pins)\n\n\nSpecifications\n\n\nMotor Voltage: 4.5–6 V DC (6 V nominal)\n\nGear Ratio: 1:298\n\nNo-Load Current: ~100 mA\n\nStall Current: ~200 mA\n\nEncoder Resolution: 14 counts per revolution\n\nEncoder Voltage: 3–5 V DC\n\n\nIdeal For\n\nSmall robotics projects requiring precise motor control\nClosed-loop speed and position control systems\nEducational robotics and encoder learning\n\n\nResources\n\nArduino Encoder RPM Example Sketch\n","vendor":"Adafruit","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":2778,"title":"Default Title","sku":"AF-4641","price":25.13,"on_sale":false,"in_stock":true,"available_quantity":91,"option1":"Default Title"}]}