problem with servo driver RKI-1576

Hi friends recently i bought a servo driver along with a motor from robokits i ve given the connections as given in the manual... i tried to send commands to it through my arduino diecimila tx pin but for some reason am not able to get it to work... somebody pl help me... thanx in advance... the program am using is

void setup() {
Serial.begin(38400);
}

void loop() {
Serial.println("p13360");
delay(5000);
//Serial.println("N014400");
// delay(5000);
// Serial.println("P18000");
// delay(5000);
}

Firstly can we have a link to the spec / datasheet?

Secondly: do use the // code tags (the # button when composing) to make code snippets readable and ungarbled by the emoticon parser.

thank you i will follow it... here is the link to that data sheet of driver http://robokits.co.in/documentation/Serial_DC_Encoder_Servo_Driver.pdf and the motor am using is "Mitsumi M25N-2R-14"

I purchased the same motor driver/controller from Robokits. I couldn't get the N1 command to work either. So, I emailed the company and they responded promptly with the follow example:

/Example for running Mitusmi Drive commands using Arduino/

void setup() {
Serial.begin(38400); // Setting the serial Baud Rate to 38400.

}

void loop()
{
Serial.print("N1 129330 10000"); // N1 Command ( N1 Position_Count Speed) // Set the position count and speed according to the motor and encoder used.
Serial.print("\r"); // Carriage Return
delay(8000); // delay to reach the mentioned postion.
Serial.print("N1 0 5000");
Serial.print("\r");
delay(8000);
}

Apparently, you need to have a single space between the N1 and position number. In the documentation it shows no space. Confusing the issue, the P command works with no space. The documentation is extremely poor, but the driver/controller is great! As I learn more, I will post here.

Have anyone got it working well with all the commands ?

Can someone suggest me how to just start and stop the motor atlest using those commands . Its been almost 5 days i am working with these things but nothing seems going right for me.

In the documentation they have said about Torque control mode under loading . Any idea how this can be done ?

Any help would be great

Thanks in advance

I bought couple of PID controllers. Just curios in case anyone has been able to run using those command given in documentation supplied by Robokits. Appreciate reply/

Thanks

I used RKI 1576 controller and interfaced it with Labview. I was able to use the commands except the 'S' command.

Hope this feed will be of some help.

I am using Mitsumi (M28N-1) DC Encoder motor with PID Servo Controller motor Driver RKI-1576.

http://robokits.co.in/motors/encoder-dc-servo/high-precision-quad-encoder-geared-dc-motor-24v-60rpm.

  1. Connect the motor to RKI-1576 (GND, VCC, EN A, EN B, M-, M+) . Connector 2 per the datasheet
  2. Connect 12V Power supply to the adjacent power port.
  3. On the Connector 1 side, connect the TX0 to Arduino Pin 1, RX0 to Pin 0, VDD to 5V powerpin, GND to GND of powerpin of Arduino.

You may want to changed the Arduino USB Driver’s baud rate to 38400 (from 9600).

Key in the following code into your Arduino IDE.

void setup() {
Serial.begin(38400); // Setting the serial Baud Rate to 38400.
}

void loop()
{
Serial.print(“N1 19840 1000”); // N1 Command ( N1 Position_Count Speed) // Set the position count and speed according to the motor and encoder used.
//Serial.print(“P 10”);
Serial.print("\r"); // Carriage Return
delay(5000); // delay to reach the mentioned postion.
Serial.print(“N1 0 5000”);
Serial.print("\r");
delay(5000);
}

Click on the Serial Monitor and Change the bottom right drop box to show this : “Carriage Return” and “38400 baud”.

Switch on the 12V power supply and Connect your Arduino to Computer. Upload the above code. Open the Serial Monitor and Type P 1000, P 19840, P 9820 … and you should see your motor moving.

njoy.

what position and count should i used for my motor- High Precision Quad Encoder Geared DC Motor 12V 10RPM High Precision Quad Encoder Geared DC Motor 12V 10RPM [RMCS-2291] - ₹600.00 : Robokits India, Easy to use, Versatile Robotics & DIY kits