Simple Mobile Robot – Plug and play Joystick + MDDS10

Analog input mode with Joystick board(Mixed), DIP switch.To control a mobile robot by joystick is complicated conventional motor driver because it will require a microcontroller and program read the analog input and further drive the robot to move. MDDS10 Cytron's 1st smart motor driver dual channels can control your robot easily if you choose an analog joystick, it is literally plug and play. I will share how to control your robot easily by using 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.

1 2 3 4 5 6 7 8
0 1 0 0 0 0 0 0

STEP 5

Connect the joystick to the MDDS10 board.

schematic_Analog

 

Joystick MDDS10 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

ATTACHMENT

BUY

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Control Servo With Gesture Using ESP32 and Arduino
Send Sensor’s Data to ThingSpeak Using ESP32
Basic Usage of iMAX B6AC LiPo Charger
Colourful Bed Lamp Using Tilt Sensor on Maker UNO
Dot Matrix Clock With NTP Server Using ESP32
Scroll to Top