Results 1 to 4 of 4

Thread: Arduino Library for Dynamixel XL-320 (and Dynamixel PRO if modified).

  1. #1
    Join Date
    Jul 2014
    Location
    Mazatlán, Sinaloa, México
    Posts
    11
    Rep Power
    16

    Smile Arduino Library for Dynamixel XL-320 (and Dynamixel PRO if modified).

    Hello everybody!

    I want to share a library I created to control my Dynamixel XL-320 servos with Arduino compatible boards.
    Originally I was using OpenCM-9.04 since the beginning but as I want to move to a different platform I had to create this library.

    It's very primitive but it's the beginning of this port.
    I'm using it to control a companion robot I developed named HelloSpoon (http://igg.me/at/hellospoon).

    Feel free to test this library if you want. I already tested it using Arduino UNO and Nano, and it worked without issues.
    It's based on the DynamixelSerial library for Arduino and Dynamixel Pro library made for CM9 IDE from ROBOTIS.

    Here's the github link: https://github.com/HelloSpoon/Arduino-XL320

    And here you can see a few pictures:

    Click image for larger version. 

Name:	dxl2.jpg 
Views:	939 
Size:	88.1 KB 
ID:	5698 Click image for larger version. 

Name:	dxl1.jpg 
Views:	563 
Size:	93.2 KB 
ID:	5699

  2. Re: Arduino Library for Dynamixel XL-320 (and Dynamixel PRO if modified).

    Hey man, do you have any tutorial of how to use your library, like wiring or way to program IDs?. I tried using your library based on your pictures and the examples without any luck.

  3. #3
    Join Date
    Jul 2014
    Location
    Mazatlán, Sinaloa, México
    Posts
    11
    Rep Power
    16

    Re: Arduino Library for Dynamixel XL-320 (and Dynamixel PRO if modified).

    Hi :-)!
    Well, there's no need of a tutorial I believe... the examples should work as they are.
    The wiring is actually pretty simple because I'm only using the Tx pin from Arduino to send Data to the XL-320, I'm not receiving data from the servo yet.
    You should share the same GND and power the servo from the 5V pin.
    Both examples must work, it's still really primitive but I'm planning to improve it.

    You can contribute to add the Rx functionalities if you are interested: https://github.com/HelloSpoon/Arduino-XL320
    To make work Rx and Tx at the same time, you need to do the same wiring as this page:

    http://savageelectronics.blogspot.mx...xel-ax-12.html

    Thanks! And I hope you make it work :-).
    Last edited by LuisGIII; 10-16-2014 at 02:06 PM.

  4. #4
    pix Guest

    Re: Arduino Library for Dynamixel XL-320 (and Dynamixel PRO if modified).

    Hi Luis.

    Thanks for making https://github.com/HelloSpoon/HelloSpoon-Spark !

    I've started making a fork of your library that is less HelloSpoon specific. I've also started to implement Rx abilities: https://github.com/hackerspace-adelaide/XL320

    In addition I've made a quick hack of the Arduino hardware serial code to do half-duplex with no additional hardware (apart from needing to physically link the Rx and Tx lines together): https://github.com/hackerspace-adela...HardwareSerial

    Anyhow, it's also very early days, so the API might change. We are collecting our research about the XL-320 servos on our wiki here: http://hackerspace-adelaide.org.au/w...namixel_XL-320

    pix

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dynamixel Servo Control Issues (MX-28 and Arduino Mega)
    By JasonT in forum DYNAMIXEL & Robot Actuators
    Replies: 1
    Last Post: 08-12-2014, 07:12 PM
  2. 18 Dynamixel Ax-12A with ArbotiX/Arduino - How to connect the dynamixel?
    By Snuuq in forum Arbotix, Microcontrollers, Arduino
    Replies: 20
    Last Post: 02-14-2014, 11:29 AM
  3. Question(s) Help with controlling an Dynamixel MX-28T with an Arduino Uno
    By beepboop in forum DYNAMIXEL & Robot Actuators
    Replies: 35
    Last Post: 11-30-2012, 02:29 PM
  4. Python version of Forest Moon Dynamixel Library now available
    By Pi Robot in forum Software and Programming
    Replies: 2
    Last Post: 08-11-2010, 04:14 PM
  5. Timeout problem with Forest Moon Dynamixel library
    By Pi Robot in forum DYNAMIXEL & Robot Actuators
    Replies: 44
    Last Post: 05-12-2010, 01:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •