Arduino library for dynamixel servos. Only Dynamixel 1.0 protocol is supported for now.
This library allows you to control the Robotis servo motors that use a custom half-duplex serial protocol. You can control TTL models directly from Arduino, without any additional hardware, using hardware or software UART. Communication speed up to 1 MBd is supported with hardware serial. The most useful functions (speed, position, wheel/joint mode, ...) are provided via a very simple high level interface (see test_motor example), but other operations can be done using the generic read/write functions (see test_led example).
Ardyno is available in the Arduino Library Manager, or you can get it directly from github repository if you want last version (may be unstable)
To control TTL motors, without any additionnal hardware: You can use a 9V or 12V power supply to power the arduino and motors. Connect GND and VIN pins of the arduino to the GND and VCC pins of your dynamixel device, and tx and rx pins of the arduino to the data pin of your dynamixel device (see image here). However, be carrefull that the current you can draw from arduino VIN pin is limited by the protection diode (specified at 1 amp max, for Arduino Uno), so if you use several motors, or put them under a significant load, it is better to connect the power supply separately to the motors. Also note that this is only valid for 5V boards. 3.3V boards may work in practice if they are 5V tolerant, but it is not recommended.
To control TTL/RS485 motors, with an additionnal hardware buffer: See Robotis documentation