TB65603A Single Axis Stepper Motor Driver Board (HCMODU0022)

Stepper and DC type motor drivers
admin
Site Admin
Posts: 726
Joined: Sun Aug 05, 2012 4:02 pm

TB65603A Single Axis Stepper Motor Driver Board (HCMODU0022)

Post by admin » Thu May 30, 2013 3:47 pm

Image
Image


Image

Recommended supply voltage DC 10V-24V.
Toshiba TB6560A controller.
High speed opto-couplers.
Low voltage, over heating, and over current protection.
3A Maximum rated output current (3.5A peak).
Designed for 2/4 phase, 4 or 6 wire stepper motors with a maximum load current of 3A.
Adjustable load current protection.
Adjustable decay modes.
Excitation modes: 1/2, 1/8, 1/16 step.
Large passive heat-sink.
Dimensions: 50 x 75 x 35 mm


Example connections:

Image



The EN, CW, and CLK inputs are opto-isolated. If you are connecting them directly to a microcontroller then we suggest grounding the EN-, CW-, and CLK- pins with your microcontroller as per the diagram above.

EN (Enable input): If connected as per above diagram, grounding EN+ input will enable the motor drive outputs. Providing a logic high will disable outputs to the motor.

CW (Direction input): If connected as per above diagram, grounding CW+ input will cause the motor to rotate anti-clockwise (counter-clockwise). Providing a logic high will cause the motor to rotate clockwise. The direction of rotation also depends upon the motor coil polarity.

CLK (Step input): Continually pulsing the CLK+ input will cause the motor to step in one direction. Depending on the excitation mode setting (via switches SW3 & 4) the motor will step once per 1 to 16 pulses of the CLK+ pin.



Arduino Example:

Image

Image

Code: Select all

/* Include the library */
#include "HCMotor.h"

/* Pins used to drive the motors */
#define DIR_PIN 8 //Connect to drive modules 'direction' input.
#define CLK_PIN 9 //Connect to drive modules 'step' or 'CLK' input.

/* Set the analogue pin the potentiometer will be connected to. */
#define POT_PIN A0

/* Set a dead area at the centre of the pot where it crosses from forward to reverse */
#define DEADZONE 20 

/* The analogue pin will return values between 0 and 1024 so divide this up between 
   forward and reverse */
#define POT_REV_MIN 0
#define POT_REV_MAX (512 - DEADZONE)
#define POT_FWD_MIN (512 + DEADZONE)
#define POT_FWD_MAX 1024


/* Create an instance of the library */
HCMotor HCMotor;



void setup() 
{
  //Serial.begin(9600);
  /* Initialise the library */
  HCMotor.Init();

  /* Attach motor 0 to digital pins 8 & 9. The first parameter specifies the 
     motor number, the second is the motor type, and the third and forth are the 
     digital pins that will control the motor */
  HCMotor.attach(0, STEPPER, CLK_PIN, DIR_PIN);

  /* Set the number of steps to continuous so the the motor is always turning whilst 
     not int he dead zone*/
  HCMotor.Steps(0,CONTINUOUS);
}


void loop() 
{
  int Speed, Pot;

  /* Read the analogue pin to determine the position of the pot. */ 
  Pot = analogRead(POT_PIN);

  /* Is the pot in the reverse position ? */
  if (Pot >= POT_REV_MIN && Pot <= POT_REV_MAX)
  {
    HCMotor.Direction(0, REVERSE);
    Speed = map(Pot, POT_REV_MIN, POT_REV_MAX, 10, 1024);

  /* Is the pot in the forward position ? */
  }else if (Pot >= POT_FWD_MIN && Pot <= POT_FWD_MAX)
  {
    HCMotor.Direction(0, FORWARD);
    Speed = map(Pot, POT_FWD_MIN, POT_FWD_MAX, 1024, 10);

  /* Is the pot in the dead zone ? */
  }else
  {
    Speed = 0;
  }

  /* Set the duty cycle of the clock signal in 100uS increments */
  HCMotor.DutyCycle(0, Speed);

}

The HCMotor Arduino library and the above example can be found in the software section of our support forum here: http://forum.hobbycomponents.com/viewto ... =58&t=1870



Image
TB6560.pdf
You do not have the required permissions to view the files attached to this post.

Company

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by Company » Wed Sep 18, 2013 9:54 pm

Dear seller,
What is the maximum frequency of CLK signal?
Thank you for answer.
Best regards,
Klemen

andrew
Site Admin
Posts: 796
Joined: Sun Aug 05, 2012 4:15 pm

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by andrew » Thu Sep 19, 2013 10:54 am

The datasheet states that the maximum clock frequency is 15KHz
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Rebel

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by Rebel » Sat Sep 28, 2013 10:20 am

Hi Seller,
if I use a 24Volt supply what is the output voltage? I want to use Nema23 with 2.7A 3.5V.

andrew
Site Admin
Posts: 796
Joined: Sun Aug 05, 2012 4:15 pm

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by andrew » Mon Sep 30, 2013 9:52 am

With a 24V supply, the output to the motor would be 24V
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Joe

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by Joe » Sat Oct 05, 2013 6:32 am

i have bought 3 of them and i have the same problema of the other user (Rebel): on A+ A- B+ B+ I have the same voltage of the input? i can't regolate it?

andrew
Site Admin
Posts: 796
Joined: Sun Aug 05, 2012 4:15 pm

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by andrew » Sat Oct 05, 2013 11:15 am

I'm afraid there is no on-board voltage regulation for the motor outputs. The easiest solution would be to power the controller from a PSU that has the same voltage as the motor you wish to drive (assuming it is within the 10V-24V range of this controller).
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

bovril
Posts: 1
Joined: Sun Oct 27, 2013 11:44 am

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by bovril » Sun Oct 27, 2013 11:50 am

i have purchased 4 of these units, and all 4 appear to be faulty.. I have them connected as per your diagram, the run led is flashing, but the motor fails to run any ideas..

I have noticed the board says 24v input, i'm using 12 as they were sold as working on 10-24v

please advise

andrew
Site Admin
Posts: 796
Joined: Sun Aug 05, 2012 4:15 pm

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by andrew » Sun Oct 27, 2013 1:12 pm

Hi, to be in receipt of 4 faulty controllers would be very unusual so hopefully it is something simple. The modules should work fine at 12V so that shouldn't be an issue. Could you give us a little more information about your setup. What motor(s) are you trying to drive? Also what are you using to generate the control signals and what is connected to the Enable, Step, and Direction pins?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

NT4boy
Posts: 1
Joined: Sun Nov 17, 2013 3:43 pm

Re: TB65603A Single Axis Stepper Motor Driver Board (HCMODU0

Post by NT4boy » Mon Nov 18, 2013 4:15 pm

Hi,

I can see that the dip switches control the functions labelled, but can you tell me which combinations of positions do what please?

Ok, I'm unobservant.....its on the screen printing.

Thanks anyway...!

Post Reply