Introduction: Tutorial for DC Gear Motor With Encoder


The 12V DC Gear Motor 166RPMw/Encoder is a Gear Motor w/Encoder. These units have a 0.61'' long, 6 mm-diameter D-shaped output shaft. This motor is intended for use at 12V, though the motor can begin rotating at voltages as low as 1V. This motor is an ideal option for mobile robot projects.


  • 12V DC Gear Motor
  • Torque:4.5kg/cm (No load)
  • Speed: RPM166Current:240mA

Step 1: Material Preparations

In this tutorial, you needs:

1. Arduino Mega2560

2. Monster Motor Shield

3. 12V DC Gear Motor with Encoder

4. Potentiometer

5. LCD (16x2)

6. Push Button

Step 2: Connect Arduino to Computer

After complete your circuit, connect your Arduino Mega Board to your computer via USB Cable. You can see that your LCD will on.

Step 3: Sample Source Code

You may download the library and sample source code and open it on your Arduino IDE. Choose the correct board and port. Then, upload your Code into your Arduino Mega Board.