Controlling motors by Python using UDOO Neo

Discussion in 'UDOO NEO' started by Reem AlJunaid, Mar 20, 2017.

Tags:
  1. Reem AlJunaid

    Reem AlJunaid New Member

    Joined:
    Feb 19, 2017
    Messages:
    9
    Likes Received:
    3
    I have a UDOO Neo board and AX-12 A motor, I want to control the motor by Python code.
    Tha cable has 3 pins and I don't know in which pins on the board I should connect them to.
    And you will do a favor If you give a sample code in Python that helps me in this.

    [​IMG]
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Interesting concept these servo's. Look here for more information about connecting and using Python to activate them http://bfy.tw/AkXM
    No information about Udoo's, I guess you have to modify some libraries yourself
     
  3. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    These servos use Dynamixel's propriety half serial interface, so firstly you need to provide a hardware interface to the neo serial port similar to what is covered in this article (note the pins neo are 3.3v tolerant). Given there are problems with UART6, to run this on the linux side you will need to re assign UART5 for this to work. This is definitely not for the novice.
     
    Last edited: Mar 21, 2017

Share This Page