ROBOTIS-GIT / DynamixelShield

DynamixelShield Library for Arduino
Apache License 2.0
17 stars 10 forks source link

Problem with controlling Dynamixel AX-12W motor with the Arduino IDE #43

Open Hotdogkilla opened 8 months ago

Hotdogkilla commented 8 months ago

Hi, So i'm using the Arduino Mega 2560, Dynamixel Arduino Shield, 1 Motor (AX-12W) and Dynamixel SMPS2 for the power supply of the motor. The SMPS2 gets 12V and the Mega 2560 ist connected with my Computer.

I need help with the control of the AX-12W. I am not sure if I have connected all the components correctly or if the code matches the hardware. But when I upload the code, unfortunately the motor does not move. I know that the motor works fine because I was able to control it in Dynamixel Wizard2 2.0 already

Attached are my circuit, code, motor data from Dynamixel Wizard 2.0 and the output in the serial monitor

I would be very grateful for any help and thank you in advance pic4 pic3 pic2 pic

shiba-8ro commented 8 months ago

@Hotdogkilla I haven't read your source in detail, but you might suspect a conflict between the serial monitor and the Dynamixel serial bus. https://emanual.robotis.com/docs/en/parts/interface/dynamixel_shield/#use-of-serial-monitor-with-dynamixel-shield