top of page

Projects Guide for ROBOTIS RB Systems

Chi N. Thai

This book is for you if you are a robotics enthusiast looking at achieving on your own a firm foundation in Robot Design and Robotics Programming from Block Programming to Python and C++ Programming using ROBOTIS Controllers RB-86/88/100/150.  Block Programming concepts and techniques are presented first, then they are expanded/scaffolded into equivalent but more advanced concepts and techniques that are used in Python and C++ languages.  This book is designed as a “multi-stage/multi-year” companion to a reader progressing from intermediate to advanced skills in many engineering and technical topics such as Sensors Interfacing, Actuators Control and Serial Communications.  These modules can be connected to a local Controller as well as when they are located on a Remote Controller.  Consequently, Wired and Wireless Communications hardware/software concepts and techniques are also explained and demonstrated.  Two approaches are demonstrated for balancing priorities between Remote Control and Autonomous Behavior: “Duty Cycle” and “Hierarchical States”.

​

This book is available from Amazon in paperback and Kindle versions.

​

In this book, the author’s goal is to provide a Systemic Projects Guide for the ROBOTIS RB Controllers series: RB-86, RB-88, RB-100 and OpenRB-150, with the emphasis on hardware and software integration issues involving single or multiple controllers within this RB series and also including Windows PCs and older CM Controllers.  

 

