GithubHelp home page GithubHelp logo

Comments (4)

eecharlie avatar eecharlie commented on June 18, 2024

When you say that only the LED blinks, do you mean that it blinks when the servo powers up, not as a result of commanding it to blink in software?

Is the servo brand new? How do you have confidence that the baudrate and ID you've set are consistent with the settings in the motor?

from ardyno.

descampsa avatar descampsa commented on June 18, 2024

What do you mean by 'the led blinks'?
Does it blink once at powers up? that's normal.
Does it blink continously with the blink_led example? That would mean that communication is fine and that there is another problem.
Does it blink continously wathever you do on the arduino? That would mean that the motor has detected an internal error (out of range voltage, overheat, ...)

Did you modify the example code, to use another Serial port for example? If yes, please join the exact code you are using.

How do you connect the motor to the arduino exactly?

from ardyno.

Lazy12316 avatar Lazy12316 commented on June 18, 2024

@eecharlie The LED of the Dynamixel Servo blinks normally when powered on. And after uploading the Blink_Led example, the LED blinks Normally. I am Confident about the baudrate and ID of the dynamixel as i modified it using ROBOplus software using a usb2dynamixel connector. I am unable to run the joint_mode example. I went through the code to findout where i am actually going wrong. I found out in Void Setup, there is no communication between the Motor and mega board.

void setup()
{
interface.begin(baudrate);
delay(500);

// check if we can communicate with the motor
// if not, we turn the led on and stop here
uint8_t status=motor.init();
if(status!=DYN_STATUS_OK) <------------------------ I feel this is, where the problem is
{
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH);
while(1);
}

motor.enableTorque();

// set to joint mode, with a 180° angle range
// see robotis doc to compute angle values
motor.jointMode(204, 820);
motor.speed(speed);
}

The Dynamixel Servo is not new.

@descampsa I haven't Modified the code, except for Dynamixel Id and baudrate.
Here is a Picture of harware connection of the Board and motor.
img_20170601_150835
Does it blink continously wathever you do on the arduino? That would mean that the motor has detected an internal error (out of range voltage, overheat, ...)
I am no sure about this problem.
Please let me know if the problem persists due to my servo motor or there is any other problem.

from ardyno.

descampsa avatar descampsa commented on June 18, 2024

If i see correctly on your image, you are using the arduino 5V output to power the motor.
You can't do that, the MX28T requires at least 10V.

You can power the arduino with a 12V power supply and take power from the Vin pin (beware to the max current rating of the arduino protection diode, if you use many motors/important loads), or connect the motor power pins directly to the 12V power supply (don't forget to connect the arduino GND in this case)

from ardyno.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.