Conveyor Belt Kit

📅Update: 2021/06/05

Table of Contents

1. Set up for first use

Read the Installation Guide to check the items, assemble the sliding rail and set up for the first use.

2. Control conveyor belt with Rotrics Studio

2.1 Connect Conveyor belt to DexArm’s 12-pin port

2.2 Open Rotrics Studio and go to Basic -> Accessories

Tips: Make sure you've updated Rotrics Studio to V1.0.1 and above. You can download it on our Download Center -
Click the Left/Right arrow to move forward/backward. Click the square button to stop it.

3. Production line simulation

3.1 Color sensor sorting with Scratch and Arduino

We developed a new conveyor belt sensor kit that includes a color sensor and a distance sensor. It allows you to detect items recognize their color and start a sorting project.
Tips: You can order the NEW conveyor belt sensor kit on our website -

3.1.1 Place the Rotrics Production Line Map on your desk.

3.1.2 Place all the items on the indicated location.

3.1.3 Connection

3.1.3 Tuning the sensors' parameters with Arduino IDE

  • Adjust the color value
  • Adjust the distance

3.1.4 Download the Scratch program

3.1.5 Start working

3.2 Camera sorting with Python

We prepared two demo projects for you to experience the Rotrics conveyor belt kit. The demo project was programed with Python, make sure you have got some Python programming skills before using it.
  • Woodblock color sorting with one DexArm.
We put the woodblocks on conveyor belt and DexArm recognizes the color and sort them.
  • Woodblock color sorting with two DexArms.
One DexArm picks up wood blocks on the conveyor belt and another DexArm recognizes the color and sorts the blocks.
Click here to download the demo code project👇
Rotrics Conveyor Belt Demo
Rotrics Conveyor Belt Demo V1.0

3.2.1 Place the Rotrics Production Line Map on your desk.

3.2.2 Place all the items on the indicated location.

3.2.3 Connection

2.3.1 Connect Conveyor belt to DexArm’s 12-pin port.
2.3.2 Connect Camera Module and DexArm to your computer.

3.2.4 Start working

Choose the demo project and run it with VS Code or any other Python editors.

4. Build your own project.

G-code command to control conveyor belt


M2012 [F(rate)] [D(direction)]
M2013 - Stop conveyor belt


  • [F(rate)] The maximum movement rate of the move between the start and end point. This rate is separated from the of the speed of DexArm's movement.
  • [D(direction)]The rotate direction of conveyor belt. 1 for positive, 0 for negative.


M2012 F5000 D1 ;rotate at speed 5000
G4 S10 ;wait 10 seconds
M2013 ;stop conveyor belt
Note: The speed of conveyor belt is separated from the speed of DexArm.

Camera Operation

We used a 480P camera to recognize color and shape of the items on the conveyor belt. You can import the Cam_dev file to your Python project and use it.