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
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
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
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
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.