PWM from CT-UNO+ MDDS10

INTRODUCTION

This article is about PWM signal and the response of MDDS10 which being controlled by this PWM from microcontroller, and the PWM signal shown on oscilloscope.

The MDDS10 be injected with PWM from microcontroller (CT-UNO) continuously.

HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino Software

PROCEDURE

STEP 1

Attach the wheel with the motor and place the MDDS10 board on the base of the robot.

STEP 2

Connect the wire motor wire and the power supply wire to MDDS10 board.

  • Right motor wires connect to MRA and MRB terminals of MDDS10.
  • Left motor wires connect to MLA and MLB terminals of MDDS10.
  • Positive power supply connect to B+ of MDDS10.
  • Negative power supply connect to B- of MDDS10. 

Note: Please make sure to connect positive power supply wire and negative power supply wire correctly to MDDS10 board.

STEP 3

Check the movement of the right motor and left motor by pressing one of the buttons at ‘G’ and ‘J’ on MDDS10 board.

  1. Connect the battery to the MDDS10.
  2. Press button MLB and MRB,  the motor should rotates forward.
  3. Press button MLA and MRA  the motor should rotates backward.

Tips: If the motor move in opposite direction, just change the polarity of the wire motor on MDDS10. 😀

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

STEP 4

Change the DIP mode on MDDS10 board.

12345678
10110100

STEP 5

  1. Upload the sketch of PWM to CT-UNO.
  2. Place the CT-UNO with the robot.
  3. Connect the CT-UNO with MDDS10 with female to female jumper wire accordingly.

schematic_MCU

CT-UNO pinMDDS10 input pin
7DIG1
4DIG2
5AN1
6AN2
5V+5V
GNDGND

Note:

  • Please make sure 5V and GND is connected correctly.
  • You can refer to the User’s Manual for more details.

STEP 6

  • Connect the oscilloscope’s probe to the PWM pin on CT-UNO( pin ~6 or ~5).
  • Use male to male jumper to clip from the oscilloscope crocodile clip and connect the jumper to the GND at CT-UNO.

STEP 7

  1. Connect the power supply to the MDDS10 board.
  2. No power supply is needed for CT-UNO as it is powering up from MDDS10 5V output. 
  3. Turn on the oscilloscope.
  4. observe the waveform output on the oscilloscope screen.

Note:

  • Please make sure the positive and negative terminals of battery are connected correctly to the MDDS10.

If you have further inquiry about this tutorial, please post it in our technical forum as we seldom check the comment section in tutorial site.

PROGRAMMING

VIDEO

Buy

, ,

Related Post

Peak Current vs Continuous/Rated Current

Raspberry Pi: Line Following Robot

Improve MDDS10 Performance With External Fan

Simple Mobile Robot – Plug and play Joystick + MDDS10

Leave a Reply

Your email address will not be published. Required fields are marked *