This book has 5 chapters titled: "Foundational Concepts", "Using RB-86", "Using RB-88", "Using RB-100", "Using OpenRB-150".  Each RB Controller has its own independent chapter, but all chapters are written to be supportive of each other to help readers expand their robotics hardware and software skills.  Each chapter also includes multi-controllers applications as appropriate.  Primers for beginning users of R-Python, Standard Python, Arduino C++ and R-Motion are provided as Appendices:   ​

  • Chapter "Foundational Concepts" presents an overview of the hardware and software capabilities of all 4 Controllers RB-86/88/100/150 and the Bluetooth communications devices.  Concepts used in the Design of ROBOTIS Dynamixels (DXL) are also described in this chapter: DXL Actuators/Sensors, Power/Control Circuits, Main/Sub/Co-Controller roles, Control Table Programming and Remote Control/Communication features. 

  • For Chapters "Using RB-86" through "Using RB-150", each chapter is geared towards a specific Controller model (RB-86/88/100/150) and the Application Projects most suitable for it.  Each chapter is written to be “self-standing” but also “complementary” to each other. 

  • As the RB-86 and RB-88 are very similar to each other, mechanically and firmware wise, both Chapters "Using RB-86" and "Using RB-88" share into the same layout, using the Graphical Block Interface provided within the R-BLOCK tool (https://rblock.steamcup.org/?lang=en):

  1. The “R-BLOCK Programming Basics” Section describes the “standard” 9 Functional Groups for each RB-86/88 Controller: CONTROL, CALCULATION, VARIABLE, FUNCTION, SENSING, MOTION, SCREEN, SOUND and LINE.  However, the RB-88 has additional features that the RB-86 does not have.

  2. The “More Control Table Programming” Section delves into more details of this “universal” programming technique which applies to all ROBOTIS Dynamixels and Controllers created in the past and present, or to be developed in the future.  Essentially, various ROBOTIS modules send either RC-100 or DXL Packets to each other to result in a robot system operating in a certain environment while achieving user-assigned goals.   

  3. The “Application Projects” Sections for each Controller (RB-86 and RB-88) actually apply to the “other” Controller also.  The author chose this writing approach so as not to repeat information already provided in the “other” Chapter.  17 projects demonstrate the use of Internal Motors and Sensors embedded in each RB-86/88 Controller, but they also showcase the integration of External Sensors/Motors via older Controllers such as the CM-151/550 Controllers.  The new DXL Sensors developed for the OLLO AI kit are also used with the RB-86/88 Controllers.  Some projects further leverage the Supervisory role of the Desktop PC via Standard Python through Thonny IDE, and application libraries such as OpenCV, MatPlotLib and Dynamixel SDK.    

  • As ROBOTIS incorporates the RB-100 Controller into many robot kits such as R-GEE, KODALA, TIG and OLLO AI, Chapter "Using RB-100" has to be organized differently:

    1. It has a separate “Programming Basics” Section for each robot kit: R-GEE, KODALA and TIG.  The author chose not to develop a “Basics” Section for the OLLO AI but applied the new DXL Sensors (originally developed for OLLO AI) to KODALA and TIG through selected Application Projects. 

    2. The RB-100 has 10 Functional Groups (FG): CONTROL, CALCULATION, VARIABLE, FUNCTION, SENSING, MOTION, SCREEN, SOUND, SPEECH and LINE in its R-BLOCK IDE.

      • As the RB-100 has its own Liquid Crystal Display (LCD), its SCREEN functions are completely different from the ones used by the RB-86/88.

      • In particular, the KODALA’s MOTION FG has Odometry capabilities, while the TIG’s MOTION FG has the ability to manage Motion Files as TIG is a humanoid robot.

      • The SPEECH FG is of course unique to the RB-100.

    3. Additionally, the RB-100’s R-BLOCK code can be converted to an R-PYTHON equivalent (one-way only).  But the programmer can then switch to the R-Python Workspace to develop this converted code further as a “regular” R-Python program, using the ROBOTIS PYRB Module which offers many more functionalities.  The conversion process is mostly a 1-to-1 replacement of a particular Graphical Block with a matching R-Python Statement. 

    4. Lastly, the RB-100 has two unique features:

      • It can set its Bluetooth module to act as a BT Central or as a BT Peripheral with respect to another RB-100. 

      • It can also be set as BT Central over an RB-86/88, then it can send Dynamixel Packets to this Peripheral RB-86/88 to control Dynamixels that are only connected physically to the RB-86/88.

      • This Dual-Controllers configuration is emphasized in the Application Projects presented in Chapter "Using RB-150".

  • In Chapter "Using RB-150", the OpenRB-150 Controller is a standard Arduino Board, and the author had already published a book chapter for the OpenRB-150 back in 2022.  In order not to repeat the same materials, the author chose a different approach for creating Arduino C++ instructional materials in this Chapter:

    1. Assuming that the reader was already familiar with the R-BLOCK IDE and Block Programming, the author developed a series of carefully scaffolded Arduino Sketches to bridge the knowledge gap between Block and C++ Programming by using (as much as possible):

      • Global Variables.

      • Function Prototypes.

      • Void Functions with no Argument. 

      • And most importantly, adopting the same 1-to-1 matching process used in the R-Python conversion for the RB-100.

    2. So far, ROBOTIS has released information for the Control Tables of RB-86 and RB-88, but not for RB-100.  Consequently, the RB-150 can act as a Supervisory Controller to RB-86/88 using DXL Packets, but it can only act as a Peer Controller to an RB-100 using RC-100 Communication Packets.  Thus, in this Chapter, the "Application Projects" section operates on Multi-Controllers Configurations where Multi-Port Serial Communications are needed, for example:

      • A PC can act as the Operator’s Remote Controller to an RB-150.

      • In turn, this RB-150 can serve as Master to an RB-88 (Peripheral 1) via Wired Communications, and also as Master to an RB-100 (Peripheral 2) via Bluetooth Communications.

  • As an example of “comparative” projects, a Semi-Humanoid Worker robot, using the AI Camera and ToF Sensor, is demonstrated in 3 versions:

    1. Using only the RB-86 as Main Controller.

    2. Using the RB-100 as Main Controller and the RB-86 as Co-Controller via BLE.

    3. Using the RB-150 as Main Controller and the RB-86 as Super Dynamixel via Wired Connection.

​​

This book also provides appropriate source codes and demonstration videos (via STEAMCUP and YouTube®) to illustrate the presented concepts:

 

​​

​

To receive a copy of the demonstration codes used in these books, please email a copy of your proof of purchase to "roboteer@comcast.net", and we'll email you back a ZIP file containing these files and other documentations. 

​

Please email me (roboteer@comcast.net) for any comment/suggestion that you may have and visit my Amazon Author Page for a complete list of my books.

bottom of page