Tutorial for DC Gear Motor With Encoder

by mybotic in Circuits > Arduino

24601 Views, 38 Favorites, 0 Comments

Tutorial for DC Gear Motor With Encoder

12v-dc-gear-motor-jgb37-with-encoder-rpm265-3476-06042644-7b20f1031e4764ce8e47ad17ee66291c-catalog_233.jpg
d9e51b485c7d45656eb20e9810f6172b1474611351-lg.jpg
Picture1.png

Description:

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.

Specification:

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

Material Preparations

1.png

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

Connect Arduino to Computer

20182129_1561435060575097_700660468_o.jpg

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

Sample Source Code

Picture2.png
Picture3.png

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.