(SKU:RB-01C071)RoboClaw 2x15A (V4)
Contents |
Product overview
This from Orion Robotics RoboClaw (previously known as Basic Micro) is a highly efficient, versatile, dual channel of renewable synchronous motor controller. As the working mode, under the effect of 6-34 v voltage, it can drive two brushless dc motor in 30 a electricity flow continuous operation, allows a double peak current flow. 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 support several control modes: suitable for embedded systems or TTL serial communication of PC, the ESC remote control toy model, simulated potentiometer or simulated operating lever.
specification
- Working voltage, the driving voltage of 6 v to 34 v
- Working current: 5 a to 60 a continuous current of the output (depend on control mode)
- Product size:5.2cm×7.4cm
- product weight:59g
- When the motor current between 1 to 2 times rated current, automatically limit current to reduce the duty ratio
- Three kinds of communication or control mode
- Double closed loop PID control
- With the terminal quickly connect/disconnect
- Through the onboard button configuration
- Regenerative braking
- To allow high-speed conditions
- 5 v BEC jump line selection
- The power detection and over discharge under low voltage power protection
- Two motor to control single and double
Method of use
- A:The radiator
- B:stabilizer
- C:Main battery input
- D:Motor 1 channel
- E:Motor 2 channel
- F:BEC 3 a circuit
- G:set up button
- H:logic voltage source/select title
- I:encoder input
- J:input of the controller
- K:USB connector minib (optional)
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.
Buy address:[1]