Bukit Mertajam, Penang

Simple Mobile Robot – Plug and play Joystick + MDDS10

INTRODUCTION

Analog input mode with Joystick board(Mixed), DIP switch.

Controlling a mobile robot with a joystick and a conventional motor driver is complicated because it will require a microcontroller and program capable of reading the analog input from the joystick to determine how far to drive the robot. However, the MDDS10, Cytron’s 1st smart motor driver dual channels can control your robot easily when paired with an analog joystick, literally plug and play. I will share how to control your robot easily by using MDDS10

HARDWARE REQUIRED

SOFTWARE REQUIRED

PROCEDURE

STEP 1

Attach the wheel to the motor’s shaft and place the MDDS10 board on the base of the robot. I choose a scrap PCB to be the mobile robot base, you can choose anything you like, but it should be solid platform. 

STEP 2

Connect the wire motor wire and the power supply wire to the MDDS10 board according to the following:

  • Right motor wire to MRA and MRB.
  • Left motor wire to MLA and MLB.
  • Positive power supply to B+
  • Negative power supply to B-

Note: Please double check the power connection are correct as MDDS10 does not come with polarity protection. 

STEP 3

Check the movement of the right motor and left motor ‘G’ and ‘J’ on MDDS10 board:

  1. Connect the battery to the MDDS10.
  2. Press button MLB and MRB  the motor will move forward.
  3. Press button MLA and MRA  the motor will move backward.

Tips: If the motor move in opposite direction, just swap the polarity of the motor’s connections on MDDS10. 😀

Note: Make sure the battery is connect with correct polarity.

STEP 4

Change the DIP mode on MDDS10.

12345678
01000000

STEP 5

Connect the joystick to the MDDS10 board.

schematic_Analog

JoystickMDDS10 input pin
VCC    +5V
GND    GND
  x-A      AN2
Y-A    AN1

Note:

  • Please make sure the VCC and GND is connect correctly.
  • The wire connection  of the joystick should be point parallel to the forward movement of the robot when you control the robot.
  • You can refer to the user’s manual for more details.

MDDS10 Plug & Play - joystick controlled mobile robot

Buy

Related Posts

Leave a comment