When the proper connection and power supply are connected to MD10C, we can press either of these two buttons to test the MD10C by turning the DC motor in clockwise (CW) direction and counter-clockwise (CCW) direction. Therefore, in this tutorial, I will demonstrate the simple method to test the MD10C in fast way with minimum connection.
By using SKM53 GPS module, we can actually view our current UTC time, date, latitude, longitude and so on. In further application, it can used to interface with our smartphone, microcontroller such as Arduino or PIC, and so forth to know our own location. Meanwhile, when we use it, we need to expose it to the sky to capture the stronger signal. As an example, if we in the home, we need to put the GPS module near the window to get the signal. Otherwise, we will not receive the signal by GPS antenna if we inside a closed window room.
In this project, we will learn about how to drive two DC geared motor with MD10C by using SKPS. Thus, we will treat these two motors as the left wheel motor and right wheel motor. Therefore, we will use PS2 controller to control two DC motors in various type of movements such as move forward, move backward, rotate to left, rotate to right. In addition, we will use joystick to control these two motors in different movement with constant speed and variable speed. Meanwhile, we will use PIC16F887 in this tutorial for SK40C with LCD 2×16 to display some important messages when certain button of PS2 controller was pressed.
In this tutorial, I will explain some sample code to drive the two DC motors in sign-magnitude PWM mode, locked-antiphase PWM mode and simplified serial mode. Thus, all of the sample code that given in this tutorial will only drive two DC motors in clockwise by pressing SW1 and in counter-clockwise by pressing SW2.
The Arduino main boards such as Arduino-Deumilanove (Arduino-Due) which embedded with Atmel microcontrollers are quite popular due to its easy-to-use programming environment. Therefore, by interface Arduino main board with MDS40A, we easier to control the DC motors if compare to PIC microcontroller. In addition, further adding an Arduino-LCD Keypad Shield can help us to control the DC motor that connected to MDS40A with the 6 momentary push buttons (built-in push buttons on LCD keypad shield including 1 Reset button) and also display some useful message by programming.
Flexibot Driver 4 Channels (FD04A) is special designed to drive up to 4 DC brush motors. It offers low cost and easy to use DC motor driver capable of driving up 4 DC brush motors and the current can goes up to 3-Ampere. By interfacing with Arduino Duemilanove (Arduino-Due), the board is ready for driving up motors with direction, start, stop and speed control.
Are you interested in building a simple robot with motors such as fighting robot? Easily, we can just use a PSC28A without programming to control the motor of the robot from PS2 controller.