(SKU:RB-01C067)RoboClaw 2x5A (V4)

From ALSRobot-Wki
Jump to: navigation, search
RB-01C067.jpg

Contents

Product overview

Cixin RoboClaw 2 x 5 A motor controller is an extremely efficient multi-function, dual channel, regeneration of synchronous motor controller. The RoboClaw also contains a 3 AMP BEC switch. RoboClaw features a biorthogonal decoding ability. The built-in PID program to realize closed loop control, maintain speed. Even load changes, the encoder value and speed can be read from RoboClaw directly by external microcontroller. In the case of a closed loop position control, analog feedback also is not a problem. RoboClaw using standard remote control receiving/launcher, serial device, analog signal source or micro controller, is similar with the Arduino. As a regenerative synchronous motor controller, RoboClaw additional slowdown or destroy the function of the battery. Can be achieved under the condition of the full throttle changing direction and unscathed! RoboClaw adopted lithium battery intelligent cutting pattern, to prevent cell damage. So that your battery is the power to win your next robot contest!

specification

  1. Motor channel:2
  2. Control or communication interface: a. logic level (TTL) connected directly to the micro controller or other serial interface of the embedded controller, or connected to the PC serial port (need external RS - 232 level translator) or USB to serial adapter. B. radio control (RC) directly connected to a RC receiver or the pulse width of RC servo controller interface. C. 0 ~ 5 v analog voltage (5 v voltage value) interface can be directly connected to the potentiometer or analog sticks.
  3. Working voltage:6 V~34V
  4. Each channel continuous output current:5 A
  5. Peak output current per channel:10 A
  6. size:4.2cm×4.8cm
  7. weight of the:17g

Method of use

An overview of the hardware

RB-01C0671.jpg
  • A:Regulated power supply
  • B:Main battery input
  • C:Motor 1 channel
  • D:Motor 2 channel
  • E:set up button
  • F:Control input
  • G:encoder input
  • H:logic voltage source/select title
  • I:Status and error LED indicator

Application of routine

RC model control Arduino

According to the following program connect the Arduino and P5 to S1, P6 connected to S2. Option 4 is set to mode 2。

sample code

//Basic Micro RoboClaw RC Mode. Control RoboClaw 
//with servo pulses from a microcontroller. 
//Mode settings: Mode 2 with Option 4.
#include <Servo.h> 
 
Servo myservo1; // create servo object to control a RoboClaw channel
Servo myservo2; // create servo object to control a RoboClaw channel
 
int pos = 0; // variable to store the servo position 
 
void setup() 
{ 
 myservo1.attach(5); // attaches the RC signal on pin 5 to the servo object 
 myservo2.attach(6); // attaches the RC signal on pin 6 to the servo object 
} 
 
 
void loop() 
{ 
 myservo1.writeMicroseconds(1500); //Stop
 myservo2.writeMicroseconds(1500); //Stop
 delay(2000);
 myservo1.writeMicroseconds(1250); //full forward
 delay(1000);
 myservo1.writeMicroseconds(1500); //stop
 delay(2000);
 myservo1.writeMicroseconds(1750); //full reverse
 delay(1000);
 myservo1.writeMicroseconds(1500); //Stop
 delay(2000);
 myservo2.writeMicroseconds(1250); //full forward
 delay(1000);
 myservo2.writeMicroseconds(1500); //Stop
 delay(2000);
 myservo2.writeMicroseconds(1750); //full reverse
 delay(1000);
} 

Application effect

2 motor drive a 4 wheel robot direction, to stop, go forward, turn left, then turn right.

Products related to recommend

Buy address:[1]

Personal tools
Namespaces

Variants
Actions
Navigation
Tools