Skip to content

ROBOTIS-GIT/Dynamixel2Arduino

Repository files navigation

DYNAMIXEL2Arduino Build Status

Serial and Direction Pin definitions of ROBOTIS controllers

  • When running DYNAMIXEL without DYNAMIXEL Shields on OpenCM9.04, OpenCR or custom boards, you might need to change the Serial and DYNAMIXEL Direction Pin.

  • We provide the information below to make it easier to define Serial and Direction pins for specific hardware.

    Board Name Serial Direction Pin Note
    OpenCM9.04 Serial1 28 Uploading Arduino Sketch will erase the factory firmware. The firmware can be recovered with DYNAMIXEL Wizard 2.0
    OpenCM485EXP Serial3 22
    OpenCR Serial3 84 OpenCR has an FET switch to control power supply to DYNAMIXEL. (Reference link)
    OpenRB-150 Serial1 (-1)Automatic -

How to add new DYNAMIXEL model.

  • For the convenience of the user, Dynamixel2Arduino API hardcodes some information in the control table and stores it in flash.
  • To do this, you need to add code to some files. In this regard, please refer to PR#3 and PR#7

How to create custom PortHandler Class

  • Please refer to port_handler.h
  • Create a new class by inheriting PortHandler as public. (Like SerialPortHandler and USBSerialPortHandler)